Artifacts Associated With Ticket 1255156
Ticket change [22a4c793a5] (rid 130786) by aric_b on 2005-08-09 17:58:17:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When the result of a call to [glob]* is stored in a variable, and then [file rootname] is performed on any list element stored in that variable, [file rootname] fails to remove the file extension of the list element. The following script demonstrates the error (pathnames may need to be adjusted): # the following fails set files [glob d:/temp/p*] foreach file $files { puts [file rootname $file] } # the following succeeds foreach file [glob d:/temp/p*] { puts [file rootname $file] } # the following fails foreach file [lsort -dictionary [glob d:/temp/p*]] { puts [file rootname $file] } *Donal Fellows notes on c.l.t. : "the directory must be specified (either in the pattern or through the -directory flag) and 'glob characters' must be present in the input to [glob] to trigger the bug." - foundin initialized to: "obsolete: 8.5a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "aric_b"
- subsystem initialized to: "36. Pathname Management"
- title initialized to: "[file rootname] failure"
- type initialized to: "Bug"
Ticket change [32de450234] (rid 93691) by dkf on 2005-08-10 04:32:51:
- closedate changed to: "2005-08-09T21:32:51"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Err, it was already fixed by the time you submitted the bug. :^)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"
Ticket change [98721c1d5e] (rid 110602) by aric_b on 2005-08-10 05:12:20:
- icomment:
Logged In: YES user_id=1326110 Now that's service! Many thanks.
- login: "aric_b"
- mimetype: "text/plain"
- username: "aric_b"
- icomment: