pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:290:   #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 +       #ifdef HAVE_MALLOPT    TRACE((stderr, "Init malloc...\n"));       /* The malloc implementation in recent glibc (eg Linux)    * defaults to using one arena / thread. This means that    * memory once allocated from one thread can't later be    * allocated by another thread.    *    * cf [bug 6045] and http://sourceware.org/bugzilla/show_bug.cgi?id=11261