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.467 2004/05/28 13:09:46 grubba Exp $ + || $Id: builtin_functions.c,v 1.468 2004/07/08 08:38:04 grubba Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.467 2004/05/28 13:09:46 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.468 2004/07/08 08:38:04 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:4363:   #endif /* STRUCT_TM_HAS_GMTOFF */    }       if ((args > 6) && (Pike_sp[6-args].subtype == NUMBER_NUMBER) &&    (Pike_sp[6-args].u.integer != -1) &&    (Pike_sp[6-args].u.integer != date.tm_isdst)) {    /* 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 */ - #ifdef HAVE_GMTIME */ + #ifdef HAVE_GMTIME    }   #endif /* HAVE_GMTIME */       pop_n_elems(args);    push_int(retval);   }      #endif      /* Parse a sprintf/sscanf-style format string */