Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2018-08-09 00:59:16 +0300
committerCorinna Vinschen <corinna@vinschen.de>2018-08-09 00:59:34 +0300
commitb9dab9f4c67471faf5c93726eb10573c2c398c51 (patch)
treebe1ff1c86f5b777a53c7d76e57ae957f5e0d3a32 /newlib/libc/time
parentfddc74d12bf7f765c04c3182a7237ecf23893d27 (diff)
newlib: strftime: fix over-enthusiastic fix from 0283642f35ce
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/time')
-rw-r--r--newlib/libc/time/strftime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/time/strftime.c b/newlib/libc/time/strftime.c
index 429ae99ac..9c884dca9 100644
--- a/newlib/libc/time/strftime.c
+++ b/newlib/libc/time/strftime.c
@@ -327,7 +327,8 @@ locale, hard-coding the "C" locale settings.
*len_ret = 0;
return buf;
}
-# define _ctloc(x) (ctloc = __ctloc (ctlocbuf, _CurrentTimeLocale->x))
+# define _ctloc(x) (ctloc = __ctloc (ctlocbuf, _CurrentTimeLocale->x, \
+ &ctloclen))
# endif
#endif /* MAKE_WCSFTIME */