summaryrefslogtreecommitdiffstats
path: root/library/auto.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-07-30 16:54:03 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-07-30 16:54:03 (GMT)
commita0ae34d63da31a804080d9ae04e24810f04979a3 (patch)
treed8d911c0165efa14242faf01a35133dfd531cc1f /library/auto.tcl
parentd0904f7d806117d3dc163f4fde31933756306b74 (diff)
downloadtcl-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/auto.tcl')
-rw-r--r--library/auto.tcl7
1 files changed, 2 insertions, 5 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 {}
}
}