Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 249926146527d8b7a537118c6b215852e7ab7951
Ticket: 3598300fffffffffffffffffffffffffffffffff
unix: tcl.h does not include sys/stat.h
User & Date: dkf on 2013-01-17 07:38:57
Changes

  1. icomment:
    Just checked the placement of variables on the stack; getting the wrong type for Tcl_StatBuf would indeed cause the crash, as the OS would write as if it was a 'struct stat64' whereas Tcl was compiled as if it was a 'struct stat'. (The other variable just happens to be placed a little bit after on the stack, within stomping range.)
    
    While this is annoying, it's at least clear what the problem *is* now!
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"