Ticket UUID: | 948177 | |||
Title: | unixInit-2.10 case sensitive | |||
Type: | Bug | Version: | obsolete: 8.4.6 | |
Submitter: | tauvan | Created on: | 2004-05-05 03:28:07 | |
Subsystem: | 38. Init - Library - Autoload | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2004-05-06 04:41:03 | |
Resolution: | Fixed | Closed By: | dgp | |
Closed on: | 2004-05-05 21:41:01 | |||
Description: |
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 | |||
User Comments: |
dgp added on 2004-05-06 04:41:03:
File Added - 86206: 948177.patch dgp added on 2004-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 added on 2004-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. |
Attachments:
- 948177.patch [download] added by dgp on 2004-05-06 04:41:03. [details]