This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Fix strtod and *scanf


Jakub Jelinek <jakub@redhat.com> writes:

> strtod("Infinity", &x) incorrectly points x to 'i', not '\0',
> sscanf("+Inf","%e") incorrectly returns 0 (ISO C99 requires that it handles
> optionally signed number, infinity, ..., and that it should accept the same
> thing as strtod). This patch should fix it.

Thanks, I've applied it.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]