This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.24: gcc / libc problem with sscanf


Matteo Corti <matteo.corti <at> id.ethz.ch> writes:

> Hi,
> 
> I get strange results when using the %zi flag for the sscanf and fscanf
> functions.

That's because nobody has implemented it in newlib yet.  Likewise, scanf("%a") 
is broken, as is scanf("%1$i"), and several other POSIX-required features.

I might get around to fixing *scanf in newlib, after my improvements to *printf 
are accepted (I'm currently waiting for feedback on 
http://sourceware.org/ml/newlib/2007/msg00363.html).  But if you want to also 
contribute patches, it will go faster.

-- 
Eric Blake




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]