about summary refs log tree commit diff
path: root/locale/programs/ld-monetary.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-monetary.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-monetary.c')
-rw-r--r--locale/programs/ld-monetary.c2
1 files changed, 1 insertions, 1 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);  \