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.72 1999/05/08 00:38:42 hubbe Exp $"); + RCSID("$Id: main.c,v 1.73 1999/06/02 21:21:38 marcus 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:98:   }      #ifdef __NT__   static void get_master_key(long cat)   {    HKEY k;    char buffer[4096];    DWORD len=sizeof(buffer)-1,type=REG_SZ;    long ret;    if(RegOpenKeyEx(cat, -  (LPCTSTR)"SOFTWARE\\Idonex\\Pike\\0.6", +  (LPCTSTR)"SOFTWARE\\Idonex\\Pike\\0.7",    0,KEY_READ,&k)==ERROR_SUCCESS)    {    if(RegQueryValueEx(k,    "PIKE_MASTER",    0,    &type,    buffer,    &len)==ERROR_SUCCESS)    {    dmalloc_accept_leak( master_file=strdup(buffer) );