Overview
| Artifact ID: | 00fec3189324353fd6c8e5781170c0824eae2de8ca4797b230bf34ca0e592096 |
|---|---|
| Ticket: | 29b19f5ef0ccab7cbe8debabd5c9b246ae4cd444
Inconsistencies in zipfs path separator on Windows |
| User & Date: | apnadkarni on 2023-09-14 16:44:35 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
It is not clear whether paths within zipfs mounts can use backslashes as the path separator on Windows. Examples: ``` % file exists //zipfs:/mt/testdir/test2 1 % file exists //zipfs:/mt\\testdir\\test2 0 % file exists //zipfs:\\mt\\testdir\\test2 1 % file exists //zipfs:\\mt/testdir/test2 1 ``` It appears backslashes are allowed only if the first path separator after the prefix is a backslash. This is not consistent with other Tcl commands on Windows where backslashes are separators everywhere. Alternatively, if zipfs is to be treated as a different file system where only / is a separator, that would be ok too in my mind as long as that is enforced for the first separator as well. On a related and somewhat contradictory note, the zipfs code treats paths beginning with \\ as UNC paths but not paths beginning with //.
- foundin changed to: "8.7"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Inconsistencies in zipfs path separator on Windows"
- type changed to: "Bug"