diff options
author | andreas_kupries <andreas_kupries@noemail.net> | 2009-10-05 20:02:54 (GMT) |
---|---|---|
committer | andreas_kupries <andreas_kupries@noemail.net> | 2009-10-05 20:02:54 (GMT) |
commit | 3014e9805fdd0dc26a67c690d644c74dc2d71896 (patch) | |
tree | 09fa355fac90c065fe61f21f038aec0da44c01b8 /library | |
parent | 7c2c4a271aa041d62b2e2241fe7a79974d4ee671 (diff) | |
download | tcl-3014e9805fdd0dc26a67c690d644c74dc2d71896.zip tcl-3014e9805fdd0dc26a67c690d644c74dc2d71896.tar.gz tcl-3014e9805fdd0dc26a67c690d644c74dc2d71896.tar.bz2 |
* library/safe.tcl (AliasGlob): Fixed conversion of catch to
try/finally, it had an 'on ok msg' branch missing, causing a
silent error immediately, and bogus glob results, breaking
search for Tcl modules.
FossilOrigin-Name: 5f009d7cf2b74ca9a57bc9c2249e6835555b147f
Diffstat (limited to 'library')
-rw-r--r-- | library/safe.tcl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/safe.tcl b/library/safe.tcl index 5a3d4d0..ba1c4f5 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.18 2009/07/26 11:40:24 dkf Exp $ +# RCS: @(#) $Id: safe.tcl,v 1.19 2009/10/05 20:02:55 andreas_kupries Exp $ # # The implementation is based on namespaces. These naming conventions are @@ -792,6 +792,8 @@ proc ::safe::setLogCmd {args} { try { ::interp invokehidden $slave glob {*}$cmd + } on ok msg { + # Nothing to be done, just capture the 'msg' for later. } on error msg { Log $slave $msg return -code error "script error" |