]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2256. [bug] win32: Correctly register the installation location of
authorMark Andrews <marka@isc.org>
Wed, 31 Oct 2007 00:15:17 +0000 (00:15 +0000)
committerMark Andrews <marka@isc.org>
Wed, 31 Oct 2007 00:15:17 +0000 (00:15 +0000)
                        bindevt.dll. [RT #17159]

CHANGES
bin/win32/BINDInstall/BINDInstallDlg.cpp

diff --git a/CHANGES b/CHANGES
index 6d2c8eaaf233824db01b57dfa65719c95bf44523..4dee35d36a2233dbc685875d5b46329954b87d9f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
 
+2256.  [bug]           win32: Correctly register the installation location of
+                       bindevt.dll. [RT #17159]
+
 2255.  [bug]           L.ROOT-SERVERS.NET is now 199.7.83.42.
 
 2254.  [bug]           timer.c:dispatch() failed to lock timer->lock
index 5f1de13b45980a982d3af31733a4b34d07c811c3..00ae22990d158a0e84eefadbcc455e5998fd02cd 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: BINDInstallDlg.cpp,v 1.15.18.15 2007/08/28 07:20:02 tbox Exp $ */
+/* $Id: BINDInstallDlg.cpp,v 1.15.18.16 2007/10/31 00:15:17 marka Exp $ */
 
 /*
  * Copyright (c) 1999-2000 by Nortel Networks Corporation
@@ -917,10 +917,9 @@ void CBINDInstallDlg::UnregisterService(BOOL uninstall) {
 void CBINDInstallDlg::RegisterMessages() {
        HKEY hKey;
        DWORD dwData;
-       char pszMsgDLL[MAX_PATH], buf[MAX_PATH];
+       char pszMsgDLL[MAX_PATH];
 
-       GetSystemDirectory(buf, MAX_PATH);
-       sprintf(pszMsgDLL, "%s\\%s", buf, "bindevt.dll");
+       sprintf(pszMsgDLL, "%s\\%s", (LPCTSTR)m_binDir, "bindevt.dll");
 
        SetCurrent(IDS_REGISTER_MESSAGES);
        /* Create a new key for named */