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.115 2002/01/03 12:03:25 grubba Exp $"); + RCSID("$Id: main.c,v 1.116 2003/05/07 21:01:03 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:352:    case 's':    debug_options|=DEBUG_SIGNALS;    p++;    goto more_d_flags;       case 't':    debug_options|=NO_TAILRECURSION;    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:426:       default:    p+=strlen(p);    }    }    }else{    break;    }    }    + #if !defined(HAVE_PTHREAD_MUTEX_ERRORCHECK) && !defined(HAVE_PTHREAD_MUTEX_ERRORCHECK_NP) +  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       Pike_interpreter.stack_top = (char *)&argv;       /* Adjust for anything already pushed on the stack.    * We align on a 64 KB boundary.    * Thus we at worst, lose 64 KB stack.    *