pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2002-10-15
2002-10-15 14:57:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>
00bf5c027d70a5a8283590e6ebd3852c2553694d (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.2
Even more mktime() fixes.
Rev: src/builtin_functions.c:1.366
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
365
2002/10/15
13
:
59
:
12
grubba Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
366
2002/10/15
14
:
57
:
38
grubba Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
4222:
#endif /* STRUCT_TM_HAS___TM_GMTOFF */ #endif /* STRUCT_TM_HAS_GMTOFF */ }
-
#endif /* STRUCT_TM_HAS_GMTOFF || STRUCT_TM_HAS___TM_GMTOFF */
+
if ((args > 6) && (Pike_sp[6-args].subtype == NUMBER_NUMBER) && (Pike_sp[6-args].u.integer != -1) &&
4230:
/* Some stupid libc's (Hi Linux!) don't accept that we've set isdst... */ retval += 3600 * (Pike_sp[6-args].u.integer - date.tm_isdst); }
+
#endif /* STRUCT_TM_HAS_GMTOFF || STRUCT_TM_HAS___TM_GMTOFF */
pop_n_elems(args); push_int(retval);