diff options
author | hobbs <hobbs> | 1999-11-19 06:34:22 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 1999-11-19 06:34:22 (GMT) |
commit | cda8b14a36f467923692a9571083c9203233355a (patch) | |
tree | 24fe6a335f832b13881e6e2ab69caad9effa3445 /generic/tclProc.c | |
parent | b5a3b0736e5c9388b4979a05136aba4c833e902d (diff) | |
download | tcl-cda8b14a36f467923692a9571083c9203233355a.zip tcl-cda8b14a36f467923692a9571083c9203233355a.tar.gz tcl-cda8b14a36f467923692a9571083c9203233355a.tar.bz2 |
* generic/tclProc.c: corrected error reporting for default case
at the global level for uplevel command.
* generic/tclIOSock.c: changed int to size_t type for len
in TclSockMinimumBuffers.
* generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value
on NULL input. [Bug: 3400]
* generic/tclStringObj.c: fixed support for passing in negative
length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
* doc/scan.n:
* tests/scan.test:
* generic/tclScan.c: finished support for inline scan by
supporting XPG identifiers.
* doc/http.n:
* library/http2.1/http.tcl: added register and unregister
commands to http:: package (better support for tls/SSL),
as well as -type argument to http::geturl. [RFE: 2617]
* generic/tclBasic.c: removed extra decr of numLevels in
Tcl_EvalObjEx that could cause seg fault. (mjansen@wendt.de)
* generic/tclEvent.c: fixed possible lack of MutexUnlock in
Tcl_DeleteExitHandler [Bug: 3545]
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r-- | generic/tclProc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c index ac07cae..901476a 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.20 1999/09/02 16:26:33 hobbs Exp $ + * RCS: @(#) $Id: tclProc.c,v 1.21 1999/11/19 06:34:24 hobbs Exp $ */ #include "tclInt.h" @@ -502,8 +502,8 @@ TclGetFrame(interp, string, framePtrPtr) } if (level < 0) { levelError: - Tcl_AppendResult(interp, "bad level \"", string, "\"", - (char *) NULL); + Tcl_AppendResult(interp, "bad level \"", + (result ? string : "1"), "\"", (char *) NULL); return -1; } } else if (isdigit(UCHAR(*string))) { /* INTL: digit */ |