about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-29 04:18:58 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-29 04:18:58 +0000
commit1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c (patch)
tree0615c264583cc878c9f7b6469a06899cb8c02f3e
parent8f3f1e09bf1ac08cc3b0c7978a25c5727799a254 (diff)
downloadglibc-1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c.tar.gz
glibc-1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c.tar.xz
glibc-1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c.zip
Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* time/strftime.c (my_strftime): Handle # flag for %b as well.
-rw-r--r--ChangeLog4
-rw-r--r--time/strftime.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a7d614fbfb..70c0b6cf09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-28  Ulrich Drepper  <drepper@redhat.com>
+
+	* time/strftime.c (my_strftime): Handle # flag for %b as well.
+
 2000-08-27  H.J. Lu  <hjl@gnu.org>
 
 	* posix/Makefile (otherlibs): Add for building with static-nss
diff --git a/time/strftime.c b/time/strftime.c
index c8334d95fb..abda62b4a4 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