cvs commit: src/contrib/gdtoa strtod.c strtof.c strtorQ.c strtorx.c
David Schultz
das at FreeBSD.org
Sun Dec 16 13:14:33 PST 2007
das 2007-12-16 21:14:33 UTC
FreeBSD src repository
Modified files:
contrib/gdtoa strtod.c strtof.c strtorQ.c strtorx.c
Log:
Fix strto{f,d,ld}() so they don't return signaling NaNs. C99
says they are never supposed to, and the fact that they did could
cause apps that run with unmasked FP exceptions to SIGFPE after a
scanf() or strtod(). The vendor stated that he will not be fixing
this, citing portability concerns.
Revision Changes Path
1.2 +36 -37 src/contrib/gdtoa/strtod.c
1.2 +11 -15 src/contrib/gdtoa/strtof.c
1.2 +10 -11 src/contrib/gdtoa/strtorQ.c
1.2 +16 -13 src/contrib/gdtoa/strtorx.c
More information about the cvs-src
mailing list