This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] Make _FILE_OFFSET_BITS=64 default.


On Thu, Feb 27, 2014 at 09:45:37AM -0800, Paul Eggert wrote:
> Squashing an inode that way has a small chance of introducing what
> could be a serious bug.  If glibc is going to squash them, it should
> do so reliably, by maintaining a table of all the inodes it's ever
> seen and making sure there are no collisions.
> 
> Why bother to squash them at all, though?  Programs that care about
> files should be compiled with _FILE_OFFSET_BITS defined to 64.  If
> we're worried about programs that don't define _FILE_OFFSET_BITS, we
> could change glibc to default to _FILE_OFFSET_BITS=64; that's a
> better long-term solution anyway.

Changing default would be better. I dig while how to do it and can not
find a nonugly solution. How should we do this?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]