summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/ld-ctype.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index 36fd08ba80..e6105928da 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -3148,11 +3148,12 @@ set_class_defaults (struct locale_ctype_t *ctype,
the keywords `upper', `lower', `alpha', `digit', `xdigit' and `punct',
shall belong to this character class." [P1003.2, 2.5.2.1] */
{
- unsigned long int mask = BIT (tok_upper) | BIT (tok_lower) |
- BIT (tok_alpha) | BIT (tok_digit) | BIT (tok_xdigit) | BIT (tok_punct);
- unsigned long int maskw = BITw (tok_upper) | BITw (tok_lower) |
- BITw (tok_alpha) | BITw (tok_digit) | BITw (tok_xdigit) |
- BITw (tok_punct);
+ unsigned long int mask = BIT (tok_upper) | BIT (tok_lower)
+ | BIT (tok_alpha) | BIT (tok_digit) | BIT (tok_xdigit)
+ | BIT (tok_punct);
+ unsigned long int maskw = BITw (tok_upper) | BITw (tok_lower)
+ | BITw (tok_alpha) | BITw (tok_digit) | BITw (tok_xdigit)
+ | BITw (tok_punct);
for (size_t cnt = 0; cnt < ctype->class_collection_act; ++cnt)
if ((ctype->class_collection[cnt] & maskw) != 0)
@@ -3169,11 +3170,12 @@ set_class_defaults (struct locale_ctype_t *ctype,
and the <space> character shall belong to this character class."
[P1003.2, 2.5.2.1] */
{
- unsigned long int mask = BIT (tok_upper) | BIT (tok_lower) |
- BIT (tok_alpha) | BIT (tok_digit) | BIT (tok_xdigit) | BIT (tok_punct);
- unsigned long int maskw = BITw (tok_upper) | BITw (tok_lower) |
- BITw (tok_alpha) | BITw (tok_digit) | BITw (tok_xdigit) |
- BITw (tok_punct);
+ unsigned long int mask = BIT (tok_upper) | BIT (tok_lower)
+ | BIT (tok_alpha) | BIT (tok_digit) | BIT (tok_xdigit)
+ | BIT (tok_punct);
+ unsigned long int maskw = BITw (tok_upper) | BITw (tok_lower)
+ | BITw (tok_alpha) | BITw (tok_digit) | BITw (tok_xdigit)
+ | BITw (tok_punct);
struct charseq *seq;
for (size_t cnt = 0; cnt < ctype->class_collection_act; ++cnt)