apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] hex format string for apr_uint64_t
Date Tue, 15 Apr 2003 20:13:51 GMT
William A. Rowe, Jr. wrote:
> At 01:05 PM 4/15/2003, Jeff Trawick wrote:
>>Jeff Trawick wrote:
>>>An unfortunately ugly example:
>>> apr_time_t now;
>>> apr_snprintf(..., "microsecs in hex: %" APR_UINT64_T_HEX_FMT,
>>>              (apr_uint64_t))
>>err, that last line should be
>>                (apr_uint64_t)now)
> Of course :-)
> ... we will have to see how many platforms contradict 
> themselves between d and x formats - but I hope we find this isn't 
> a common problem.

Like any other new feature it will just have to get verified by the 
pioneers that have access to such a box, if indeed one actually exists

(can anybody say "malformed chunk header"???)

I'm adding a couple of testcases to test/testfmt.c and will commit the 
set of changes once I see it do the right thing on a few boxes of 
differing word size and general temperament.



View raw message