Il giorno gio, 05-02-2004 alle 21:47 +0100, Henrik Nordstrom ha scritto:
> On Thu, 5 Feb 2004, Duane Wessels wrote:
> 
> > It looks to me like the --enable-large-files trick simply adds
> > -D_FILE_OFFSET_BITS=64 to the compiler flags, so it seems relatively
> > harmless.
> 
> In addition to enabling support for large files this increases the size of
> all the file size related data types from 32 bits to 64 bits, and also
> increases the maximum allowed object size.
> 
> The code has not at all been audited if this is safe and is why the flag 
> does not exists in 2.5. It is known there is quite many casts to int, and 
> I see it quite likely there is at least some wrong usage.
> 
> In addition this modifies the on-disk storage for the same reason and the
> cache is not compatible between 32 and 64 bit file offset Squid binaries.

I just wished to report that debian has been shipping squid with
-D_FILE_OFFSET_BITS=64 compiler flag for over an year and no user
complained reported errors related to it.

Maybe this could be integrated.

Regards,

-- 
 Luigi Gangitano -- <[EMAIL PROTECTED]> -- <[EMAIL PROTECTED]>
 GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26

Attachment: signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata

Reply via email to