Commit 14392143 authored by Mark Andrews's avatar Mark Andrews
Browse files

1829. [bug] win32: "pid-file none;" broken. [RT #13563]

parent 6189214b
1829. [bug] win32: "pid-file none;" broken. [RT #13563]
1828. [bug] isc_rwlock_init() failed to properly cleanup if it 1828. [bug] isc_rwlock_init() failed to properly cleanup if it
encountered a error. [RT #13549] encountered a error. [RT #13549]
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * 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 <config.h>
#include <stdarg.h> #include <stdarg.h>
...@@ -208,7 +208,7 @@ ns_os_writepidfile(const char *filename, isc_boolean_t first_time) { ...@@ -208,7 +208,7 @@ ns_os_writepidfile(const char *filename, isc_boolean_t first_time) {
cleanup_pidfile(); cleanup_pidfile();
if (strcmp(filename, "none") == 0) if (filename == NULL)
return; return;
len = strlen(filename); len = strlen(filename);
pidfile = malloc(len + 1); pidfile = malloc(len + 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment