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]

Re: [PATCH 0/2] Squashing long inodes.


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.


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