Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 46c4ac6bea7ed51b58f1a6724f5aba33a3f8c0e0
Ticket: 2994165fffffffffffffffffffffffffffffffff
Signature of Tcl_FSGetNativePath and TclpDeleteFile
User & Date: nijtmans on 2010-08-25 07:50:07
Changes

  1. icomment:
    Joe English wrote on Tcl List Core <[email protected]>
    
    > New stub entries are not in fact required here.
    
    > We only need to worry about ABI compatibility for platforms
    > on which binaries currently actually exist.  'char *' and 'void *'
    > (and const- and volatile- qualified versions of same) have identical
    > representations on all currently known supported platforms.
    
    It turns out that he is right. See:
    <http://bytes.com/topic/c/answers/221528-function-called-through-non-compatible-type>
    > Cray vector machines use a different representation for char* and
    > void* pointers than for int* pointers. A native machine address
    > points to a 64-bit word; byte pointers (implemented in software) store
    > a 3-bit offset in the unused high-order bits. The representation is
    > such that an arbitrary int* pointer happens to be a valid byte pointer
    > to the first byte of the word (the offset happens to be zero).
    
    So, I will put back the stub entry in the original location.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"