[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: T.syslog_L 115

On Tue, Mar 12, Joey Hess wrote:

> Thorsten Kukuk wrote:
> > > %10$#+-.*13$hi
> > > 
> > > According to my sprintf man page, the # flag is not defined for the i
> > > conversion (according to the glibc info pages, it "doesn't do anything
> > > useful for the `%d', `%i', or `%u' conversions"). Maybe this is why the
> > > test is always failing.
> > 
> > No, syslog_L 115 works fine (I think it was a glibc bug).
> It still fails for me. What do you think the # flag is supposed to do
> for the hi conversion? 

Nothing, it is ignored as far as I know.

> What glibc are you using?

current 2.2 branch with pending patches.

> I think you're right about a glibc bug in the other %[...]di
> conversions failures that I am still seeing (tests 91 and 98).

glibc printf had a bug with short int as argument, if you reorder
the arguments.


Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrenstr. 15-19       D-90429 Nuernberg
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

Reply to: