fix strtod("-0x",NULL)

Eric Blake ebb9@byu.net
Tue Mar 4 02:28:00 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 2/28/2008 9:32 PM:
| And another one - strtod("nan()", ptr) should consume the () (per C99, the
| n-char-sequence between the literal () is optional, not required).
| Without the patch, ptr is set to str+3 instead of str+5.  OK to apply?
|
| 2008-02-29  Eric Blake  <ebb9@byu.net>
|
|     Fix strtod("nan()", ptr).
|     * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
|     n-char-sequence is omitted, still parse the ().

Ping.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzLKs84KuGfSFAYARAnWtAJ46tAABk3432FJojmOcooK3yGeSuACgyR+S
jnFlxr/lPJzKbZz+xL4S5y0=
=XePG
-----END PGP SIGNATURE-----



More information about the Newlib mailing list