Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 04f9428acbe137762521803cb49b074da5122912
Ticket: 1287638fffffffffffffffffffffffffffffffff
Missing O_LARGEFILE flag?
User & Date: roboxhack on 2005-09-11 09:03:19
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    TCL does not support writing more than 2 GB to files
    
    In generic/tclIOUtil.c
    
    Function: TclGetOpenMode
    
    For opening new files, the O_LARGEFILE flag should be
    added to support >2GB files:
    
        case 'w':
    mode = O_WRONLY|O_CREAT|O_TRUNC;
    
    should be
    
    #define O_LARGEFILE     0100000
     .....
     case 'w':
                    mode =
    O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE;
    
    
    The same needs to be done for appending and other file
    access modes.
    
    
  4. foundin changed to: "obsolete: 8.4.11"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "roboxhack"
  9. subsystem changed to: "37. File System"
  10. title changed to:
    
    TCL does not support writing more than 2 GB to files
    
  11. type changed to: "Bug"