diff options
author | dgp <dgp@users.sourceforge.net> | 2004-07-30 16:54:03 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-07-30 16:54:03 (GMT) |
commit | a0ae34d63da31a804080d9ae04e24810f04979a3 (patch) | |
tree | d8d911c0165efa14242faf01a35133dfd531cc1f /library | |
parent | d0904f7d806117d3dc163f4fde31933756306b74 (diff) | |
download | tcl-a0ae34d63da31a804080d9ae04e24810f04979a3.zip tcl-a0ae34d63da31a804080d9ae04e24810f04979a3.tar.gz tcl-a0ae34d63da31a804080d9ae04e24810f04979a3.tar.bz2 |
* tests/safe.test (safe-2.1): Disabled senseless test. [Bug 999612]
* library/auto.tcl (auto_reset): Removed "protected" list of commands
from [auto_reset]. All entries in the auto_index can be re-loaded.
* library/package.tcl: Updated comment to reflect 2004-07-28 commit.
Diffstat (limited to 'library')
-rw-r--r-- | library/auto.tcl | 7 | ||||
-rw-r--r-- | library/package.tcl | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/library/auto.tcl b/library/auto.tcl index 0f0cb58..9df91f4 100644 --- a/library/auto.tcl +++ b/library/auto.tcl @@ -3,7 +3,7 @@ # utility procs formerly in init.tcl dealing with auto execution # of commands and can be auto loaded themselves. # -# RCS: @(#) $Id: auto.tcl,v 1.16 2004/06/16 21:20:42 dgp Exp $ +# RCS: @(#) $Id: auto.tcl,v 1.17 2004/07/30 16:54:04 dgp Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1998 Sun Microsystems, Inc. @@ -26,10 +26,7 @@ proc auto_reset {} { variable ::tcl::auto_oldpath global auto_execs auto_index foreach p [info procs] { - if {[info exists auto_index($p)] && ![string match auto_* $p] - && ([lsearch -exact {unknown pkg_mkIndex tclPkgSetup - tcl_findLibrary pkg_compareExtension - tclPkgUnknown tcl::MacOSXPkgUnknown} $p] < 0)} { + if {[info exists auto_index($p)]} { rename $p {} } } diff --git a/library/package.tcl b/library/package.tcl index 5d478c9..739f6a2 100644 --- a/library/package.tcl +++ b/library/package.tcl @@ -3,7 +3,7 @@ # utility procs formerly in init.tcl which can be loaded on demand # for package management. # -# RCS: @(#) $Id: package.tcl,v 1.30 2004/07/29 15:55:04 dgp Exp $ +# RCS: @(#) $Id: package.tcl,v 1.31 2004/07/30 16:54:04 dgp Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1998 Sun Microsystems, Inc. @@ -47,7 +47,7 @@ proc tcl::Pkg::CompareExtension { fileName {ext {}} } { # The current extension does not match; if it is not a numeric # value, quit, as we are only looking to ignore version number # extensions. Otherwise we might return 1 in this case: - # pkg_compareExtension foo.so.bar .so + # tcl::Pkg::CompareExtension foo.so.bar .so # which should not match. if { ![string is integer -strict [string range $currExt 1 end]] } { |