From 8b682b9907ad1d60bdd45431e0e3bbdf358837ec Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Jun 2000 00:26:21 +0000 Subject: Update. * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format. * iconvdata/gen-8bit-gap.sh: Likewise. * iconvdata/gen-8bit.sh: Likewise. * iconv/gconv_open.c (__gconv_open): Move comment to correct position. * locale/programs/ld-collate.c (collate_read): Don't actually read the copy locale if we are ignoring the content. * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from Jens Moeller . --- locale/programs/ld-collate.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'locale/programs/ld-collate.c') diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index 205cf966f2..73a186df26 100644 --- a/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c @@ -2696,14 +2696,17 @@ collate_read (struct linereader *ldfile, struct localedef_t *result, return; } - /* Get the locale definition. */ - copy_locale = load_locale (LC_COLLATE, now->val.str.startmb, - repertoire_name, charmap, NULL); - if ((copy_locale->avail & COLLATE_LOCALE) == 0) + if (! ignore_content) { - /* Not yet loaded. So do it now. */ - if (locfile_read (copy_locale, charmap) != 0) - goto skip_category; + /* Get the locale definition. */ + copy_locale = load_locale (LC_COLLATE, now->val.str.startmb, + repertoire_name, charmap, NULL); + if ((copy_locale->avail & COLLATE_LOCALE) == 0) + { + /* Not yet loaded. So do it now. */ + if (locfile_read (copy_locale, charmap) != 0) + goto skip_category; + } } lr_ignore_rest (ldfile, 1); -- cgit 1.4.1