Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a5f635976eea845f28af41871c07fcde29303595
Ticket: 3598300fffffffffffffffffffffffffffffffff
unix: tcl.h does not include sys/stat.h
User & Date: dkf on 2013-01-17 15:58:19
Changes

  1. icomment:
    The problem was that in *some* circumstances (but not all), tcl.h is computing #defs that tclUnixPort.h requires to do the right thing w.r.t. picking up system structure definitions. I just happened to be on one of those platforms, which helped a lot for tracking the problem down. It looked a lot like the code was just going completely crazy though. :-) I spent quite a suspecting that the Tcl_Obj memory allocation system was at fault (it was innocent).
    
    The crazy thing is that tclPort.h is usually a file I completely ignore, as I "know" that it just includes the correct platform-specific portability file. Which just goes to show that what I "know" is sometimes wrong…
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"