From edf205d5ef1528247fde0637572a4631e0f1a5c2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 11 May 2003 23:28:52 +0000 Subject: Update. * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names. 2003-05-11 Ulrich Drepper * time/tst-strftime.c (do_test): Add tests for - flag. 2003-05-11 Jim Meyering * 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 --- time/strftime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'time/strftime.c') 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: -- cgit v1.1