aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-08 18:17:51 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-08 18:17:51 +0000
commitba5566a77e004c78555d7c319738be6d49be6f2d (patch)
treec7d01f7a70ce4bad563645f2bcdd47e40e9edd23
parent3cc419843db4981fd58d2e506f86540406f4fa92 (diff)
downloadglibc-ba5566a77e004c78555d7c319738be6d49be6f2d.zip
glibc-ba5566a77e004c78555d7c319738be6d49be6f2d.tar.gz
glibc-ba5566a77e004c78555d7c319738be6d49be6f2d.tar.bz2
Update.
2001-08-08 Ulrich Drepper <drepper@redhat.com> * 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.
-rw-r--r--ChangeLog6
-rw-r--r--locale/programs/ld-messages.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f57e8a..b2a86c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-08 Ulrich Drepper <drepper@redhat.com>
+
+ * 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.
+
2001-08-08 Andreas Jaeger <aj@suse.de>
* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
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')
{