Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-07-02
20:08 • Closed ticket [970529ffff]: file tail of joined path broken plus 6 other c... artifact: 412bc1ffe7 user: vincentdarley
2004-06-11
00:06 • Ticket [970529ffff]: 4 changes artifact: 1ea4495b88 user: vincentdarley
2004-06-10
23:53 • Ticket [970529ffff]: 5 changes artifact: 7d1f448fff user: dgp
23:53 • Add attachment 970529.patch to ticket [970529ffff] artifact: e9187907d1 user: dgp
23:39 • Ticket [970529ffff] file tail of joined path broken status still Open with... artifact: 3300db15ee user: dgp
16:39 • New ticket [970529ffff]. artifact: e8ad56e871 user: dgp

[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: