Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 13062148186b4878e9f7b844a0eaeaa2c699a96d
Ticket: 923568ffffffffffffffffffffffffffffffffff
Tcl_FSGetNormalizedPath returns volume relative
User & Date: kennykb on 2004-03-26 00:16:51
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    If Tcl_FSGetNormalizedPath is passed a volume-relative
    path name, and the volume is not the one where the
    working directory resides, it returns the path name
    in volume-relative form.  The comments in the code
    say that it makes it relative to the root of the given
    volume, but that's not what actually happens.  This
    causes considerable surprise, since a normalized
    path is supposed to be a unique identifier for a file.
    
    I show below a brief case that demonstrates the problem.
    
    % cd h:
    % pwd
    H:/
    % file norm c:foo
    c:foo
    
    We should be able to design a regression test case
    that exhibits the behavior on any system with at least
    two drives, but I haven't done so.
    
  4. foundin changed to: "obsolete: 8.5a1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "kennykb"
  9. subsystem changed to: "37. File System"
  10. title changed to: "Tcl_FSGetNormalizedPath returns volume relative"
  11. type changed to: "Bug"