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.39 1998/02/01 05:46:03 hubbe Exp $"); + RCSID("$Id: main.c,v 1.40 1998/02/03 05:29:26 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"   #include "interpret.h"
pike.git/src/main.c:36:   #include "time_stuff.h"      #ifdef HAVE_SYS_RESOURCE_H   #include <sys/resource.h>   #endif         char *master_file;   char **ARGV;    + int debug_options=0;   int d_flag=0;   int c_flag=0;   int t_flag=0;   int a_flag=0;   int l_flag=0;   int p_flag=0;      static struct callback_list post_master_callbacks;      struct callback *add_post_master_callback(callback_func call,
pike.git/src/main.c:176:    p+=strlen(p);       if(stack_size < 256)    {    fprintf(stderr,"Stack size must at least be 256.\n");    exit(1);    }    break;       case 'd': -  if(p[1]>='0' && p[1]<='9') +  more_d_flags: +  switch(p[1]) +  { +  case '0': case '1': case '2': case '3': case '4': +  case '5': case '6': case '7': case '8': case '9':    d_flag+=STRTOL(p+1,&p,10); -  else +  break; +  +  case 's': +  debug_options|=DEBUG_SIGNALS; +  p++; +  if(p[1]) goto more_d_flags; +  p++; +  break; +  +  default:    d_flag++,p++; -  +  }    break;       case 'a':    if(p[1]>='0' && p[1]<='9')    a_flag+=STRTOL(p+1,&p,10);    else    a_flag++,p++;    break;       case 't':