OSDN Git Service

Ugh... EOF handling by scanf was completely broken. :-( Regretably,
authorManuel Novoa III <mjn3@codepoet.org>
Mon, 22 Sep 2003 02:57:18 +0000 (02:57 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Mon, 22 Sep 2003 02:57:18 +0000 (02:57 -0000)
commit755c973ce29b2da548470143151a10d5d85ad7d9
tree5ff472d338a8e329ad0c3c9beca31c00dcda527e
parent17ab889ed12ac34f38d602998a55470645814324
Ugh... EOF handling by scanf was completely broken.  :-(  Regretably,
I got my mind fixed in one mode and didn't comply with the standards.
Things should be fixed now, but comparision testing is difficult when
glibc's scanf is broken and they stubbornly refuse to even acknowledge
that it is... even when confronted by specific examples from the C99
standards and from an official C standard defect report.
libc/stdio/scanf.c