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

This commit is contained in:
Mark Andrews
2005-03-15 23:16:53 +00:00
parent 6189214bf0
commit 1439214380
2 changed files with 4 additions and 2 deletions

View File

@@ -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]

View 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);