Paul Eggert
24cdab4d1a
Use Autoconf-suggested pattern for inttypes and stdint.
2004-08-02 22:51:09 +00:00
Jim Meyering
e2bbc5f3d3
Include "exitfail.h".
...
(STRTOL_FATAL_ERROR): Exit with status exit_failure, not 2.
2004-01-21 22:37:21 +00:00
Jim Meyering
c8043fb655
Sync with gnulib.
2003-10-15 07:26:36 +00:00
Jim Meyering
62b9c742e9
Update from gnulib.
2003-06-18 06:11:45 +00:00
Jim Meyering
8f92b22d98
Include <stdint.h> as an alternative to <inttypes.h>.
2003-06-06 22:30:28 +00:00
Jim Meyering
2adb484d90
* lib/xstrtol.h: Add copyright notice.
...
(_DECLARE_XSTRTOL): Improve quality of diagnostic for
LONGINT_INVALID_SUFFIX_CHAR.
2001-08-31 08:15:10 +00:00
Jim Meyering
de8c144109
Add xstrtoimax.
2001-08-26 10:42:50 +00:00
Jim Meyering
0501984933
(__xstrtol, __strtol, __unsigned): Remove macro decls.
...
<inttypes.h>: Include if HAVE_INTTYPES_H.
(_DECLARE_XSTRTOL): New macro.
(xstrtol, xstrtoul, xstrtoumax): Declare all three functions, so that
we need only one include file, not three.
(_STRTOL_ERROR): Do not undef, as this is no longer needed.
Reword overflow message so that it's independent of type.
1999-04-18 23:16:23 +00:00
Jim Meyering
159788fcca
(__ZLONG_MAX): Remove.
1998-06-29 15:24:15 +00:00
Jim Meyering
727298f3f5
Use PARAMS, not __P.
1997-12-21 11:22:51 +00:00
Jim Meyering
d73bc3ca57
[!_STRTOL_ERROR]: Define the type `enum strtol_error'
...
only if it hasn't already been defined.
1997-01-25 06:15:18 +00:00
Jim Meyering
3772a9e885
.
1996-10-29 17:44:03 +00:00
Jim Meyering
1f49981a1f
cpp-indent
1996-10-29 14:17:29 +00:00
Jim Meyering
d09ffcb711
libitize
1996-10-29 14:14:08 +00:00
Jim Meyering
e24c0713be
Define and use macro, PARAMS, not __P.
1996-10-17 02:59:09 +00:00
Jim Meyering
c70ee3bf4a
merge with 1.11.d
1995-03-21 01:43:35 +00:00
Jim Meyering
e71dcd4c81
Undef __P before defining it.
1995-03-12 18:06:08 +00:00
Jim Meyering
b554fee401
.
1995-01-27 05:22:23 +00:00
Jim Meyering
3205d087e2
.
1994-12-20 04:17:23 +00:00