Skip to content
Tcl Source Code History Of Ticket 29b19f5ef0ccab7c
Login

History Of Ticket 29b19f5ef0ccab7c

Artifacts Associated With Ticket 29b19f5ef0ccab7c

  1. Ticket change [00fec31893] (rid 218199) by apnadkarni on 2023-09-14 16:44:35:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized 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 //.
      
    5. foundin initialized to: "8.7"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to: "Inconsistencies in zipfs path separator on Windows"
    16. type initialized to: "Bug"