mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-17 09:06:50 +02:00
Sync with gnulib.
This commit is contained in:
@@ -450,8 +450,6 @@ humblock (char const *spec, uintmax_t *block_size, int *options)
|
||||
"eEgGkKmMpPtTyYzZ0");
|
||||
if (e != LONGINT_OK)
|
||||
return e;
|
||||
if (*ptr)
|
||||
return LONGINT_INVALID_SUFFIX_CHAR;
|
||||
for (; ! ('0' <= *spec && *spec <= '9'); spec++)
|
||||
if (spec == ptr)
|
||||
{
|
||||
|
||||
@@ -30,4 +30,8 @@
|
||||
#define __strtol strtoimax
|
||||
#define __strtol_t intmax_t
|
||||
#define __xstrtol xstrtoimax
|
||||
#ifdef INTMAX_MAX
|
||||
# define STRTOL_T_MINIMUM INTMAX_MIN
|
||||
# define STRTOL_T_MAXIMUM INTMAX_MAX
|
||||
#endif
|
||||
#include "xstrtol.c"
|
||||
|
||||
Reference in New Issue
Block a user