summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
authorwelch <welch>1999-08-10 02:42:12 (GMT)
committerwelch <welch>1999-08-10 02:42:12 (GMT)
commit3a26c6d4498ad6fad866d54c7b23cb221fe21898 (patch)
tree17f7359546123767d03dd5cbd27b6934f1879b10 /generic/tclCmdIL.c
parent26903290462f20550bb1d7e596008b2e8f1f723e (diff)
downloadtcl-3a26c6d4498ad6fad866d54c7b23cb221fe21898.zip
tcl-3a26c6d4498ad6fad866d54c7b23cb221fe21898.tar.gz
tcl-3a26c6d4498ad6fad866d54c7b23cb221fe21898.tar.bz2
1 Added use of Tcl_GetAllocMutex to tclAlloc.c and tclCkalloc.c so they
can be linked against alternate thread packages. 2 Added Tcl_GetChannelNames to tclIO.c 3 Added TclVarTraceExists hook so "info exists" triggers read traces exactly like it did in Tcl 7.6 4 Stubs table changes to reflect new internal and external APIs
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r--generic/tclCmdIL.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c
index b121c67..0724cec 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdIL.c,v 1.13 1999/06/17 19:31:50 stanton Exp $
+ * RCS: @(#) $Id: tclCmdIL.c,v 1.14 1999/08/10 02:42:13 welch Exp $
*/
#include "tclInt.h"
@@ -915,9 +915,7 @@ InfoExistsCmd(dummy, interp, objc, objv)
}
varName = Tcl_GetString(objv[2]);
- varPtr = TclLookupVar(interp, varName, (char *) NULL,
- 0, "access",
- /*createPart1*/ 0, /*createPart2*/ 0, &arrayPtr);
+ varPtr = TclVarTraceExists(interp, varName);
if ((varPtr != NULL) && !TclIsVarUndefined(varPtr)) {
Tcl_SetIntObj(Tcl_GetObjResult(interp), 1);
} else {