Patch: Convert linux-generic to use <bits/fcntl-linux.h>

Roland McGrath roland@hack.frob.com
Wed Oct 24 20:36:00 GMT 2012


> We could have:
> #ifdef __USE_LARGEFILE64
> # if __WORDSIZE == 64
> #  define O_LARGEFILE  0
> # else
> #  define O_LARGEFILE __O_LARGEFILE
> # endif
> #endif

That's too much hair.  If there is a majority common value for
__O_LARGEFILE, then you can default __O_LARGEFILE to that value.
Beyond that, I'd say just leave it alone.



More information about the Libc-alpha mailing list