Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-05-06
04:41 • Ticket [948177ffff] unixInit-2.10 case sensitive status still Closed with 4 ... artifact: c51b52c4aa user: dgp
04:41 • Add attachment 948177.patch to ticket [948177ffff] artifact: 828afbb531 user: dgp
04:41 • Ticket [948177ffff] unixInit-2.10 case sensitive status still Closed with 2 ... artifact: 9d06f60db7 user: dgp
04:41 • Closed ticket [948177ffff]. artifact: ee440e28cf user: dgp
03:36 • Ticket [948177ffff]: 4 changes artifact: 76af6e762e user: dgp
2004-05-05
03:28 • New ticket [948177ffff]. artifact: 25589f25ef user: tauvan

unixInit-2.10 case sensitive

Closed / Fixed948177ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-05-05 03:28:07
machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5
source: core-8-4-branch
see bug#947440 for additional info

error occurs when running from command line instead of
make -C ....

initial conditions:
~/Desktop/c84bcopy and  ~/desktop/c84bcopy are same 
directory

results:
[localhost:~/Desktop/c84bcopy] steven% ./build/tcl/tcltest ./tcl/
tests/all.tcl
no errors
[localhost:~/Desktop/c84bcopy] steven% cd ~/desktop/c84bcopy
[localhost:~/desktop/c84bcopy] steven% ./build/tcl/tcltest ./tcl/
tests/all.tcl
==== unixInit-2.10 TclpInitLibraryPath: executable relative 
FAILED
---- Result was:
/Users/steven/Desktop/c84bcopy/tmp/sparkly/library /Users/
steven/Desktop/c84bcopy/tmp/library
---- Result should have been (exact matching):
/Users/steven/desktop/c84bcopy/tmp/sparkly/library /Users/
steven/desktop/c84bcopy/tmp/library
==== unixInit-2.10 FAILED

Don Porter points out [makeDirectory] does
not normalize the path it returns
dgpplain2004-05-06 03:36:05
Logged In: YES 
user_id=80530

The mismatch here is that
[temporaryDIrectory] returns
a normalized path, but the
components of $tcl_libPath
are apparently not.
dgpplain2004-05-06 04:41:00
Logged In: YES 
user_id=80530


Fixing this by adding
normalization to the test.
(attached patch committed
for 8.4.7 and 8.5a2)

Normalizing $tcl_libPath
seems impractical; it's a
direct copy of TclGetLibraryPath()
which is constructed early in
startup when normalizing isn't yet
feasible.  (See the hubbub over
Bug 832657)

When the Great Rewrite of Tcl
initialization is done, think about
this again.
dgp Ticket [948177ffff]: 2 changes [History diff]2004-05-06 04:41:01
dgpplain2004-05-06 04:41:03
File Added - 86206: 948177.patch
Log in (anonymous is fine) to add a comment.

Attachments: