]> 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:05:36 +0000 (00:05 +0000)
committerMark Andrews <marka@isc.org>
Wed, 31 Oct 2007 00:05:36 +0000 (00:05 +0000)
                        bindevt.dll. [RT #17159]

CHANGES
bin/win32/BINDInstall/BINDInstallDlg.cpp

diff --git a/CHANGES b/CHANGES
index e1e88cc59d599883d01c1d32053741d38fb6f88d..1a9635d98164d68000af4a97df49a386b5825d1a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+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 01124aa3215fc30f1e6312104d4e905775e884e8..23483bf3736ca51b92e8c1497289d987437b9b01 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: BINDInstallDlg.cpp,v 1.35 2007/06/27 01:11:16 marka Exp $ */
+/* $Id: BINDInstallDlg.cpp,v 1.36 2007/10/31 00:05:36 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 */