This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix strtod("-0x",NULL)


-----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-----


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