aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-08 22:43:16 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-08 22:43:16 +0000
commitd364e525a1366c30a63dad05d3287f4ee775612b (patch)
treefd0bbba6c658ae6232c2430d1cc0fcd9195b4f40 /locale
parent91933d2372559ae8986c703efd4561f489ce697b (diff)
downloadglibc-d364e525a1366c30a63dad05d3287f4ee775612b.zip
glibc-d364e525a1366c30a63dad05d3287f4ee775612b.tar.gz
glibc-d364e525a1366c30a63dad05d3287f4ee775612b.tar.bz2
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.c23
1 files changed, 6 insertions, 17 deletions
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
index 36dd0cd..6237094 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;
}
}