1829. [bug] win32: "pid-file none;" broken. [RT #13563]
This commit is contained in:
2
CHANGES
2
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]
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user