Re: Logfiles above 2G

Guillaume Cottenceau <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Enver ALTIN <ealtin 'at' parkyeri.com> writes:

> 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.

Opposedly, applications that deal with thousands of files could
easily enable a proper option at compile time for sticking to non
large files.

-- 
Guillaume Cottenceau
Create your personal SMS or WAP Service - visit http://mobilefriends.ch/
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.