Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eaa168afaa1f2247b021f49a3315eddceb0a78e8
Ticket: 2994165fffffffffffffffffffffffffffffffff
Signature of Tcl_FSGetNativePath and TclpDeleteFile
User & Date: nijtmans on 2010-04-29 13:18:56
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Most file system API functions which have a
    native path as parameter, use a "void *" for
    that. But there are two exceptions, which
    result in the need of extra (unneccessary)
    type casts. This patch changes the
    parameter type from "char *" to "void *",
    and adds the necessary machinery to
    keep source and binary compatibility.
    
    Currently, the documentation for
    Tcl_FSGetNativePath mentions:
        This function is a convenience
        -wrapper around \fBTcl_FSGetInternalRep\fR,
        and assumes the native-representation is
        string-based
    The effect of this patch is that the
    mentioned assumption is relaxed.
    The patch contains the doc update
    as well. Tested on Linux and win32
    (MSVC 6.0/mingw/CYGWIN)
    
    Adreas, Kevin, any remarks?
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nijtmans"
  10. subsystem changed to: "37. File System"
  11. title changed to:
    Signature of Tcl_FSGetNativePath and TclpDeleteFile
    
  12. type changed to: "Patch"