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.32 1998/01/13 22:56:45 hubbe Exp $"); + RCSID("$Id: main.c,v 1.33 1998/01/15 05:59:42 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:88: Inside #if defined(HAVE_SETLOCALE) and #if defined(LC_MESSAGES)
  #ifdef LC_MESSAGES    setlocale(LC_MESSAGES, "");   #endif   #endif    init_backend();    master_file = 0;   #ifdef HAVE_GETENV    master_file = getenv("PIKE_MASTER");   #endif   #if __NT__ +  if(!master_file)    {    char buffer[4096];    DWORD len=sizeof(buffer)-1,type=REG_SZ;       if(RegQueryValueEx(HKEY_CURRENT_USER,    "SOFTWARE\\Idonex\\Pike\\0.6\\PIKE_MASTER",    0,    &type,    buffer,    &len)==ERROR_SUCCESS || -  RegQueryValueEx(HKEY_CURRENT_USER, +  RegQueryValueEx(HKEY_LOCAL_MACHINE,    "SOFTWARE\\Idonex\\Pike\\0.6\\PIKE_MASTER",    0,    &type,    buffer,    &len)==ERROR_SUCCESS)    {    master_file=strdup(buffer);    }    }   #endif -  +     if(!master_file) master_file = DEFAULT_MASTER;       for(e=1; e<argc; e++)    {    if(argv[e][0]=='-')    {    for(p=argv[e]+1; *p;)    {    switch(*p)    {