Linux egcs sscanf of float skips a leading zero
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Tue Mar 14 12:49:00 GMT 2000
> Problem: when trying to read a floating-point field with sscanf, a
> leading zero gets skipped.
Thanks for your bug report. That does not sound like a compiler bug,
but like one in the C library, which is developed in a separate
project. Please use the glibcbug script to report C library bugs.
Anyway, I tried compiling your code with both egcs 1.1.2, and gcc 2.95
on my system, and it compiled and ran fine in both cases. I run glibc
2.1.3.
Regards,
Martin
More information about the Gcc-bugs
mailing list