This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.24: gcc / libc problem with sscanf
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 17 Apr 2007 15:13:18 +0000 (UTC)
- Subject: Re: 1.5.24: gcc / libc problem with sscanf
- References: <4624D8C0.6010809@id.ethz.ch>
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/