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.

Thanks,

Jeff



Reply via email to