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.113 2001/02/24 02:38:33 hubbe Exp $"); + RCSID("$Id: main.c,v 1.114 2001/03/10 22:22:39 grubba 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:111:   }      #ifdef __NT__   static void get_master_key(HKEY cat)   {    HKEY k;    char buffer[4096];    DWORD len=sizeof(buffer)-1,type=REG_SZ;    long ret;    if(RegOpenKeyEx(cat, -  (LPCTSTR)"SOFTWARE\\Idonex\\Pike\\0.7", +  (LPCTSTR)("SOFTWARE\\Idonex\\Pike\\" +  DEFINETOSTR(PIKE_MAJOR_VERSION) +  "." +  DEFINETOSTR(PIKE_MINOR_VERSION)),    0,KEY_READ,&k)==ERROR_SUCCESS)    {    if(RegQueryValueEx(k,    "PIKE_MASTER",    0,    &type,    buffer,    &len)==ERROR_SUCCESS)    {    dmalloc_accept_leak( master_file=strdup(buffer) );