Re: Logfiles above 2G

Enver ALTIN <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1157631130.14908.13.camel@localhost>
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 (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBFAAyaZCB2FZvqK0sRAmIEAJ4ybVyuUba14zgxVygPLtkG5hkUxwCdESsN
iHvaonZuH91jQmjymfKIuT8=
=Psao
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.