summaryrefslogtreecommitdiff
path: root/lib/strtoimax.c
AgeCommit message (Collapse)Author
2004-08-02Update copyright.Paul Eggert
2004-08-02Use Autoconf-suggested pattern for inttypes and stdint.Paul Eggert
2003-09-13Update from gnulib.Jim Meyering
2003-08-18Sync with gnulib.Jim Meyering
2003-06-18(PARAMS): Remove. All uses removed.Jim Meyering
2003-06-06Include <stdint.h> as an alternative to <inttypes.h>.Jim Meyering
2001-09-17(HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.Jim Meyering
(strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base), to work around bug in IBM C compiler.
2001-08-31Renamed from strtoxmax.c, removing the old strtoimax.c.Jim Meyering
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-27whoops. Don't define anything here. imax is the defaultJim Meyering
2001-08-27include strtoxmax.cJim Meyering
2001-08-26Stub. Just #define STRTOUXMAX_SIGNED, thenJim Meyering
#include "strtouxmax.c"