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.170 2003/03/30 17:15:09 mast Exp $ + || $Id: main.c,v 1.171 2003/04/01 19:41:13 mast Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.170 2003/03/30 17:15:09 mast Exp $"); + RCSID("$Id: main.c,v 1.171 2003/04/01 19:41:13 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:437:    case 'g':    debug_options|=GC_RESET_DMALLOC;    p++;    goto more_d_flags;       case 'p':    debug_options|=NO_PEEP_OPTIMIZING;    p++;    goto more_d_flags;    +  case 'T': +  debug_options |= ERRORCHECK_MUTEXES; +  p++; +  goto more_d_flags; +     default:    d_flag += (p[0] == 'd');    p++;    }    break;       case 'r':    more_r_flags:    switch(p[1])    {
pike.git/src/main.c:511:       default:    p+=strlen(p);    }    }    }else{    break;    }    }    + #ifndef PIKE_MUTEX_ERRORCHECK +  if (debug_options & ERRORCHECK_MUTEXES) +  fputs ("Warning: -dT (error checking mutexes) not supported on this system.\n", +  stderr); + #endif +  if (d_flag) debug_options |= ERRORCHECK_MUTEXES; +    #if !defined(RLIMIT_NOFILE) && defined(RLIMIT_OFILE)   #define RLIMIT_NOFILE RLIMIT_OFILE   #endif       TRACE((stderr, "Init C stack...\n"));       Pike_interpreter.stack_top = (char *)&argv;       /* Adjust for anything already pushed on the stack.    * We align on a 64 KB boundary.