summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-02 00:59:51 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-02 00:59:51 +0000
commit3451e12ee3b1e47223e6c8a574df2b73a7361226 (patch)
treeadc3751de41b12619eacc8fa12ca108ff048da51 /stdlib
parent23d99b3c2f06c83df68e5d9edba138a4bda1f6da (diff)
downloadglibc-3451e12ee3b1e47223e6c8a574df2b73a7361226.tar.gz
glibc-3451e12ee3b1e47223e6c8a574df2b73a7361226.tar.xz
glibc-3451e12ee3b1e47223e6c8a574df2b73a7361226.zip
Update.
2004-01-01  Petter Reinholdtsen  <pere@hungry.com>

	* tst-fmon.data: Add simple test to check left justified currency
	values in the C locale.

	* tst-fmon.sh: Don't print every line.  The program already prints
	the failing ones.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strfmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/strfmon.c b/stdlib/strfmon.c
index 4f16316542..b17dc9823c 100644
--- a/stdlib/strfmon.c
+++ b/stdlib/strfmon.c
@@ -1,5 +1,5 @@
 /* Formatting a monetary value according to the current locale.
-   Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1996-2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Jochen Hein <Jochen.Hein@informatik.TU-Clausthal.de>, 1996.
@@ -570,7 +570,7 @@ __strfmon_l (char *s, size_t maxsize, __locale_t loc, const char *format, ...)
       info.is_long = 0;
       info.alt = 0;
       info.space = 0;
-      info.left = left;
+      info.left = 0;
       info.showsign = 0;
       info.group = group;
       info.pad = pad;