+Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+
+ * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
+
Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* malloc/mcheck.c (mabort): Declare prototype.
-/* Copyright (C) 1991, 1992, 1994, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1994, 1995, 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library.
int base;
int group;
{
+#if UNSIGNED
+#define negative 0
+#else
int negative;
+#endif
register unsigned LONG int cutoff;
register unsigned int cutlim;
register unsigned LONG int i;
if (*s == '\0')
goto noconv;
+#if !UNSIGNED
/* Check for a sign. */
if (*s == '-')
{
}
else
negative = 0;
+#endif
if (base == 16 && s[0] == '0' && toupper (s[1]) == 'X')
s += 2;