aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-05-11 23:28:52 +0000
committerUlrich Drepper <drepper@redhat.com>2003-05-11 23:28:52 +0000
commitedf205d5ef1528247fde0637572a4631e0f1a5c2 (patch)
tree9368f153f59da072509167b1ca5adbe07c114b61 /time
parentef3a0fcdad439948e501e951e8b1055e4971d008 (diff)
downloadglibc-edf205d5ef1528247fde0637572a4631e0f1a5c2.zip
glibc-edf205d5ef1528247fde0637572a4631e0f1a5c2.tar.gz
glibc-edf205d5ef1528247fde0637572a4631e0f1a5c2.tar.bz2
Update.
* io/Makefile ($(objpfx)ftwtest.out): Use absolute file names. 2003-05-11 Ulrich Drepper <drepper@redhat.com> * time/tst-strftime.c (do_test): Add tests for - flag. 2003-05-11 Jim Meyering <jim@meyering.net> * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect the space-padded-by-default conversion specifiers, %e, %k, %l. 2003-05-11 Andreas Schwab <schwab@suse.de>
Diffstat (limited to 'time')
-rw-r--r--time/strftime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/strftime.c b/time/strftime.c
index d9ed3ff..99bf7f6 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -977,8 +977,8 @@ my_strftime (s, maxsize, format, tp ut_argument LOCALE_PARAM)
jump to one of these two labels. */
do_number_spacepad:
- /* Force `_' flag unless overwritten by `0' flag. */
- if (pad != L_('0'))
+ /* Force `_' flag unless overwritten by `0' or '-' flag. */
+ if (pad != L_('0') && pad != L_('-'))
pad = L_('_');
do_number: