Re: HEAD does not compile cleanly

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 7 Apr 2002 01:36:02 +0200

On Sunday 07 April 2002 01:05, Henrik Nordstrom wrote:
> On Saturday 06 April 2002 23:24, Guido Serassio wrote:
> > Opss, I have read a wrong line in MSDN about the stat structure
> > definition. Sure, it must be a size_t.
>
> Exacly. For now it is OK to cast the wrong part to a size_t, but in
> the long run Squid should be able to deal with mostly any object
> sizes.. >2GB objects is not too unexpected today, and size_t cannot
> deal with >2GB objects on 32bit platforms.. (the default on most
> 32bit UNIX:es, even if most also has optional 64bit support for
> size_t and related friends)

Sorry, I meant >4GB for size_t.. but Squid cannot deal with >2GB as
it is now even on systems where size_t is sufficiently large as there
is casts to int and other bad things..

Regards
Henrik
Received on Sat Apr 06 2002 - 16:36:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:58 MST