diff options
author | dkf <dkf@noemail.net> | 2004-06-29 09:38:58 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2004-06-29 09:38:58 (GMT) |
commit | 4994748f4f783769195e53f0df615dbdacfdee54 (patch) | |
tree | 4951c14234ea2032469056baf2047332ec37c227 /library/safe.tcl | |
parent | 148462ad44a6a0d7457fbb20f67f82baf8871f0d (diff) | |
download | tcl-4994748f4f783769195e53f0df615dbdacfdee54.zip tcl-4994748f4f783769195e53f0df615dbdacfdee54.tar.gz tcl-4994748f4f783769195e53f0df615dbdacfdee54.tar.bz2 |
Fix [Bug 981733]; bizarre resolver brokenness strikes again!
FossilOrigin-Name: 9f02c749b9249f49c7f5b6afab28087c76ace5ba
Diffstat (limited to 'library/safe.tcl')
-rw-r--r-- | library/safe.tcl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/library/safe.tcl b/library/safe.tcl index a5252d8..f34fea2 100644 --- a/library/safe.tcl +++ b/library/safe.tcl @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: safe.tcl,v 1.9.2.1 2003/07/16 22:49:31 hobbs Exp $ +# RCS: @(#) $Id: safe.tcl,v 1.9.2.2 2004/06/29 09:39:01 dkf Exp $ # # The implementation is based on namespaces. These naming conventions @@ -37,6 +37,10 @@ namespace eval ::safe { # #### + # Make sure that our temporary variable is local to this + # namespace. [Bug 981733] + variable temp + # Share the descriptions set temp [::tcl::OptKeyRegister { {-accessPath -list {} "access path for the slave"} @@ -321,7 +325,7 @@ namespace eval ::safe { # determine and store the access path if empty if {[string equal "" $access_path]} { - set access_path [uplevel #0 set auto_path] + set access_path [uplevel \#0 set auto_path] # Make sure that tcl_library is in auto_path # and at the first position (needed by setAccessPath) set where [lsearch -exact $access_path [info library]] |