Artifacts Associated With Ticket f9fe90d0fa
Ticket change [2e1e63bcbe] (rid 150551) by aspect on 2016-12-16 05:30:04:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
(on Unix - no idea about Windows) % file join //bla a /bla/a % file normalize //bla //bla % file join //bla a //bla/a From [::tcl::unsupported::representation] we can see what's going on - the 2nd line shimmers interned //bla to a path. Proper UNC paths should have a trailing slash .. but then it gets even weirder: % file join //bla/ a /bla/a % file normalize //bla/ /bla % file join //bla/ a //bla/a Handling of //-prefixed paths seems to be inconsistent. I *think* they're documented as special only on Windows (UNC paths), but there's code somewhere treating them specially on Unix. It's not in TclFSNormalizeAbsolutePath. There's an argument that treating them specially on Unix would be useful, if only as pseudo-mountpoints for VFS. See also [bug 1752589fff].
- foundin initialized to: "8.6.5"
- is_private initialized to: "0"
- login: "aspect"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "aspect"
- subsystem initialized to: "36. Pathname Management"
- title initialized to: "Inconsistent handling of leading //"
- type initialized to: "Bug"
Ticket change [b0b089ef04] (rid 150560) by rkeene on 2016-12-16 15:38:26:
- icomment:
// is specified by POSIX to be special: > A pathname that begins with two successive slashes may be interpreted in an > implementation-defined manner, although more than two leading slashes shall be > treated as a single slash. http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_11
- login: "rkeene"
- mimetype: "text/plain"
- username: "rkeene"
- icomment:
Ticket change [a2835be349] (rid 150960) by dgp on 2017-01-03 19:45:13:
- assignee changed to: "dgp"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [36ecfc49e7] (rid 153411) by aspect on 2017-04-29 11:05:52:
- icomment:
The fix for [f34cf83dd0] (merged to trunk in [e895b53905]) came close to hitting this. Attempted fix in [bug-f9fe90d0fa] ([27bac5b2c6]).
- login: "aspect"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [846c9e24c9] (rid 153435) by dgp on 2017-05-01 16:12:44:
- icomment:
If someone wants to make // prefix special, they should mount a Tcl_Filesystem that does so. The "native" filesystem for unix should not be changed in this way.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [2bc6e6938b] (rid 153442) by dgp on 2017-05-01 20:24:35:
- closedate changed to: "2457875.3504131"
- closer changed to: "dgp"
- icomment:
Fix for all dev branches.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"