Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 621fa8a28f8190247b02d2230a5460701d35ec900b13dcc579083c985447d479
Ticket: cc1fabcb10f74c404f7992845c64f796e43fd27b
windows: file join, file normalize (and/or Tcl_FSGetTranslatedPath) behave incorrect by translation to parent dir for root of samba path
User & Date: oehhar on 2024-11-08 07:30:35
Changes

  1. icomment:
    Great observation, Sebres, as always.
    
    Perhaps remove the spurious "]" from the last example:
    
    <verbatim>
    % puts [set p [file join //?/d:/ ../c:/windows]]\t[file normalize $p]\t[file exists $p]
    //?/d:/../c:/windows	//?/d:/c:/windows	0
    % exec cmd /c "IF EXIST $p ECHO YES"
    YES
    </verbatim>
    
    I can confirm on 8.6.
    
    Thank you,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"