summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorwelch <welch>1999-04-01 23:21:33 (GMT)
committerwelch <welch>1999-04-01 23:21:33 (GMT)
commit6916bde77810627fc8e3a36a18b85bd3aa2966e5 (patch)
tree6b196f2421b059cd819680006d00b7ff926221bc /library
parent0a96b335443678696689a95a06a6f5eee1b8c1f4 (diff)
downloadtcl-6916bde77810627fc8e3a36a18b85bd3aa2966e5.zip
tcl-6916bde77810627fc8e3a36a18b85bd3aa2966e5.tar.gz
tcl-6916bde77810627fc8e3a36a18b85bd3aa2966e5.tar.bz2
Fixed BUG 1327 with scripts that do namespace imports.
Diffstat (limited to 'library')
-rw-r--r--library/package.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/package.tcl b/library/package.tcl
index 437aa6a..df22df0 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.1.2.5 1998/12/02 20:08:06 welch Exp $
+# RCS: @(#) $Id: package.tcl,v 1.1.2.6 1999/04/01 23:21:33 welch Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
@@ -278,7 +278,7 @@ proc pkg_mkIndex {args} {
foreach ::tcl::x [::tcl::GetAllNamespaces] {
if {! [info exists ::tcl::namespaces($::tcl::x)]} {
- namespace import ${::tcl::x}::*
+ namespace import -force ${::tcl::x}::*
}
}