This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Linux egcs sscanf of float skips a leading zero
- To: tallman at acsys dot com
- Subject: Re: Linux egcs sscanf of float skips a leading zero
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 14 Mar 2000 21:44:10 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200003141752.KAA12683@cchan.acsys.com>
> 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