Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a27151215922091298f8c62e648b73de4954340a208cbfdc881b812b57d1d7fa
Ticket: baf43873720f5e92ae1142b1fc8d343b3648b54d
file join trashes valid network paths
User & Date: bll on 2018-07-27 14:52:28
Changes

  1. icomment:
    I would answer (a) for all three.
    
    The poster on comp.lang.tcl had on windows 7, 8.6.3:
     > set printer \\\\192.168.1.171
     > puts [file join $printer queue doc.ps]
    /192.168.1.171/queue/doc.ps
    
    So windows may have issues also.
    
    
    From the IEEE Std 1003.1 POSIX Specification:
    
    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/000095399/basedefs/xbd_chap04.html#tag_04_11 )
    
  2. login: "bll"
  3. mimetype: "text/plain"