summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-06-25 17:40:01 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-06-25 17:40:01 (GMT)
commitb07cd69442347c48d45759b7ca2b772857dcf49f (patch)
tree0b859d76d3197b329d5b14a73f4d332f70df42aa /library/init.tcl
parentfbaaddabb7cc63723d7724a1d568c9b917dc7a5f (diff)
downloadtcl-b07cd69442347c48d45759b7ca2b772857dcf49f.zip
tcl-b07cd69442347c48d45759b7ca2b772857dcf49f.tar.gz
tcl-b07cd69442347c48d45759b7ca2b772857dcf49f.tar.bz2
* library/tm.tcl: Modified the handling of Tcl Modules and of the
* library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe * tests/safe.test: interpreters. Fixes [Bug 1999119].
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 83981ae..3a3b105 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -3,7 +3,7 @@
# Default system startup file for Tcl-based applications. Defines
# "unknown" procedure and auto-load facilities.
#
-# RCS: @(#) $Id: init.tcl,v 1.106 2008/06/19 15:37:04 dgp Exp $
+# RCS: @(#) $Id: init.tcl,v 1.107 2008/06/25 17:40:03 andreas_kupries Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -156,7 +156,7 @@ if {(![interp issafe]) && ($tcl_platform(platform) eq "windows")} {
if {[interp issafe]} {
- package unknown ::tclPkgUnknown
+ package unknown {::tcl::tm::UnknownHandler ::tclPkgUnknown}
} else {
# Set up search for Tcl Modules (TIP #189).
# and setup platform specific unknown package handlers