diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-09 17:54:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-09 17:54:30 +0000 |
commit | 4dd98cad25d78b93e58b4321a3342e78b673be15 (patch) | |
tree | aa8e582dbcea92acc96189f59fc02217df318d69 | |
parent | 92effacf83a28fc89eb1b04d23a32e1d015f0613 (diff) | |
download | glibc-4dd98cad25d78b93e58b4321a3342e78b673be15.tar.gz glibc-4dd98cad25d78b93e58b4321a3342e78b673be15.tar.xz glibc-4dd98cad25d78b93e58b4321a3342e78b673be15.zip |
Update.
2001-01-09 Ulrich Drepper <drepper@redhat.com> * time/strftime.c (my_strftime): Mark previous GNU extensions which are now in C99 as such.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | time/strftime.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 85e04ccf5f..22763e6210 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-01-09 Ulrich Drepper <drepper@redhat.com> + + * time/strftime.c (my_strftime): Mark previous GNU extensions + which are now in C99 as such. + 2001-01-08 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (process_envvars): Place output files for profiling diff --git a/time/strftime.c b/time/strftime.c index 08b5b498a6..306c9331d3 100644 --- a/time/strftime.c +++ b/time/strftime.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991-1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -1066,7 +1066,7 @@ my_strftime (s, maxsize, format, tp ut_argument) goto underlying_strftime; #endif - case L_('R'): /* GNU extension. */ + case L_('R'): /* ISO C99 extension. */ subfmt = L_("%H:%M"); goto subformat; @@ -1159,8 +1159,8 @@ my_strftime (s, maxsize, format, tp ut_argument) DO_NUMBER (2, (tp->tm_yday - tp->tm_wday + 7) / 7); case L_('V'): - case L_('g'): /* GNU extension. */ - case L_('G'): /* GNU extension. */ + case L_('g'): /* ISO C99 extension. */ + case L_('G'): /* ISO C99 extension. */ if (modifier == L_('E')) goto bad_format; { @@ -1284,7 +1284,7 @@ my_strftime (s, maxsize, format, tp ut_argument) #endif break; - case L_('z'): /* GNU extension. */ + case L_('z'): /* ISO C99 extension. */ if (tp->tm_isdst < 0) break; |