Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/stdlib Better to still leave the old PR numbe...
details: https://anonhg.NetBSD.org/src/rev/fb8e12c2ca2d
branches: trunk
changeset: 764131:fb8e12c2ca2d
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue Apr 12 02:56:20 2011 +0000
description:
Better to still leave the old PR number as a comment.
diffstat:
tests/lib/libc/stdlib/t_strtod.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 4b97891cd562 -r fb8e12c2ca2d tests/lib/libc/stdlib/t_strtod.c
--- a/tests/lib/libc/stdlib/t_strtod.c Tue Apr 12 02:52:20 2011 +0000
+++ b/tests/lib/libc/stdlib/t_strtod.c Tue Apr 12 02:56:20 2011 +0000
@@ -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 <otto%drijf.net@localhost>, 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);
Home |
Main Index |
Thread Index |
Old Index