From owner-cvs-src@FreeBSD.ORG Sun Dec 16 21:14:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A5D716A47A; Sun, 16 Dec 2007 21:14:33 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5422D13C4D1; Sun, 16 Dec 2007 21:14:33 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBGLEXvE044233; Sun, 16 Dec 2007 21:14:33 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBGLEXFx044232; Sun, 16 Dec 2007 21:14:33 GMT (envelope-from das) Message-Id: <200712162114.lBGLEXFx044232@repoman.freebsd.org> From: David Schultz Date: Sun, 16 Dec 2007 21:14:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/contrib/gdtoa strtod.c strtof.c strtorQ.c strtorx.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 21:14:33 -0000 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