From ba5566a77e004c78555d7c319738be6d49be6f2d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 8 Aug 2001 18:17:51 +0000 Subject: Update. 2001-08-08 Ulrich Drepper * locale/programs/ld-messages.c (messages_finish): Provide POSIX locale compliant default values for fields without definition. * locale/programs/ld-time.c (time_finish): Likewise. --- locale/programs/ld-messages.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'locale/programs/ld-messages.c') diff --git a/locale/programs/ld-messages.c b/locale/programs/ld-messages.c index 6bd9f3a..48c63e2 100644 --- a/locale/programs/ld-messages.c +++ b/locale/programs/ld-messages.c @@ -113,7 +113,7 @@ messages_finish (struct localedef_t *locale, struct charmap_t *charmap) { if (! be_quiet && ! nothing) error (0, 0, _("%s: field `%s' undefined"), "LC_MESSAGES", "yesexpr"); - messages->yesexpr = ""; + messages->yesexpr = "^[yY]"; } else if (messages->yesexpr[0] == '\0') { @@ -146,7 +146,7 @@ messages_finish (struct localedef_t *locale, struct charmap_t *charmap) { if (! be_quiet && ! nothing) error (0, 0, _("%s: field `%s' undefined"), "LC_MESSAGES", "noexpr"); - messages->noexpr = ""; + messages->noexpr = "^[nN]"; } else if (messages->noexpr[0] == '\0') { -- cgit v1.1