diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-05-11 23:28:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-05-11 23:28:52 +0000 |
commit | edf205d5ef1528247fde0637572a4631e0f1a5c2 (patch) | |
tree | 9368f153f59da072509167b1ca5adbe07c114b61 /time | |
parent | ef3a0fcdad439948e501e951e8b1055e4971d008 (diff) | |
download | glibc-edf205d5ef1528247fde0637572a4631e0f1a5c2.tar glibc-edf205d5ef1528247fde0637572a4631e0f1a5c2.tar.gz glibc-edf205d5ef1528247fde0637572a4631e0f1a5c2.tar.bz2 glibc-edf205d5ef1528247fde0637572a4631e0f1a5c2.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/time/strftime.c b/time/strftime.c index d9ed3ffe8c..99bf7f6f12 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: |