This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/15301] scanf family misbehaves on %m when zero characters are read
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 15 Nov 2013 20:45:45 +0000
- Subject: [Bug stdio/15301] scanf family misbehaves on %m when zero characters are read
- Auto-submitted: auto-generated
- References: <bug-15301-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15301
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #4 from Rich Felker <bugdal at aerifal dot cx> ---
This is not a bug. The conversion specifier results in a matching failure
(because no characters were read). The return value of 0 indicates that nothing
was read into the argument (in particular, no pointer should be assigned when
%m is used).
--
You are receiving this mail because:
You are on the CC list for the bug.