Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2e253b3847521a78e69c8b6765ddd4e1f4fdcd4f
Ticket: 942170ffffffffffffffffffffffffffffffffff
HAVE_ST_BLOCKS missing in configure
User & Date: stwo on 2009-11-10 01:23:10
Changes

  1. icomment:
    With this patch:
    HAVE_ST_BLOCKS becomes HAVE_STRUCT_STAT_ST_BLOCKS via the proper autoconf macro and all relevant code is adapted for this change, except for the tests.
    
    Note that this will break cmdAH-28.3 if your system has an st_blocks field in struct stat.
    Note that the casts retrieving the values from struct stat in function StoreStatData() are different from those used in the TIP 316 implementation.
    
    I put this patch here as a next step.
    I think that StoreStatData() (and others?) should use the TIP 316 functions, but the differences in casting should be worked out. Which ones are the correct ones?
    
    It's not important to me whether or not to include the blocks field - you can fight amongst yourselves for that ;)
    
    
  2. login: "stwo"
  3. mimetype: "text/plain"
  4. username: "stwo"