apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: "z" modifier for APR_SIZE_T_FMT?
Date Tue, 11 Jul 2006 16:20:03 GMT
On 7/10/06, Tyler MacDonald <tyler@yi.org> wrote:
> I recently had a bug reported on my package, that it failed to compile under
> s390. I guess this is because I was just using "%u" instead of
> APR_SIZE_T_FMT to print the size, but I can't really be sure because I don't
> have access to an s390 to compile myself. :)
> This led me to check up on what APR_SIZE_T_FMT is actually defined as. On my
> system, it's:
> #define APR_SIZE_T_FMT "d"
> Is there any reason why the "z" modifier is not included here? It seems like
> that is what printf(3) says we want to use for formatting size_t types.

Off the top of my head I'm not sure, perhaps configure just isn't
smart enough to use that if it's available?  I'm also not sure if the
apr *printf code knows about that format code...


View raw message