Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4ee3dfbbb1fd5ddb0c0c5f4daa0717d818f7b1a7
Ticket: 961646ffffffffffffffffffffffffffffffffff
[file normalize] changes file reference
User & Date: dgp on 2004-05-27 15:36:01
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % glob *
    file
    % open noSuchDir/../file
    couldn't open "noSuchDir/../file": no such file or
    directory
    % open [file normalize noSuchDir/../file]
    file3
    
    Here [file normalize] converts
    "noSuchDir/../file" to "file", but
    and [open] on one fails, the  other
    succeeds.
    
    I think of [file normalize] giving me
    the preferred name among many
    names for one file.  Here it is
    convering a string that names no
    file into one that does name a file.
    
    This suggests that /../ interpretation
    is Tcl_Filesystem-specific and
    ought to be done in each Tcl_Filesystem's
    Tcl_FSNormalizePathProc rather
    than in the core FS layer.
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "37. File System"
  10. title changed to: "[file normalize] changes file reference"
  11. type changed to: "Bug"