Artifacts Associated With Ticket 913536ffffffffffffffffffffffffffffffffff
Ticket change [746bec3fd6] (rid 105201) by p_samson on 2004-03-10 15:01:24:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OS: Windows/Cygwin % set a [file join / var tmp *] /var/tmp/* % set b [glob $a] {D:/cygwin/var/tmp/errors} D:/cygwin/var/tmp/p.log From the glob documentation (8.4.5), I expected: {/var/tmp/errors} /var/tmp/p.log So, without the windows style such as provided (as expected) by file normalize. % file normalize /var/tmp/errors D:/cygwin/var/tmp/errors This behaviour brokes a script designed on a Unix box: A [lsearch -exact] between a result of a [split [glob [file join ...]]] and a [file join ...] The glob introduces the windows drive but not the file join. It may be the normal behaviour. If so, I think it should be more clear in the doc. - foundin initialized to: "obsolete: 8.4.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "p_samson"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "windows: Glob returns [file normalize]'d paths"
- type initialized to: "Bug"
Ticket change [551d4f5151] (rid 94074) by dkf on 2004-03-10 22:44:39:
- assignee changed to: "vincentdarley"
- subsystem changed to: "36. Pathname Management"
Ticket change [0aeec0bb91] (rid 113906) by hobbs on 2004-03-11 00:16:24:
- icomment:
Logged In: YES user_id=72656 This should be noted in the docs, but it is the correct behavior. It's the oddity of cygwin in the mix that is the difference.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [5a41363c46] (rid 118112) by p_samson on 2004-03-11 19:29:41:
- icomment:
Logged In: YES user_id=994002 So be it. As a workaround, I added a [file normalize] to the [file join] for the [lsearch] to compare things of the same style.
- login: "p_samson"
- mimetype: "text/plain"
- username: "p_samson"
- icomment:
Ticket change [f444583bd8] (rid 129879) by vincentdarley on 2004-03-22 19:33:14:
- assignee changed to: "stwo"
- icomment:
Logged In: YES user_id=32170 I don't really use or know cygwin, and can't really comment on this. For ordinary Win-Tcl it all works fine.
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
Ticket change [3002550e2d] (rid 93172) by nijtmans on 2012-08-03 14:16:20:
- closedate changed to: "2012-08-03T07:16:20"
- closer changed to: "nijtmans"
- icomment:
allow_comments - 1 Since the Cygwin port is now derived from the UNIX port, This issue can be considered out of date: Drive prefixes, as on Windows, are not used any more So, closing
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- username: "nijtmans"