Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f9627aabbc3ca34af5b9dd4d74d608d8b00515337f6d36e511df0ee30f3d8873
Ticket: baf43873720f5e92ae1142b1fc8d343b3648b54d
file join trashes valid network paths
User & Date: sebres on 2018-07-27 09:57:24
Changes

  1. icomment:
    Hmm... even weirder - also on previous versions, where it does not affect already "normalized" path, this removes slashes (including first) if one additional slash presents in the second path-segment (path was not normalized).
    <code><pre style="padding-left:10pt;">
    $ echo 'puts [file normalize //a/b/$tcl_platform(platform)]' | ./tclsh.sh
    //a/b/unix
    $ echo 'puts [file normalize //a//b/$tcl_platform(platform)]' | ./tclsh.sh
    /a/b/unix
    $ echo 'puts [file normalize //a/b//$tcl_platform(platform)]' | ./tclsh.sh
    /a/b/unix
    </pre></code>
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"