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 Wed, 12 Jul 2006 17:22:45 GMT
On 7/12/06, Tyler MacDonald <tyler@yi.org> wrote:
> Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> > >#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...
>         Well, It is C99 standard... I've tried it inside apr_psprintf()'s
> and it seems to work. :)

Well, it sure doesn't seem to be implemented inside of the
apr_vformatter stuff, which is what a lot of the *printf stuff in APR
is based on...  Unless I'm missing something here...


View raw message