]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1829. [bug] win32: "pid-file none;" broken. [RT #13563]
authorMark Andrews <marka@isc.org>
Tue, 15 Mar 2005 23:16:53 +0000 (23:16 +0000)
committerMark Andrews <marka@isc.org>
Tue, 15 Mar 2005 23:16:53 +0000 (23:16 +0000)
CHANGES
bin/named/win32/os.c

diff --git a/CHANGES b/CHANGES
index 1e7d0cb6d69556a2663b9142c36a22e419153ee8..71f1660f1af8b27ea0f39b9fdc2b1bb851b7d263 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1829.  [bug]           win32: "pid-file none;" broken. [RT #13563]
+
 1828.  [bug]           isc_rwlock_init() failed to properly cleanup if it
                        encountered a error. [RT #13549]
 
index 6f8fa90716735a53c30374aaf0c3f42133a97a9e..503524ba5813f708dfb780c156d2bce9da643fef 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.c,v 1.21 2004/09/29 06:45:38 marka Exp $ */
+/* $Id: os.c,v 1.22 2005/03/15 23:16:53 marka Exp $ */
 
 #include <config.h>
 #include <stdarg.h>
@@ -208,7 +208,7 @@ ns_os_writepidfile(const char *filename, isc_boolean_t first_time) {
 
        cleanup_pidfile();
 
-       if (strcmp(filename, "none") == 0)
+       if (filename == NULL)
                return;
        len = strlen(filename);
        pidfile = malloc(len + 1);