pike.git / src / main.c

version» Context lines:

pike.git/src/main.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: main.c,v 1.185 2003/11/14 10:13:39 mast Exp $ + || $Id: main.c,v 1.186 2003/11/27 19:57:35 mast Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.185 2003/11/14 10:13:39 mast Exp $"); + RCSID("$Id: main.c,v 1.186 2003/11/27 19:57:35 mast Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "language.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/main.c:42:   #ifdef AUTO_BIGNUM   #include "bignum.h"   #endif      #if defined(__linux__) && defined(HAVE_DLOPEN) && defined(HAVE_DLFCN_H)   #include <dlfcn.h>   #endif      #include "las.h"    + #include <unistd.h>   #include <errno.h>      #ifdef HAVE_LOCALE_H   #include <locale.h>   #endif      #include "time_stuff.h"      #ifdef HAVE_SYS_RESOURCE_H   #include <sys/resource.h>
pike.git/src/main.c:194:    JMP_BUF back;    int e, num;    char *p;    struct array *a;   #ifdef DECLARE_ENVIRON    extern char **environ;   #endif       TRACE((stderr, "dbm_main()\n"));    +  init_rusage(); +     /* Attempt to make sure stderr is unbuffered. */   #ifdef HAVE_SETVBUF    setvbuf(stderr, NULL, _IONBF, 0);   #else /* !HAVE_SETVBUF */   #ifdef HAVE_SETBUF    setbuf(stderr, NULL);   #endif /* HAVE_SETBUF */   #endif /* HAVE_SETVBUF */       TRACE((stderr, "Init CPU lib...\n"));