From owner-cvs-all@FreeBSD.ORG Sun Dec 16 21:13:54 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9841116A46B; Sun, 16 Dec 2007 21:13:54 +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 6243F13C4F2; Sun, 16 Dec 2007 21:13:54 +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 lBGLDsKF044028; Sun, 16 Dec 2007 21:13:54 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBGLDs6b044027; Sun, 16 Dec 2007 21:13:54 GMT (envelope-from das) Message-Id: <200712162113.lBGLDs6b044027@repoman.freebsd.org> From: David Schultz Date: Sun, 16 Dec 2007 21:13:54 +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 hexnan.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 21:13:54 -0000 das 2007-12-16 21:13:54 UTC FreeBSD src repository Modified files: contrib/gdtoa hexnan.c Log: Some changes the vendor didn't want: - Accept the '0x' prefix so strtod("nan(0x...)", NULL) returns the same thing as gcc's builtin nan("0x...") for such strings. - Don't return uninitialized memory. - Finish processing the string up to the closing ')' (provided it's lexically valid) for compatibility with C99 and *scanf(). Revision Changes Path 1.2 +31 -12 src/contrib/gdtoa/hexnan.c