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.118 2001/03/25 20:44:06 grubba Exp $"); + RCSID("$Id: main.c,v 1.119 2001/03/28 10:02:41 hubbe 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:150:       /* 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 */    +  init_pike_cpulib(); +    #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;       fd_init(); -  +  { +  extern void init_mapping_blocks(void); +  extern void init_callable_blocks(void); +  extern void init_gc_frame_blocks(void); +  extern void init_pike_frame_blocks(void); +  extern void init_node_s_blocks(void); +  extern void init_object_blocks(void); +  extern void init_callback_blocks(void);    -  +  init_mapping_blocks(); +  init_callable_blocks(); +  init_gc_frame_blocks(); +  init_pike_frame_blocks(); +  init_node_s_blocks(); +  init_object_blocks(); +  init_callback_blocks(); +  } +    #ifdef SHARED_NODES    node_hash.table = malloc(sizeof(node *)*32831);    if (!node_hash.table) {    fatal("Out of memory!\n");    }    MEMSET(node_hash.table, 0, sizeof(node *)*32831);    node_hash.size = 32831;   #endif /* SHARED_NODES */      #ifdef HAVE_SETLOCALE