[prev in list] [next in list] [prev in thread] [next in thread]
List: apr-dev
Subject: Re: Fwd: Ordering like "%1$s" is unsupported in the format strings
From: Joe Orton <jorton () redhat ! com>
Date: 2007-01-29 11:52:56
Message-ID: 20070129115256.GA32454 () redhat ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic