Branch: Tag:

2017-04-20

2017-04-20 14:19:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed C99-ism.

412:    {    FIX_THIS();    { -  int maxsize = 26; -  char s[maxsize]; -  if( !strftime(s, maxsize, "%c", &THIS->t) ) + #define STRFTIME_MAXSIZE 26 +  char s[STRFTIME_MAXSIZE]; +  if( !strftime(s, STRFTIME_MAXSIZE, "%c", &THIS->t) )    push_undefined();    else    push_text(s);