Branch: Tag:

2001-12-03

2001-12-03 14:19:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved fix for [bug 2584 (#2584)].

Rev: src/builtin_functions.c:1.414

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.413 2001/12/03 13:29:13 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.414 2001/12/03 14:19:56 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
4097: Inside #if defined(HAVE_MKTIME) and #if STRUCT_TM_HAS_GMTOFF
   date.tm_gmtoff=Pike_sp[7-args].u.integer;    }else{    time_t tmp = 0; -  data.tm_gmtoff=localtime(&tmp)->tm_gmtoff; +  date.tm_gmtoff=localtime(&tmp)->tm_gmtoff;    }    retval=mktime(&date);   #else