about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-20 05:23:03 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-20 05:23:03 +0000
commit6324a838a3620367b54b76571ed4ca315d1e2ca6 (patch)
treeb35b28f920c619efa62d955c9356391ff4109185
parent602b6b0fe4976bbb17347fda33e6feac88b91906 (diff)
downloadglibc-6324a838a3620367b54b76571ed4ca315d1e2ca6.tar.gz
glibc-6324a838a3620367b54b76571ed4ca315d1e2ca6.tar.xz
glibc-6324a838a3620367b54b76571ed4ca315d1e2ca6.zip
Update.
1999-11-18  Paul Eggert  <eggert@twinsun.com>

	* time/strftime.c (my_strftime): Some old compilers object to
	'\a', so don't bother optimizing for it.
-rw-r--r--ChangeLog5
-rw-r--r--time/strftime.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 08a8ea9ed9..5daab0a033 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-11-18  Paul Eggert  <eggert@twinsun.com>
+
+	* time/strftime.c (my_strftime): Some old compilers object to
+	'\a', so don't bother optimizing for it.
+
 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
 
 	* sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
diff --git a/time/strftime.c b/time/strftime.c
index 3c8cfeed17..7de2e84c50 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -568,7 +568,7 @@ my_strftime (s, maxsize, format, tp ut_argument)
 	case L_('%'):
 	  break;
 
-	case L_('\a'): case L_('\b'): case L_('\t'): case L_('\n'):
+	case L_('\b'): case L_('\t'): case L_('\n'):
 	case L_('\v'): case L_('\f'): case L_('\r'):
 	case L_(' '): case L_('!'): case L_('"'): case L_('#'): case L_('&'):
 	case L_('\''): case L_('('): case L_(')'): case L_('*'): case L_('+'):