about summary refs log tree commit diff
path: root/localedata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-31 06:57:36 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-31 06:57:36 +0000
commit9e9e0532a493ae3d07b2f4e958d2030f8d937065 (patch)
tree28cc2e87558c3f0595fb8f7d7c3256102a6f272d /localedata
parentb5567b2af66e2be232c0db9bf189424c039465d2 (diff)
downloadglibc-9e9e0532a493ae3d07b2f4e958d2030f8d937065.tar.gz
glibc-9e9e0532a493ae3d07b2f4e958d2030f8d937065.tar.xz
glibc-9e9e0532a493ae3d07b2f4e958d2030f8d937065.zip
Update.
2000-03-29  Geoff Clare  <gwc@unisoft.com>

	* stdlib/strfmon.c: Corrected problems with the code that
	sets default values for [np]_sep_by_space and
	[np]_sign_posn; also the new positive/negative alignment
	code from the previous patch was not quite right for
	[np]_sign_posn = 0.

	* localedata/tst-fmon.data: Changes corresponding to the
	two sets of fixes made to stdlib/strfmon.c.
Diffstat (limited to 'localedata')
-rw-r--r--localedata/tst-fmon.data25
1 files changed, 14 insertions, 11 deletions
diff --git a/localedata/tst-fmon.data b/localedata/tst-fmon.data
index d7e80734d1..f70dea0318 100644
--- a/localedata/tst-fmon.data
+++ b/localedata/tst-fmon.data
@@ -19,7 +19,7 @@
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 # The format of this file is pretty simple: Each line contains a test
-# for strfmon.  Fields are separated by TABs.  Lines that start with a
+# for strfmon.  Fields are seperated by TABs.  Lines that start with a
 # '#' are comments and are ignored.
 #
 # Field Description
@@ -36,8 +36,11 @@ C			%n	0		0.00
 C			%%	0		%
 C			*%n*	1.23		*1.23*
 C			%9n	1.23		     1.23
-C			%#9n	1.23		        1.23
-C			%=*#9n	1.23		********1.23
+C			%9n	-1.23		    -1.23
+C			%#9n	1.23		         1.23
+C			%#9n	-1.23		-        1.23
+C			%=*#9n	1.23		 ********1.23
+C			%=*#9n	-1.23		-********1.23
 #
 # check both the german locale and strfmon with that data
 #
@@ -80,12 +83,12 @@ de_DE.ISO-8859-1	%^#5.0n	3456.781	 DM 3457
 de_DE.ISO-8859-1	%^#5.4n	123.45		 DM  123,4500
 de_DE.ISO-8859-1	%^#5.4n	-123.45		-DM  123,4500
 de_DE.ISO-8859-1	%^#5.4n	3456.781	 DM 3456,7810
-de_DE.ISO-8859-1	%(#5n	123.45		DM   123,45
+de_DE.ISO-8859-1	%(#5n	123.45		 DM   123,45
 de_DE.ISO-8859-1	%(#5n	-123.45		(DM   123,45)
-de_DE.ISO-8859-1	%(#5n	3456.781	DM 3.456,78
-de_DE.ISO-8859-1	%!(#5n	123.45		   123,45
+de_DE.ISO-8859-1	%(#5n	3456.781	 DM 3.456,78
+de_DE.ISO-8859-1	%!(#5n	123.45		    123,45
 de_DE.ISO-8859-1	%!(#5n	-123.45		(   123,45)
-de_DE.ISO-8859-1	%!(#5n	3456.781	 3.456,78
+de_DE.ISO-8859-1	%!(#5n	3456.781	  3.456,78
 #
 # check both the en_US locale and strfmon with that data
 # a lot of this checks are created from a strfmon(3) man-page.
@@ -114,12 +117,12 @@ en_US.ISO-8859-1	%^#5.0n	3456.781	 $ 3457
 en_US.ISO-8859-1	%^#5.4n	123.45		 $  123.4500
 en_US.ISO-8859-1	%^#5.4n	-123.45		-$  123.4500
 en_US.ISO-8859-1	%^#5.4n	3456.781	 $ 3456.7810
-en_US.ISO-8859-1	%(#5n	123.45		$   123.45
+en_US.ISO-8859-1	%(#5n	123.45		 $   123.45
 en_US.ISO-8859-1	%(#5n	-123.45		($   123.45)
-en_US.ISO-8859-1	%(#5n	3456.781	$ 3,456.78
-en_US.ISO-8859-1	%!(#5n	123.45		   123.45
+en_US.ISO-8859-1	%(#5n	3456.781	 $ 3,456.78
+en_US.ISO-8859-1	%!(#5n	123.45		    123.45
 en_US.ISO-8859-1	%!(#5n	-123.45		(   123.45)
-en_US.ISO-8859-1	%!(#5n	3456.781	 3,456.78
+en_US.ISO-8859-1	%!(#5n	3456.781	  3,456.78
 en_US.ISO-8859-1	%#5n	123.45		 $   123.45
 en_US.ISO-8859-1	%#5n	-123.45		-$   123.45
 en_US.ISO-8859-1	%#5n	3456.781	 $ 3,456.78