projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
quotearg: don't attempt to store 1 << 31 into an "int"
[gnulib.git]
/
lib
/
quotearg.c
diff --git
a/lib/quotearg.c
b/lib/quotearg.c
index
40114d7
..
e280e6e
100644
(file)
--- a/
lib/quotearg.c
+++ b/
lib/quotearg.c
@@
-626,7
+626,7
@@
quotearg_buffer_restyled (char *buffer, size_t buffersize,
if (! ((backslash_escapes || elide_outer_quotes)
&& quote_these_too
- && quote_these_too[c / INT_BITS]
& (1 << (c % INT_BITS))
)
+ && quote_these_too[c / INT_BITS]
>> (c % INT_BITS) & 1
)
&& !is_right_quote)
goto store_c;