From 4dd98cad25d78b93e58b4321a3342e78b673be15 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 9 Jan 2001 17:54:30 +0000 Subject: [PATCH] Update. 2001-01-09 Ulrich Drepper * time/strftime.c (my_strftime): Mark previous GNU extensions which are now in C99 as such. --- ChangeLog | 5 +++++ time/strftime.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 85e04cc..22763e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-01-09 Ulrich Drepper + + * time/strftime.c (my_strftime): Mark previous GNU extensions + which are now in C99 as such. + 2001-01-08 Ulrich Drepper * elf/rtld.c (process_envvars): Place output files for profiling diff --git a/time/strftime.c b/time/strftime.c index 08b5b49..306c933 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; -- 2.7.4