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.233 2008/07/31 18:03:01 mast Exp $ + || $Id: main.c,v 1.234 2008/07/31 18:13:17 mast 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:440:    case 'p':    set_pike_debug_options(NO_PEEP_OPTIMIZING, NO_PEEP_OPTIMIZING);    p++;    goto more_d_flags;       case 'T':    set_pike_debug_options(ERRORCHECK_MUTEXES, ERRORCHECK_MUTEXES);    p++;    goto more_d_flags;    +  case 'L': +  set_pike_debug_options (WINDOWS_ERROR_DIALOGS, +  WINDOWS_ERROR_DIALOGS); +  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:461:    set_pike_runtime_options(RUNTIME_CHECK_TYPES, RUNTIME_CHECK_TYPES);    p++;    goto more_r_flags;       case 'T':    set_pike_runtime_options(RUNTIME_STRICT_TYPES,    RUNTIME_STRICT_TYPES);    p++;    goto more_r_flags;    -  case 'l': -  set_pike_runtime_options (RUNTIME_ERROR_DIALOGS, -  RUNTIME_ERROR_DIALOGS); -  p++; -  goto more_r_flags; -  +     default:    p++;    break;    }    break;       case 'a':    if(p[1]>='0' && p[1]<='9')    a_flag+=STRTOL(p+1,&p,10);    else
pike.git/src/main.c:539: Inside #if undefined(PIKE_MUTEX_ERRORCHECK)
     #ifndef PIKE_MUTEX_ERRORCHECK    if (set_pike_debug_options(0,0) & ERRORCHECK_MUTEXES)    fputs ("Warning: -dT (error checking mutexes) not supported on this system.\n",    stderr);   #endif    if (d_flag)    set_pike_debug_options(ERRORCHECK_MUTEXES, ERRORCHECK_MUTEXES);      #ifdef HAVE_SETERRORMODE -  if (!(runtime_options & RUNTIME_ERROR_DIALOGS)) { +  if (!(debug_options & WINDOWS_ERROR_DIALOGS)) {    /* This avoids popups when LoadLibrary fails to find a dll.    *    * Note that the popup is the _only_ way to see which dll (loaded    * indirectly by dependencies from the one in the LoadLibrary    * call) that Windows didn't find. :( Hence the -rl runtime option    * to turn it on.    *    * Note: This setting is process global. */    SetErrorMode (SEM_FAILCRITICALERRORS |    /* Maybe set this too? Don't know exactly when it