[RFC] Copy as much as you can during a 32-bit stat before returning EOVERFLOW?

Roland McGrath roland@hack.frob.com
Tue Feb 26 23:58:00 GMT 2013


> Stage 1: Change the default for _FILE_OFFSET_BITS to 64 on all
> targets, and make 32-bit off_t accessible only by explicitly
> requesting -D_FILE_OFFSET_BITS=32. This should help transition all the
> stragglers who are just straggling because they don't know better; the
> few who have fundamentally buggy code that's incompatible with 64-bit
> off_t can use the workaround (-D_FILE_OFFSET_BITS=32) until they get
> their acts together.

This makes library ABIs silently become incompatible with past builds.
That's a non-starter.

I'm somewhat sympathetic to the overall goal, but I'm not at all sure what
a viable migration path might be.

Regardless, don't hijack this thread for that subject.
Start your own thread.


Thanks,
Roland



More information about the Libc-alpha mailing list