Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 85ca1062f3a5fa23558c3df97de54e69a93eaaed
Ticket: 458576ffffffffffffffffffffffffffffffffff
Failure of [file type] on large files
User & Date: nobody on 2001-09-11 02:22:36
Changes

  1. icomment:
    Logged In: NO 
    
    The main problem is that there are actually quite a few places that (l)stat files, and if you change the 
    interface in one place to take account of the possibility of large files, then you have to change it throughout. 
    Which is a lot of work. Furthermore, I do not know if there is any cross-platform agreement on what the 
    interface for dealing with large files should be, and the documentation on Solaris does not make me inclined 
    to believe that what is there is necessarily common throughout. If, as I suspect, large file support uses a 
    different API on each platform (urk!) then we will need to develop a suitable set of macros to detect this in 
    tcl.m4, and even in the case where this is not, we still have the problem of how to represent numbers larger 
    than 2G (as would be returned from [file size] applied to a large file) in Tcl where we do not currently 
    support numbers larger than that if the size of long is only 32 bits. Which means that we need to do a 
    *major* rearchitecturing of the whole Tcl core to support this. :^(
    
    I suppose the bullet must be bitten some time, but it is going to be much work...
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"