mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
newlib: strftime: fix over-enthusiastic fix from 0283642f35ce
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;
|
||||
return buf;
|
||||
}
|
||||
# define _ctloc(x) (ctloc = __ctloc (ctlocbuf, _CurrentTimeLocale->x))
|
||||
# define _ctloc(x) (ctloc = __ctloc (ctlocbuf, _CurrentTimeLocale->x, \
|
||||
&ctloclen))
|
||||
# endif
|
||||
#endif /* MAKE_WCSFTIME */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user