From a7071cbe637217ee34f4d3407782d84e52b60b4d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 21 Mar 1997 20:25:21 +0000 Subject: [PATCH] It is not illegal to parse a minus sign in the strtouXX functions. The results gets simply negated. --- stdlib/strtol.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/stdlib/strtol.c b/stdlib/strtol.c index 396e2ecd745..5fcf17b8e75 100644 --- a/stdlib/strtol.c +++ b/stdlib/strtol.c @@ -312,8 +312,6 @@ INTERNAL (strtol) (nptr, endptr, base, group) ? -((unsigned LONG int) (LONG_MIN + 1)) + 1 : (unsigned LONG int) LONG_MAX)) overflow = 1; -#else - overflow |= negative; #endif if (overflow) -- 2.47.2