Module Name: src
Committed By: jruoho
Date: Tue Jun 14 02:45:58 UTC 2011
Modified Files:
src/tests/lib/libc/stdlib: t_strtol.c
Log Message:
Remove the cases that cause integer overflow on e.g. i386.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/stdlib/t_strtol.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_strtol.c
diff -u src/tests/lib/libc/stdlib/t_strtol.c:1.4 src/tests/lib/libc/stdlib/t_strtol.c:1.5
--- src/tests/lib/libc/stdlib/t_strtol.c:1.4 Wed Jun 8 05:31:43 2011
+++ src/tests/lib/libc/stdlib/t_strtol.c Tue Jun 14 02:45:58 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strtol.c,v 1.4 2011/06/08 05:31:43 jruoho Exp $ */
+/* $NetBSD: t_strtol.c,v 1.5 2011/06/14 02:45:58 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_strtol.c,v 1.4 2011/06/08 05:31:43 jruoho Exp $");
+__RCSID("$NetBSD: t_strtol.c,v 1.5 2011/06/14 02:45:58 jruoho Exp $");
#include <atf-c.h>
#include <errno.h>
@@ -92,8 +92,6 @@
{ "123456789", 342391, 8, NULL },
{ "0123456789", 342391, 0, NULL },
{ "0123456789", 123456789, 10, NULL },
- { "0123456789", 0x123456789, 16, NULL },
- { "0x123456789", 0x123456789, 0, NULL },
{ "0x75bcd15", 123456789, 0, NULL },
};