Branch: Tag:

1998-02-27

1998-02-27 08:41:45 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

lots of changes

Rev: src/acconfig.h:1.16
Rev: src/array.c:1.30
Rev: src/array.h:1.11
Rev: src/builtin_functions.c:1.74
Rev: src/compilation.h:1.7
Rev: src/configure.in:1.160
Rev: src/dynamic_load.c:1.24
Rev: src/interpret.c:1.69
Rev: src/interpret.h:1.19
Rev: src/language.yacc:1.61
Rev: src/las.c:1.53
Rev: src/main.c:1.42
Rev: src/modules/Makefile.in:1.15
Rev: src/modules/dynamic_module_makefile.in:1.31
Rev: src/modules/spider/dumudp.c:1.34
Rev: src/modules/static_module_makefile.in:1.25
Rev: src/modules/system/system.c:1.42
Rev: src/program.c:1.64
Rev: src/program.h:1.33

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: main.c,v 1.41 1998/02/11 00:05:01 hubbe Exp $"); + RCSID("$Id: main.c,v 1.42 1998/02/27 08:39:20 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
109: Inside #if __NT__
  #if __NT__    if(!master_file)    { +  HKEY k;    char buffer[4096];    DWORD len=sizeof(buffer)-1,type=REG_SZ; -  -  if(RegQueryValueEx(HKEY_CURRENT_USER, -  "SOFTWARE\\Idonex\\Pike\\0.6\\PIKE_MASTER", +  long ret; +  if(RegOpenKeyEx(HKEY_CURRENT_USER, +  (LPCTSTR)"SOFTWARE\\Idonex\\Pike\\0.6", +  0,KEY_READ,&k)==ERROR_SUCCESS || +  RegOpenKeyEx(HKEY_LOCAL_MACHINE, +  (LPCTSTR)"SOFTWARE\\Idonex\\Pike\\0.6", +  0,KEY_READ,&k)==ERROR_SUCCESS) +  { +  if(RegQueryValueEx(k, +  "PIKE_MASTER",    0,    &type,    buffer, -  &len)==ERROR_SUCCESS || -  RegQueryValueEx(HKEY_LOCAL_MACHINE, -  "SOFTWARE\\Idonex\\Pike\\0.6\\PIKE_MASTER", -  0, -  &type, -  buffer, +     &len)==ERROR_SUCCESS)    {    master_file=strdup(buffer);    } -  +  RegCloseKey(k);    } -  +  }   #endif       if(!master_file) master_file = DEFAULT_MASTER;