Date: Sun, 16 Dec 2007 21:14:33 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/gdtoa strtod.c strtof.c strtorQ.c strtorx.c Message-ID: <200712162114.lBGLEXFx044232@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712162114.lBGLEXFx044232>