Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fb0b70f5f27c04591092c5e3ff18b28464dbfff9f3a093ba5d389f35ab1ba287
Ticket: baf43873720f5e92ae1142b1fc8d343b3648b54d
file join trashes valid network paths
User & Date: bll on 2018-07-27 18:07:17
Changes

  1. icomment:
    Link is here, last paragraph:
    
    http://pubs.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap04.html#tag_04_11
    
    What I don't know, since //something/somepath/somefile is valid on unix,
    is the specification like windows, where //something/somepath is a single
    network path or is //something a stand-alone value that is valid.
    
    I do not know what would be proper there.
    
    I think I would make the same rule as for windows.
    //something/somepath would need to be a single unit and the
    leading // is kept intact.  This would preserve any UNC path
    processing on a unix server.
    
    Then again [file join C: /a]
    on unix also destroys the drive path.
    
  2. login: "bll"
  3. mimetype: "text/plain"