From 643e9936eb83f4c7431072ab60a207de35d382f1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 18 Nov 1999 16:25:42 +0000 Subject: Update. 1999-11-18 Ulrich Drepper * locale/programs/locale.c: Don't handle LC_ALL together with the other categories when printing the value. Patch by Akira YOSHIYAMA . * locale/locale.h: Correct comment about LC_ALL. --- locale/programs/locale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'locale/programs/locale.c') diff --git a/locale/programs/locale.c b/locale/programs/locale.c index 775500e44f..36f253aebc 100644 --- a/locale/programs/locale.c +++ b/locale/programs/locale.c @@ -547,7 +547,8 @@ show_locale_vars (void) /* Now all categories in an unspecified order. */ for (cat_no = 0; cat_no < NCATEGORIES; ++cat_no) - get_source (category[cat_no].name); + if (cat_no != LC_ALL) + get_source (category[cat_no].name); /* The last is the LC_ALL value. */ printf ("LC_ALL=%s\n", lcall ? : ""); -- cgit 1.4.1