pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.116 2001/03/22 02:21:15 hubbe Exp $"); + RCSID("$Id: main.c,v 1.117 2001/03/23 01:05:42 grubba 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:141:   int dbm_main(int argc, char **argv)   {    JMP_BUF back;    int e, num, do_backend;    char *p;    struct array *a;   #ifdef DECLARE_ENVIRON    extern char **environ;   #endif    +  /* 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 */ +    #ifdef TRY_USE_MMX    try_use_mmx=mmx_ok();   #endif   #ifdef OWN_GETHRTIME   /* initialize our own gethrtime conversion /Mirar */    own_gethrtime_init();   #endif       ARGV=argv;