CVSROOT:        /cvs
Module name:    src
Changes by:     matt...@cvs.openbsd.org 2013/06/02 09:22:20

Modified files:
        lib/libc/locale: _wcstod.h 

Log message:
Fix wcsto{f,d,ld}() C99 compliance to now correctly

1. handle "inf", "infinity", "nan", and "nan(whatever)",

2. reject bare minus and plus signs,

3. handle multi-byte characters, and

4. set *endptr = nptr for all failure cases.

Fixes libc++'s test cases for std::sto{f,d,ld}().

ok stsp

Reply via email to