mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
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.
This commit is contained in:
parent
92effacf83
commit
4dd98cad25
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user