fix failure to read infinity in scanf
authorRich Felker <dalias@aerifal.cx>
Wed, 18 Apr 2012 02:05:51 +0000 (22:05 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 18 Apr 2012 02:05:51 +0000 (22:05 -0400)
commitdad40407705801c8bb597d5bc9a4eda562cae890
treee3c30fb09d43a2d5005ea43adbc6ebbab0e4104b
parentbb477f9fd4a69bac77c70d2099272ee1ac17e62c
fix failure to read infinity in scanf

this code worked in strtod, but not in scanf. more evidence that i
should design a better interface for discarding multiple tail
characters than just calling unget repeatedly...
src/internal/floatscan.c