From 1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 29 Aug 2000 04:18:58 +0000 Subject: [PATCH] Update. 2000-08-28 Ulrich Drepper * time/strftime.c (my_strftime): Handle # flag for %b as well. --- ChangeLog | 4 ++++ time/strftime.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index a7d614f..70c0b6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-08-28 Ulrich Drepper + + * time/strftime.c (my_strftime): Handle # flag for %b as well. + 2000-08-27 H.J. Lu * posix/Makefile (otherlibs): Add for building with static-nss diff --git a/time/strftime.c b/time/strftime.c index c8334d9..abda62b 100644 --- a/time/strftime.c +++ b/time/strftime.c @@ -746,6 +746,11 @@ my_strftime (s, maxsize, format, tp ut_argument) case L_('b'): case L_('h'): /* POSIX.2 extension. */ + if (change_case) + { + to_uppcase = 1; + to_lowcase = 0; + } if (modifier != 0) goto bad_format; #if defined _NL_CURRENT || !HAVE_STRFTIME -- 2.7.4