Re: squid3-largeobj squid3/src AccessLogEntry.h,1.7,1.7.10.1 HttpHeader.cc,1.40,1.40.6.1 HttpHeader.h,1.18,1.18.6.1 HttpHeaderTools.cc,1.21,1.21.6.1 HttpMsg.cc,1.29,1.29.6.1 HttpMsg.h,1.14,1.14.6.1 HttpReply.cc,1.38,1.38.6.1 HttpReply.h,1.18,1.18.10.1 Store.h,1.27,1.27.2.1 StoreIOBuffer.h,1.6,1.6.6.1 access_log.cc,1.41,1.41.6.1 client_side.cc,1.121,1.121.2.1 client_side.h,1.18,1.18.6.1 client_side_reply.cc,1.91,1.91.2.1 client_side_request.h,1.25,1.25.6.1 ftp.cc,1.63,1.63.2.1 http.cc,1.99,1.99.4.1 mem_node.cc,1.10,1.10.6.1 mem_node.h,1.10,1.10.14.1 protos.h,1.80,1.80.4.1 stmem.cc,1.16,1.16.14.1 stmem.h,1.9,1.9.14.1 store.cc,1.53,1.53.2.1 store_client.cc,1.29,1.29.2.1 store_dir.cc,1.21,1.21.2.1 store_log.cc,1.7,1.7.2.1 store_swapout.cc,1.19,1.19.2.1 tunnel.cc,1.28,1.28.6.1

From: Robert Collins <robertc@dont-contact.us>
Date: Thu, 19 Apr 2007 06:57:20 +1000

On Wed, 2007-04-18 at 20:52 +0200, Guido Serassio wrote:
>
> I think that here should be used the standard ISO C99 macro PRId64
> like in Squid 2.6.
> This allow the portability of the code: on Windows %lld is not
> available, when on some Unix 64 bit platforms (HP Tru64 is one) %ld
> must be used instead of %lld.

In squid3 we should be using stream formatting, not % based formatting,
which eliminates this class of problems.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Received on Wed Apr 18 2007 - 14:57:44 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 29 2007 - 12:00:03 MDT