It is not illegal to parse a minus sign in the strtouXX functions.

The results gets simply negated.
This commit is contained in:
Ulrich Drepper 1997-03-21 20:25:21 +00:00
parent ceb4bfd63d
commit a7071cbe63

View File

@ -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)