strtol broken?
Andreas Jaeger
aj@arthur.rhein-neckar.de
Tue Jul 28 13:32:00 GMT 1998
>>>>> Zack Weinberg writes:
> The strtol in latest CVS fails part of the test suite. I'm not sure
> if it's strtol or the tester that's broken.
It's a typo in Uli's last patch. He accepted already the appended
patch.
Andreas
1998-07-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
define as LONG_MAX.
--- stdlib/strtol.c.~1~ Tue Jul 28 07:13:33 1998
+++ stdlib/strtol.c Tue Jul 28 10:33:42 1998
@@ -147,7 +147,7 @@
# define LONG_MAX ((long int) (ULONG_MAX >> 1))
# endif
# define STRTOL_LONG_MIN LONG_MIN
-# define STRTOL_LONG_MAX ULONG_MAX
+# define STRTOL_LONG_MAX LONG_MAX
# define STRTOL_ULONG_MAX ULONG_MAX
#endif
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@alma.student.uni-kl.de
More information about the Libc-hacker
mailing list