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.159 2002/12/07 14:13:31 grubba Exp $ + || $Id: main.c,v 1.160 2003/01/02 19:51:26 nilsson Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.159 2002/12/07 14:13:31 grubba Exp $"); + RCSID("$Id: main.c,v 1.160 2003/01/02 19:51:26 nilsson 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:158:   }      #ifdef __NT__   static void get_master_key(HKEY cat)   {    HKEY k;    char buffer[4096];    DWORD len=sizeof(buffer)-1,type=REG_SZ;       if(RegOpenKeyEx(cat, -  (LPCTSTR)("SOFTWARE\\Idonex\\Pike\\" +  (LPCTSTR)("SOFTWARE\\Pike\\"    DEFINETOSTR(PIKE_MAJOR_VERSION)    "."    DEFINETOSTR(PIKE_MINOR_VERSION)),    0,KEY_READ,&k)==ERROR_SUCCESS)    {    if(RegQueryValueEx(k,    "PIKE_MASTER",    0,    &type,    buffer,