[file tail] of joined path broken
Closed / Fixed970529ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-06-10 16:39:24
file mkdir dgp
close [open dgp/test w]
foreach relative [glob -nocomplain [file join * test]] {
set absolute [file join [pwd] $relative]
puts "Tail of $absolute is [file tail $absolute];
should be test"
}
file delete -force dgp
dgp Ticket [970529ffff]: 1 change
[History diff]2004-06-10 23:39:42
dgpplain2004-06-10 23:53:05
File Added - 90199: 970529.patch Logged In: YES user_id=80530 This bug is very similar to 956063, and here's a patch based on that one that works. I'm committing that patch to fix the bug, but leaving the report open for Vince to look at and determine if a better fix is available, and to add tests for this.
vincentdarleyplain2004-06-11 00:06:46
Logged In: YES user_id=32170 The patch looks good to me. I'll add tests when I'm back, unless you've added them in the mean-time.
vincentdarleyplain2004-07-02 20:08:25
Logged In: YES user_id=32170 Added test.
Log in (anonymous is fine) to add a comment.
Attachments:
- 970529.patch [download] added by dgp on 2004-06-10 23:53:05. [details]