From 49ac3c60d066f995d43f367fa527d5c353b3a3ae Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 26 Oct 2000 08:08:06 +0000 Subject: Update from libc. --- lib/strftime.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/strftime.c b/lib/strftime.c index c3b214860..e10a87c78 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -457,8 +457,7 @@ static CHAR_T const month_name[][10] = return _strftime_copytm (s, maxsize, format, &tmcopy ut_argument); } # undef my_strftime -# define my_strftime(S, Maxsize, Format, Tp) \ - _strftime_copytm (S, Maxsize, Format, Tp) +# define my_strftime _strftime_copytm #endif @@ -801,8 +800,10 @@ my_strftime (s, maxsize, format, tp ut_argument) subformat: { CHAR_T *old_start = p; - size_t len = my_strftime (NULL, (size_t) -1, subfmt, tp); - add (len, my_strftime (p, maxsize - i, subfmt, tp)); + size_t len = my_strftime (NULL, (size_t) -1, subfmt, + tp ut_argument); + add (len, my_strftime (p, maxsize - i, subfmt, + tp ut_argument)); if (to_uppcase) while (old_start < p) -- cgit v1.2.3-70-g09d2