diff options
author | Jim Meyering <jim@meyering.net> | 1995-03-21 01:43:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-03-21 01:43:35 +0000 |
commit | c70ee3bf4adbc79d4e7dd99b8e7fc282079fbcfd (patch) | |
tree | 575c672eb30e4822c650706d4a7a04080e07cd1a /lib | |
parent | 429a8df30ab685c55afdccff38aaf7bb4d91cb3c (diff) | |
download | coreutils-c70ee3bf4adbc79d4e7dd99b8e7fc282079fbcfd.tar.xz |
merge with 1.11.d
Diffstat (limited to 'lib')
-rw-r--r-- | lib/memchr.c | 2 | ||||
-rw-r--r-- | lib/xstrtol.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/memchr.c b/lib/memchr.c index 71b1ab5f6..57f99735f 100644 --- a/lib/memchr.c +++ b/lib/memchr.c @@ -100,7 +100,7 @@ memchr (s, c, n) charmask = c | (c << 8); charmask |= charmask << 16; #if LONG_MAX > LONG_MAX_32_BITS - charmask |= charmask << 32; + charmask |= charmask << 32; #endif /* Instead of the traditional loop which tests each character, diff --git a/lib/xstrtol.h b/lib/xstrtol.h index bebeca3b6..fd0c97f63 100644 --- a/lib/xstrtol.h +++ b/lib/xstrtol.h @@ -49,6 +49,7 @@ strtol_error break; \ \ case LONGINT_OVERFLOW: \ + /* FIXME: make this message dependent on STRING_TO_UNSIGNED */\ error ((exit_code), 0, "%s `%s' larger than maximum long int",\ (argument_type_string), (str)); \ break; \ |