Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 35610794dc5c1d9fbb82795da79ac03211fdbf7e
Ticket: 931823ffffffffffffffffffffffffffffffffff
Tcl_FSPathSeparator() inconsistency
User & Date: dgp on 2004-04-08 15:51:59
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    If a Tcl_Filesystem does not define
    a Tcl_FSFilesystemSeparatorProc
    then all internal parts of the core
    forgive that and assume a separator
    of "/" for the filesystem.  That seems
    fine.
    
    However, the result of Tcl_FSPathSeparator()
    on a path in such a filesystem does not
    agree.  It will return NULL, which accurately
    reflects that the filesystem has left its separator
    undefined, but doesn't accurately reflect what
    the core will use as a separator on that path.
    
    I think it would be better for Tcl_FSPathSeparator()
    to fill in the "/" default.  A nice side effect is that
    this would make the definition of a
    Tcl_FSFilesystemSeparatorProc truly
    optional for most filesystems.
    
  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: "Tcl_FSPathSeparator() inconsistency"
  11. type changed to: "Bug"