Overview
| Artifact ID: | 68cc30dd1d546a1c7091c469d7280ce7a6bae5a1 |
|---|---|
| Ticket: | 1043129fffffffffffffffffffffffffffffffff
file isdirectory (or join ?) bug |
| User & Date: | dem on 2004-10-08 15:32:46 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, I have a problem with file isdirectory command (Windows 2000 Professionnal, not tested on other platforms) and I believe this is a bug : bug reported with ActiveTcl 8.4.6.1, 8.4.7.0, 8.5.0.0b2 there is no bug with an old 8.3 (I don't know if it's an ActiveState package...) The bug ===> set p "C:\\toto" puts [file join $p toto] puts [file isdirectory $p] puts [file join $p toto] ==> output : C:/toto/toto 0 C:\toto/toto same result if the directory exists except 0 => 1 There aren't any reasons the 2 file join give different results... Thanks in advance for explanations and bug fix, Julien PS: for the moment in our application I'll make a copy of the filename before call file isdirectory... : file isdirectory $f 'll be changed to set tmp "" append tmp "$f" file isdirectory $tmp
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dem"
- subsystem changed to: "37. File System"
- title changed to: "file isdirectory (or join ?) bug"
- type changed to: "Bug"