Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1c4326039b735abd761432105fb5dc69ce31bf3b8b051ec6595968af8e0dcb2f
Ticket: baf43873720f5e92ae1142b1fc8d343b3648b54d
file join trashes valid network paths
User & Date: bll on 2018-07-27 15:02:15
Changes

  1. foundin changed to: ">= 8.5"
  2. icomment:
    Also, it would be possible for some file server running on unix to be
    putting together UNC pathnames to return to windows for processing.
    There should not be a unix/windows separation disjunction here.
    
    Windows 7-64, Tcl 8.6.8, confirmed issue
    % set printer \\\\myprinter
    \\myprinter
    % set queue myqueue
    myqueue
    % set file myfile
    myfile
    % puts [file join $printer $queue $file]
    /myprinter/myqueue/myfile
    % set printer //myprinter
    //myprinter
    % puts [file join $printer $queue $file]
    /myprinter/myqueue/myfile
    % file normalize //myprinter/myqueue/myfile
    //myprinter/myqueue/myfile
    %
    
    Removing the *nix only.
    
  3. login: "bll"
  4. mimetype: "text/plain"