summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwelch <welch>1999-03-31 22:37:03 (GMT)
committerwelch <welch>1999-03-31 22:37:03 (GMT)
commit0fc6a714dac2374c5a77e0403d1015d86ca19471 (patch)
tree25c2afcaf12cfd49ebba4969eefb72369432c3ae
parent138f850c5c80e0a68bc816f78ed3cbd635802374 (diff)
downloadtcl-0fc6a714dac2374c5a77e0403d1015d86ca19471.zip
tcl-0fc6a714dac2374c5a77e0403d1015d86ca19471.tar.gz
tcl-0fc6a714dac2374c5a77e0403d1015d86ca19471.tar.bz2
Fixed pkg_mkIndex when input files do "namespace import". BUG 1327
-rw-r--r--library/init.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 778c38a..c592e01 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.27 1999/03/31 18:58:14 welch Exp $
+# RCS: @(#) $Id: init.tcl,v 1.28 1999/03/31 22:37:03 welch Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -1368,7 +1368,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}::*
}
}