diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-25 20:26:58 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-25 20:26:58 +0000 |
commit | 45a9eda2f9b8245d1586ceb51bb3543fc2a2a9f6 (patch) | |
tree | c4c63c0ac2f40bc6af4f7a4803d7de6348e2f557 /locale/programs/ld-address.c | |
parent | 7508aab40ac00f7b0e6c6b42b42f3100bf73554b (diff) | |
download | glibc-45a9eda2f9b8245d1586ceb51bb3543fc2a2a9f6.zip glibc-45a9eda2f9b8245d1586ceb51bb3543fc2a2a9f6.tar.gz glibc-45a9eda2f9b8245d1586ceb51bb3543fc2a2a9f6.tar.bz2 |
Update.
* locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
unknown character.
Diffstat (limited to 'locale/programs/ld-address.c')
-rw-r--r-- | locale/programs/ld-address.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/programs/ld-address.c b/locale/programs/ld-address.c index d440b36..e35305d 100644 --- a/locale/programs/ld-address.c +++ b/locale/programs/ld-address.c @@ -520,7 +520,8 @@ address_read (struct linereader *ldfile, struct localedef_t *result, if (address->cat != NULL) \ lr_error (ldfile, _("\ %s: field `%s' declared more than once"), "LC_ADDRESS", #cat); \ - else if (!ignore_content && arg->val.str.startmb == NULL) \ + else if (!ignore_content && arg->tok == tok_string \ + && arg->val.str.startmb == NULL) \ { \ lr_error (ldfile, _("\ %s: unknown character in field `%s'"), "LC_ADDRESS", #cat); \ |