This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13047] On 32 bit system (UBUNTU Natty) Cannot open a file of size 5GB
- From: "lsatenstein at yahoo dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 31 Jul 2011 23:24:29 +0000
- Subject: [Bug libc/13047] On 32 bit system (UBUNTU Natty) Cannot open a file of size 5GB
- Auto-submitted: auto-generated
- References: <bug-13047-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13047
Leslie Satenstein <lsatenstein at yahoo dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #3 from Leslie Satenstein <lsatenstein at yahoo dot com> 2011-07-31 23:24:23 UTC ---
Here is my come-back. Since one can add a #define to allow using buffered IO
(fread, fwrite, etc) for files in excess of 2 gigabytes. then this define
should be permanent within stdio.h . I wanted to read an ISO DVD and could
not. I would refer the owner of this maintenance problem to the actual
libc.pdf file section 4.17, which makes no mention of the #define. (However in
respoonse to Andreas Jaeger, personal reply (which I appreciate receiving and
for which I thank him), using the search of the libc.PDF I did find a chapter
about large file support.
Something is wrong when today a large file is one measured in petabytes. Please
redirect this topic and this bug to the documentation project and of course to
a steering committee to update the stream IO functionality to handle very large
files, or to state that in the libc.pdf fopen() document, to refer to the large
file section.
I lost quite a few hours of digging to independently discoover the #define that
enables large file support. I would also ask why large file support is turned
on for 64 bit linux? Had 64 bit linux the same constraint, I would have not
been concerned. (I was porting code from 64bit to 32bit), for older systems.
Thank you again Andreas, for the prompt reply.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.