Mercurial > hg > octave-lyh > gnulib-hg
changeset 2923:f7490ca529b7
Update from libc.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 26 Oct 2000 08:08:06 +0000 |
parents | 0b1c71aeaef9 |
children | 8bc1c4ac3150 |
files | lib/strftime.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/strftime.c +++ b/lib/strftime.c @@ -457,8 +457,7 @@ 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 @@ 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)