This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14106] _FILE_OFFSET_BITS=64 goes outside standard namespace
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 14 May 2012 12:39:41 +0000
- Subject: [Bug libc/14106] _FILE_OFFSET_BITS=64 goes outside standard namespace
- Auto-submitted: auto-generated
- References: <bug-14106-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14106
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> 2012-05-14 12:39:41 UTC ---
This issue has been bothering me for a long time too, but I never thought to
report it. The only solution I see is to rename all the *64 functions to __*64
and update the headers accordingly. Of course aliases would need to be kept
with the old names, and _LARGEFILE64_SOURCE would need to expose the old names.
Solving the problem also has the unfortunate consequence that newly-linked
binaries will depend on a new glibc even if they otherwise would have worked
with very old versions.
Nonetheless, I agree that something should be done about this bug. Using
_FILE_OFFSET_BITS=64 is the only viable configuration on a modern system. (A
mixed system with some binaries compiled with 32-bit offsets and others with
64-bit offsets has dangerous issues with file descriptor inheritance; see bug
#13047.) And it seems a real shame for the only viable configuration to be
non-conformant in this regard.
--
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.