projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cb0e9ba
)
merge with 1.11.d
author
Jim Meyering
<jim@meyering.net>
Tue, 21 Mar 1995 01:43:35 +0000
(
01:43
+0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 21 Mar 1995 01:43:35 +0000
(
01:43
+0000)
lib/memchr.c
patch
|
blob
|
history
lib/xstrtol.h
patch
|
blob
|
history
diff --git
a/lib/memchr.c
b/lib/memchr.c
index
71b1ab5
..
57f9973
100644
(file)
--- 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
bebeca3
..
fd0c97f
100644
(file)
--- 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; \