Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1f8fa30714743e6165aea5ec7fd06d09c8c3dfe6adc4f699e44060c885e75733
Ticket: baf43873720f5e92ae1142b1fc8d343b3648b54d
file join trashes valid network paths
User & Date: sebres on 2018-07-27 17:15:44
Changes

  1. closer changed to: "nobody"
  2. icomment:
    As regards your latest comment (windows also), this was never possible using such kind of join (also on previous versions), because {\\myprinter} as well as {//myprinter} are not valid UNC-path (and not really valid share network name), so
    
    <code><pre>
    % file join //myprinter/myqueue myfile
    //myprinter/myqueue/myfile
    </pre></code>
    
    but
    
    <code><pre>
    % file join //myprinter myqueue myfile
    /myprinter/myqueue/myfile
    </pre></code>
    
    As regards the "putting together UNC pathnames to return to windows for processing" - yes, but why only windows? Let us then accept any file-system of the world (including virtual). The command is called `file join` and join path segments of the *nix-platform correctly.
    
    Back to the issue, actually I'm not against this (because myself also working multi-platform and the artificial case [f34cf83dd0] is even fewer interesting for me, IMHO it was not really a bug).
    
    But the fact is (if I understood the discussion correctly) - no one knows now how it is right, and I don't think someone want to revert the handling back to version before 8.6.7.
    
    So if you meant "the POSIX specification disagrees", please provide a link or  give me the quote referencing this.
    
    And of course I can reopen it, but ATM I do not see the good prospects of success.
    
  3. login: "sebres"
  4. mimetype: "text/x-fossil-wiki"
  5. resolution changed to: "None"
  6. status changed to: "Open"