Tk Library Source Code

View Ticket
Login
Ticket UUID: 2499641
Title: stripPath does not correctly handle mixed case paths
Type: Bug Version: None
Submitter: apnadkarni Created on: 2009-01-11 17:10:00
Subsystem: fileutil Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-02-06 06:40:43
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2009-02-05 23:40:43
Description:
stripPath does not correctly handle mixed case paths on Windows. See console session below

(woof) 65 % ::fileutil::stripPath /temp /temp/foo
foo
(woof) 66 % ::fileutil::stripPath /temp /Temp/foo
/Temp/foo

On windows, it should recognize that /temp and /Temp are in fact the same.

Platform: fileutil 1.13.5 under Tcl 8.6b1 on Windows XP SP2

/Ashok
User Comments: andreas_kupries added on 2009-02-06 06:40:43:

allow_comments - 1

andreas_kupries added on 2009-02-06 06:40:41:
1.13.6. committed to head.

andreas_kupries added on 2009-02-06 06:27:48:
string match/equal -nocase are present in Tcl 8.2.3 at least.

andreas_kupries added on 2009-02-06 06:18:23:

File Added - 312237: 2499641.patch

Attachments: