pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin_functions.c,v 1.525 2004/01/30 16:17:57 grubba Exp $ + || $Id: builtin_functions.c,v 1.526 2004/01/30 19:45:42 grubba Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.525 2004/01/30 16:17:57 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.526 2004/01/30 19:45:42 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"   #include "constants.h"   #include "mapping.h"   #include "stralloc.h"
pike.git/src/builtin_functions.c:4512: Inside #if defined(HAVE_MKTIME)
   }    }       if ((args > 6) && (Pike_sp[6-args].subtype == NUMBER_NUMBER))    {    date.tm_isdst = Pike_sp[6-args].u.integer;    } else {    date.tm_isdst = -1;    }    -  date.tm_zone = NULL; +  /* date.tm_zone = NULL; */      #ifdef HAVE_GMTIME    if((args > 7) && (Pike_sp[7-args].subtype == NUMBER_NUMBER))    {    /* UTC-relative time. Use my_timegm(). */    retval = my_timegm(&date);    if (retval == -1)    PIKE_ERROR("mktime", "Cannot convert.\n", Pike_sp, args);    retval += Pike_sp[7-args].u.integer;    } else {