Branch: Tag:

2003-01-02

2003-01-02 19:51:26 by Martin Nilsson <mani@lysator.liu.se>

Look for master in SOFTWARE\Pike on Windows

Rev: src/main.c:1.160

2:   || 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"
165: Inside #if defined(__NT__)
   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)),