1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-26 20:16:38 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Paul Eggert 76bebf24a5 Import from gnulib. 2005-12-02 00:42:52 +00:00
Paul Eggert 2d0c5eefd0 Sync from gnulib. 2005-09-22 06:05:39 +00:00
Jim Meyering 116e6fb244 Update FSF postal mail address. 2005-05-14 07:58:06 +00:00
Paul Eggert 58907a1ee9 Update copyright. 2004-08-02 22:50:47 +00:00
Paul Eggert c04045506d Use Autoconf-suggested pattern for inttypes and stdint. 2004-08-02 22:50:29 +00:00
Jim Meyering dce9582d2c Update from gnulib. 2003-09-13 22:01:20 +00:00
Jim Meyering b1b4af8047 Sync with gnulib. 2003-08-18 09:44:49 +00:00
Jim Meyering 42cd1376ed (PARAMS): Remove. All uses removed. 2003-06-18 07:57:26 +00:00
Jim Meyering 8f92b22d98 Include <stdint.h> as an alternative to <inttypes.h>. 2003-06-06 22:30:28 +00:00
Jim Meyering d6e1aff5e6 (HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
(strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base),
to work around bug in IBM C compiler.
2001-09-17 10:24:20 +00:00
Jim Meyering c1845ef979 Renamed from strtoxmax.c, removing the old strtoimax.c.
Also, make the following further changes to make this file's
configuration more similar to that of strtol.c:
(UNSIGNED): Renamed from STRTOUXMAX_UNSIGNED.  All uses changed.
(strtoumax, uintmax_t, strtoull, strtol): Remove.
(intmax_t, strtoimax, strtol, strtoll): New macros, if UNSIGNED.
(strtoimax): Renamed from strtoumax.  All uses of unsigned values
changed to signed values.

And make the following changes as well:
Fix copyright notice, as 1999 was missing.
(verify): New macro.
(strtoimax): Check sizes at compile-time, not run-time.
Prefer strtol to strtoll if both work.
(main): Remove; it was not that useful and was a pain to maintain.
2001-08-31 09:37:58 +00:00
Jim Meyering 73dc52f0b9 whoops. Don't define anything here. imax is the default 2001-08-27 21:24:59 +00:00
Jim Meyering 482dc4ee3c include strtoxmax.c 2001-08-27 08:44:27 +00:00
Jim Meyering 114c6c6af1 Stub. Just #define STRTOUXMAX_SIGNED, then
#include "strtouxmax.c"
2001-08-26 07:00:08 +00:00