[Bug libc/12437] scanf behavior differs from WG14/=?UTF-8?Q?N1256=20Committee=20Draft=20=E2=80=94=20Septermber=207?=, 2007

bugdal at aerifal dot cx sourceware-bugzilla@sourceware.org
Fri Oct 7 04:24:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=12437

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |bugdal at aerifal dot cx
         Resolution|INVALID                     |

--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> 2011-10-07 04:24:05 UTC ---
This bug is valid. Nobody is claiming scanf should pushback two characters, but
it needs to report a matching failure rather than accepting "100e" as if it
were a valid floating point representation. The C standard could not be more
explicit on this matter.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list