summary refs log tree commit diff
path: root/locale/programs/ld-numeric.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-29 08:10:00 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-29 08:10:00 +0000
commitaec103d3b709db3103ef0cf54692350dbe2a5e2c (patch)
treee32e10135f902eb218ece236f89be4ed0f3bdf26 /locale/programs/ld-numeric.c
parent710832e5a2266a917e38796f4289d7ccb0588be6 (diff)
downloadglibc-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/programs/ld-numeric.c')
-rw-r--r--locale/programs/ld-numeric.c2
1 files changed, 1 insertions, 1 deletions
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);   \