Re: [Exim] Exim 4.30 bug in handling large error files on Li…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-users
Sujet: Re: [Exim] Exim 4.30 bug in handling large error files on Linux
On Tue, Feb 03, 2004 at 09:55:53AM +0000, Philip Hazel wrote:
> On Mon, 2 Feb 2004, Michael Haardt wrote:
> > That's Linux for you, other Unices solved this issue better. Anyway,
> > just compiling Exim with


> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE


> > on Linux should solve the 2GB problem without any source modifications.


> Should that be the default setting, included in the standard Linux
> config files?

[...]

Afaict from reading <http://www.suse.de/~aj/linux_lfs.html> it is
the easiest way. (Using O_LARGEFILE for open() or defining
_LARGEFILE_SOURCE and _LARGEFILE64_SOURCE and switching to open64()
et.al. both seems to be a lot of work.) - I do not know about LFS with
non-Linux.
                cu andreas