summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authorericm <ericm>2000-01-26 21:36:35 (GMT)
committerericm <ericm>2000-01-26 21:36:35 (GMT)
commitd3256a88c6ade958ce2e87ca8a3b7c0231e476ef (patch)
treec034dc441d7fe54e8a3187e41a118ac3a83186fd /generic/tclNamesp.c
parent7b6b3a5c4a1ea767c7ba8cb5236f916461e703b9 (diff)
downloadtcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.zip
tcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.tar.gz
tcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.tar.bz2
* generic/tclNamesp.c: Undid fix for #956, which broke backwards
compatibility. * doc/variable.n: * doc/trace.n: * doc/namespace.n: * doc/info.n: Added further information about differences between "namespace which" and "info exists". * doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg() functions.
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index 478867d..b64b6cc 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNamesp.c,v 1.15 2000/01/21 03:58:16 ericm Exp $
+ * RCS: @(#) $Id: tclNamesp.c,v 1.16 2000/01/26 21:36:35 ericm Exp $
*/
#include "tclInt.h"
@@ -3628,8 +3628,7 @@ NamespaceWhichCmd(dummy, interp, objc, objv)
arg = Tcl_GetString(objv[argIndex]);
variable = Tcl_FindNamespaceVar(interp, arg, (Tcl_Namespace *) NULL,
/*flags*/ 0);
- if (variable != (Tcl_Var) NULL
- && !TclIsVarUndefined((Var *)variable)) {
+ if (variable != (Tcl_Var) NULL) {
Tcl_GetVariableFullName(interp, variable, Tcl_GetObjResult(interp));
}
break;