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.225 2006/07/05 00:37:18 mast Exp $ + || $Id: main.c,v 1.226 2007/05/17 12:26:50 grubba Exp $   */      #include "global.h"   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"
pike.git/src/main.c:240:    }   #endif /* LIBPIKE */   }      int main(int argc, char **argv)   {    JMP_BUF back;    int e, num;    char *p;    + #ifdef PIKE_EXTRA_DEBUG + #ifdef HAVE_SIGNAL +  if (sizeof(void *) == 8) { +  /* 64-bit Solaris 10 in Xenofarm fails with SIGPIPE. +  * Force a core dump. +  */ +  signal(SIGPIPE, abort); +  } + #endif + #endif +     TRACE((stderr, "Init master...\n"));       find_lib_dir(argc, argv);      #ifdef LIBPIKE   #ifdef HAVE_DLINIT    if (!dlinit()) {    fprintf(stderr, "dlinit failed.\n");    exit(1);    }