apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: Fwd: Ordering like "%1$s" is unsupported in the format strings
Date Mon, 29 Jan 2007 11:52:56 GMT
On Thu, Jan 25, 2007 at 04:37:23PM +0800, Cauchy Song wrote:
> Mainly by:
> /** Create an error structure with the given @a apr_err and @a child,
> * with a printf-style error message produced by passing @a fmt, using
> * apr_psprintf().
> */
> svn_error_t *svn_error_createf(apr_status_t apr_err,
>                               svn_error_t *child,
>                               const char *fmt,
>                               ...)
>  __attribute__ ((format(printf, 3, 4)));
> 
> Is there any thing support format strings like "%1$s"  in apr ?

No, the APR printf (vformatter) implementation does not support 
positional specifiers like that; patches to add such support would be 
welcome!

Regards,

joe

Mime
View raw message