diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-08 22:43:16 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-08 22:43:16 +0000 |
commit | d364e525a1366c30a63dad05d3287f4ee775612b (patch) | |
tree | fd0bbba6c658ae6232c2430d1cc0fcd9195b4f40 /locale | |
parent | 91933d2372559ae8986c703efd4561f489ce697b (diff) | |
download | glibc-d364e525a1366c30a63dad05d3287f4ee775612b.tar.gz |
Update.
2000-08-08 Ulrich Drepper <drepper@redhat.com>
* locale/linereader.c (get_string): Don't print an error is a string
contains an unknown character.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/linereader.c | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c index 36dd0cd2d0..6237094f07 100644 --- a/locale/programs/linereader.c +++ b/locale/programs/linereader.c @@ -703,29 +703,18 @@ non-symbolic character value should not be used")); symbol = repertoire_find_symbol (repertoire, wch); if (symbol == NULL) - { - /* We cannot generate a string since we - cannot map from the Unicode number to the - character symbol. */ - lr_error (lr, _("\ -character <U%0*X> not in repertoire map"), - wch > 0xffff ? 8 : 4, wch); - - illegal_string = 1; - } + /* We cannot generate a string since we + cannot map from the Unicode number to the + character symbol. */ + illegal_string = 1; else { seq = charmap_find_value (charmap, symbol, strlen (symbol)); if (seq == NULL) - { - /* Not a known name. */ - lr_error (lr, - _("symbol `%s' not in charmap"), - symbol); - illegal_string = 1; - } + /* Not a known name. */ + illegal_string = 1; } } |