diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-21 20:25:21 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-21 20:25:21 +0000 |
commit | a7071cbe637217ee34f4d3407782d84e52b60b4d (patch) | |
tree | c2c7fa767de3603d2f9ded69ea89248aaf9569dd | |
parent | ceb4bfd63dfbd6e3d1c6ed934d3e17ab3dd84118 (diff) |
It is not illegal to parse a minus sign in the strtouXX functions.
The results gets simply negated.
-rw-r--r-- | stdlib/strtol.c | 2 |
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) |