about summary refs log tree commit diff
diff options
context:
space:
mode:
-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_('+'):