summaryrefslogtreecommitdiffstats
path: root/library/auto.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-12-01 22:07:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-12-01 22:07:55 (GMT)
commita84821a860443acb7f58429abc7bce7bacef661b (patch)
tree22d53e6d09c4c3923075c16ad6761fc6298c4c43 /library/auto.tcl
parentf4e32f5e30da1843cdcc7c29bd4068ce15cbb503 (diff)
downloadtcl-a84821a860443acb7f58429abc7bce7bacef661b.zip
tcl-a84821a860443acb7f58429abc7bce7bacef661b.tar.gz
tcl-a84821a860443acb7f58429abc7bce7bacef661b.tar.bz2
* library/auto.tcl (tcl_findLibrary): Disabled use of [file normalize] that caused trouble with freewrap. [Bug 1072136].
Diffstat (limited to 'library/auto.tcl')
-rw-r--r--library/auto.tcl14
1 files changed, 12 insertions, 2 deletions
diff --git a/library/auto.tcl b/library/auto.tcl
index 431895d..276a4aa 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.12.2.2 2004/11/26 19:42:06 dgp Exp $
+# RCS: @(#) $Id: auto.tcl,v 1.12.2.3 2004/12/01 22:07:57 dgp Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
@@ -129,7 +129,17 @@ proc tcl_findLibrary {basename version patch initScript enVarName varName} {
# uniquify $dirs in order
array set seen {}
foreach i $dirs {
- if {[interp issafe]} {
+ # For Tcl 8.4.9, we've disabled the use of [file normalize] here.
+ # This means that two different path names that are the same path
+ # in normalized form, will both remain on the search path. There
+ # should be no harm in that, just a bit more file system access
+ # than is strictly necessary.
+ #
+ # [file normalize] has been disabled because of reports it has
+ # caused difficulties with the freewrap utility. To keep
+ # compatibility with freewrap's needs, we'll keep this disabled
+ # throughout the 8.4.x (x >= 9) releases. See Bug 1072136.
+ if {1 || [interp issafe]} {
set norm $i
} else {
set norm [file normalize $i]