summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-03-21 20:25:21 +0000
committerUlrich Drepper <drepper@redhat.com>1997-03-21 20:25:21 +0000
commita7071cbe637217ee34f4d3407782d84e52b60b4d (patch)
treec2c7fa767de3603d2f9ded69ea89248aaf9569dd /stdlib
parentceb4bfd63dfbd6e3d1c6ed934d3e17ab3dd84118 (diff)
It is not illegal to parse a minus sign in the strtouXX functions.
The results gets simply negated.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strtol.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
index 396e2ecd74..5fcf17b8e7 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)