summaryrefslogtreecommitdiff
path: root/lib/quotearg.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-07-06 04:31:59 +0000
committerJim Meyering <jim@meyering.net>2000-07-06 04:31:59 +0000
commit98b348bce8e478f5424936c2f5c18f3c542122f1 (patch)
treefcb7bf55073f1ebcbfe18bfa6dd7ecdf99f34846 /lib/quotearg.c
parent78c7d32c2ea87caca70821379054672eb912f2c0 (diff)
downloadcoreutils-98b348bce8e478f5424936c2f5c18f3c542122f1.tar.xz
(struct quoting_options): Simplify quote_these_too dimension.
Diffstat (limited to 'lib/quotearg.c')
-rw-r--r--lib/quotearg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c
index 553a0f0c3..a1ccb3b8f 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -101,8 +101,7 @@ struct quoting_options
/* Quote the characters indicated by this bit vector even if the
quoting style would not normally require them to be quoted. */
- int quote_these_too[((UCHAR_MAX + 1) / INT_BITS
- + ((UCHAR_MAX + 1) % INT_BITS != 0))];
+ int quote_these_too[(UCHAR_MAX / INT_BITS) + 1];
};
/* Names of quoting styles. */