summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2004-12-01 22:07:54 (GMT)
committerdgp <dgp@noemail.net>2004-12-01 22:07:54 (GMT)
commitd3a98381f0b0ef78114fad9ca3ab05a8cea0443f (patch)
tree22d53e6d09c4c3923075c16ad6761fc6298c4c43 /library
parente94edee4299c09627d3c6dee28c8b7f8a4c291be (diff)
downloadtcl-d3a98381f0b0ef78114fad9ca3ab05a8cea0443f.zip
tcl-d3a98381f0b0ef78114fad9ca3ab05a8cea0443f.tar.gz
tcl-d3a98381f0b0ef78114fad9ca3ab05a8cea0443f.tar.bz2
* library/auto.tcl (tcl_findLibrary): Disabled use of [file normalize] that caused trouble with freewrap. [Bug 1072136].
FossilOrigin-Name: 32e7a37cded09dab56e64b54054c0dba04b208d7
Diffstat (limited to 'library')
-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]