From 3548b78188a9f7244d3eae3cbafe1645fa6746d8 Mon Sep 17 00:00:00 2001 From: phessler <> Date: Sun, 15 Mar 2015 07:26:27 +0000 Subject: fix for regression test for strtol(). it failed (the wrong kind of fail), on 64-bit systems. tested on 64-bit (amd64) and 32-bit (sparc). OK claudio@ deraadt@ --- src/regress/lib/libc/strtol/strtoltest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libc/strtol/strtoltest.c b/src/regress/lib/libc/strtol/strtoltest.c index a90977a87d..17b73340ad 100644 --- a/src/regress/lib/libc/strtol/strtoltest.c +++ b/src/regress/lib/libc/strtol/strtoltest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strtoltest.c,v 1.2 2014/09/19 12:32:08 schwarze Exp $ */ +/* $OpenBSD: strtoltest.c,v 1.3 2015/03/15 07:26:27 phessler Exp $ */ /* * Copyright (c) 2012 Joel Sing * @@ -42,7 +42,7 @@ struct strtol_test strtol_tests[] = { {"-080000000", -2147483648L, '\0', 16, 0}, {"deadbeefdeadbeef", LONG_MAX, '\0', 16, ERANGE}, {"deadzbeef", 57005L, 'z', 16, 0}, - {"-quitebig", LONG_MIN, '\0', 32, ERANGE}, + {"-quitebigmchuge", LONG_MIN, '\0', 32, ERANGE}, {"zzz", 46655L, '\0', 36, 0}, {"1234567890", 0L, '1', 37, EINVAL}, {"1234567890", 0L, '1', 123, EINVAL}, -- cgit v1.2.3-55-g6feb