Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | xstrtoll-tests: use %lld for long long | Paul Eggert | 2022-01-16 | 1 | -1/+1 |
| | | | | | | | | | * tests/test-xstrtoll.c, tests/test-xstrtoull.c (__spec): Do not assume long long is 64 bits, or that exact-width 64-bit types exist. Although these assumptions are true on current Gnulib platforms they are not true in general. Also, GCC warns if PRId64 is "ld" but intmax_t is long long even when long and long long are both 64 bits. | ||||
* | xstrtoll: new module | Jim Meyering | 2010-01-25 | 1 | -0/+4 |
* modules/xstrtoll: New file. * MODULES.html.sh (Numeric conversion functions): Add xstrtoll. * lib/xstrtol.h [HAVE_LONG_LONG_INT]: Declare xstrtoll and xstrtoull. * lib/xstrtoll.c, lib/xstrtoull.c: New files. ./configure fails if you use this module and lack "long long". * modules/xstrtoll-tests: New module. * tests/test-xstrtoll.c, tests/test-xstrtoull.c: New files. * tests/test-xstrtoll.sh: Like test-xstrtol.c, but use the new init.sh-based test framework. |