On Thu, 2006-09-07 at 01:42 +0200, Andreas Fink wrote: > But if I open the file with fopen64, then it works. Rather strange as > Linux seems to be the only OS where this has been done like that.
There's several reasons why maintainers of GNU C Library have chosen this approach. Obviously, using 64 bits I/O functions on a 32 bits system is slightly slower and also will consume more memory. Noting that the C library is designed to be used by everybody, including applications that deal with thousands of files in different estimated sizes (remember squid?), using 64bits I/O is optional, and can be enabled easily at compile time. I'd second this. -- Enver
signature.asc
Description: This is a digitally signed message part
