Module Name: src Committed By: jruoho Date: Tue Apr 12 02:56:20 UTC 2011
Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Better to still leave the old PR number as a comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/stdlib/t_strtod.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/stdlib/t_strtod.c diff -u src/tests/lib/libc/stdlib/t_strtod.c:1.6 src/tests/lib/libc/stdlib/t_strtod.c:1.7 --- src/tests/lib/libc/stdlib/t_strtod.c:1.6 Tue Apr 12 02:52:20 2011 +++ src/tests/lib/libc/stdlib/t_strtod.c Tue Apr 12 02:56:20 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: t_strtod.c,v 1.6 2011/04/12 02:52:20 jruoho Exp $ */ +/* $NetBSD: t_strtod.c,v 1.7 2011/04/12 02:56:20 jruoho Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ /* Public domain, Otto Moerbeek <o...@drijf.net>, 2006. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_strtod.c,v 1.6 2011/04/12 02:52:20 jruoho Exp $"); +__RCSID("$NetBSD: t_strtod.c,v 1.7 2011/04/12 02:56:20 jruoho Exp $"); #include <errno.h> #include <math.h> @@ -110,6 +110,9 @@ double d; float f; + /* + * See old PR lib/33262. + */ d = strtod("INF", NULL); ATF_REQUIRE(isinf(d) != 0);