pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2017-04-20
2017-04-20 14:19:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>
7c768115ae700887148e832a645e0263174e395f (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
8.1
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);