summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-06-25 16:42:02 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-06-25 16:42:02 (GMT)
commit6fbb4c3a1efe27c05d7bcaac74afe47493148750 (patch)
tree5b24912c8c3609816579300b3161851624b2273b /library/init.tcl
parent9236643dd5c1cbe619b563f67eefc3f80b3b7e87 (diff)
downloadtcl-6fbb4c3a1efe27c05d7bcaac74afe47493148750.zip
tcl-6fbb4c3a1efe27c05d7bcaac74afe47493148750.tar.gz
tcl-6fbb4c3a1efe27c05d7bcaac74afe47493148750.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 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 306d7d9..63f36ff 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.104.2.1 2008/04/11 18:12:29 dgp Exp $
+# RCS: @(#) $Id: init.tcl,v 1.104.2.2 2008/06/25 16:42:04 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