[ tcl-Bugs-1287638 ] Missing O_LARGEFILE flag?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ tcl-Bugs-1287638 ] Missing O_LARGEFILE flag?

SourceForge.net
Bugs item #1287638, was opened at 2005-09-11 10:03
Message generated for change (Settings changed) made by dkf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1287638&group_id=10894

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 36. File System
Group: current: 8.4.11
Status: Open
Resolution: None
>Priority: 8
Submitted By: Palan (roboxhack)
>Assigned to: Donal K. Fellows (dkf)
>Summary: Missing O_LARGEFILE flag?

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1287638&group_id=10894


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Tcl-Bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-bugs