newlib: strftime: fix over-enthusiastic fix from 0283642f35
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
fddc74d12b
commit
b9dab9f4c6
|
@ -327,7 +327,8 @@ locale, hard-coding the "C" locale settings.
|
||||||
*len_ret = 0;
|
*len_ret = 0;
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
# define _ctloc(x) (ctloc = __ctloc (ctlocbuf, _CurrentTimeLocale->x))
|
# define _ctloc(x) (ctloc = __ctloc (ctlocbuf, _CurrentTimeLocale->x, \
|
||||||
|
&ctloclen))
|
||||||
# endif
|
# endif
|
||||||
#endif /* MAKE_WCSFTIME */
|
#endif /* MAKE_WCSFTIME */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue