diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-01-29 08:10:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-01-29 08:10:00 +0000 |
commit | aec103d3b709db3103ef0cf54692350dbe2a5e2c (patch) | |
tree | e32e10135f902eb218ece236f89be4ed0f3bdf26 /locale | |
parent | 710832e5a2266a917e38796f4289d7ccb0588be6 (diff) | |
download | glibc-aec103d3b709db3103ef0cf54692350dbe2a5e2c.tar.gz glibc-aec103d3b709db3103ef0cf54692350dbe2a5e2c.tar.xz glibc-aec103d3b709db3103ef0cf54692350dbe2a5e2c.zip |
Update.
2000-01-29 Ulrich Drepper <drepper@redhat.com> * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too long string in definition. * locale/programs/ld-numeric.c (STR_ELEM): Likewise. * configure.in: Add check for recent enough sed version.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/ld-monetary.c | 2 | ||||
-rw-r--r-- | locale/programs/ld-numeric.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/ld-monetary.c b/locale/programs/ld-monetary.c index 2b2ac63397..b9838834af 100644 --- a/locale/programs/ld-monetary.c +++ b/locale/programs/ld-monetary.c @@ -708,7 +708,7 @@ monetary_read (struct linereader *ldfile, struct localedef_t *result, monetary->cat = ""; \ monetary->cat##_wc = L'\0'; \ } \ - else if (now->val.str.startwc != NULL && now->val.str.lenwc > 1) \ + else if (now->val.str.startwc != NULL && now->val.str.lenwc > 2) \ { \ lr_error (ldfile, _("\ %s: value for field `%s' must be a single character"), "LC_MONETARY", #cat); \ diff --git a/locale/programs/ld-numeric.c b/locale/programs/ld-numeric.c index d7cec903a8..ffd85d5623 100644 --- a/locale/programs/ld-numeric.c +++ b/locale/programs/ld-numeric.c @@ -258,7 +258,7 @@ numeric_read (struct linereader *ldfile, struct localedef_t *result, numeric->cat = ""; \ numeric->cat##_wc = L'\0'; \ } \ - else if (now->val.str.startwc != NULL && now->val.str.lenwc > 1) \ + else if (now->val.str.startwc != NULL && now->val.str.lenwc > 2) \ { \ lr_error (ldfile, _("\ %s: value for field `%s' must be a single character"), "LC_NUMERIC", #cat); \ |