summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-11-19 23:02:11 (GMT)
committerhobbs <hobbs@noemail.net>1999-11-19 23:02:11 (GMT)
commit31ea83f1f67dd5a5687ea9e71c3edf9f88d7f6f1 (patch)
tree345cc78e1ef8e23ebcbce12fde42f0fd64ebf484 /generic
parentcfc1afd0f435c9d3f966793050d6dff4f55b6aab (diff)
downloadtcl-31ea83f1f67dd5a5687ea9e71c3edf9f88d7f6f1.zip
tcl-31ea83f1f67dd5a5687ea9e71c3edf9f88d7f6f1.tar.gz
tcl-31ea83f1f67dd5a5687ea9e71c3edf9f88d7f6f1.tar.bz2
* generic/tclProc.c: backed out change from 1999-11-18 as it
could affect return string from upvar as well. FossilOrigin-Name: 10917802fdac6d739c30799ca12a2e3962fe488e
Diffstat (limited to 'generic')
-rw-r--r--generic/tclProc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 901476a..aeb8d17 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclProc.c,v 1.21 1999/11/19 06:34:24 hobbs Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.22 1999/11/19 23:02:12 hobbs Exp $
*/
#include "tclInt.h"
@@ -502,8 +502,8 @@ TclGetFrame(interp, string, framePtrPtr)
}
if (level < 0) {
levelError:
- Tcl_AppendResult(interp, "bad level \"",
- (result ? string : "1"), "\"", (char *) NULL);
+ Tcl_AppendResult(interp, "bad level \"", string, "\"",
+ (char *) NULL);
return -1;
}
} else if (isdigit(UCHAR(*string))) { /* INTL: digit */
@@ -1135,7 +1135,7 @@ TclProcCompileProc(interp, procPtr, bodyPtr, nsPtr, description, procName)
if (result == TCL_ERROR) {
char buf[100 + TCL_INTEGER_SPACE];
- numChars = strlen(procName);
+ numChars = strlen(procName);
ellipsis = "";
if (numChars > 50) {
numChars = 50;