On Mon, Mar 17, 2014 at 3:01 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > On Mon, Mar 17, 2014 at 02:56:36PM +0100, Michael Kerrisk (man-pages) wrote: >> I made it >> >> BUGS >> All of the APIs described in this man page are not safe when >> compiling a program using the LFS APIs (e.g., when compiling >> with -D_FILE_OFFSET_BITS=64). This means these APIs are unus??? >> able on current 32-bit systems, since those systems are nor??? >> mally built with -D_FILE_OFFSET_BITS=64. > > Unfortunately that' not quite true - the default is still > -D_FILE_OFFSET_BITS=32 for the compiler, so you'd need manual action to > change it - which generally is a good idea. Oh! I thought most distributors built their 32-bit distros with -D_FILE_OFFSET_BITS=64 these days? Am I wrong? (I don't have any 32-bit systems handy to sample from.) -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html