From cb98b2c207c0ec038353db527e183f208a17cabb Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 17 Nov 2008 05:41:10 +0000 Subject: [PATCH] windows: complain if -t is set --- bin/named/win32/os.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/named/win32/os.c b/bin/named/win32/os.c index 2dc1ea7cf0..4df4443183 100644 --- a/bin/named/win32/os.c +++ b/bin/named/win32/os.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: os.c,v 1.30 2008/11/02 12:48:39 fdupont Exp $ */ +/* $Id: os.c,v 1.31 2008/11/17 05:41:10 marka Exp $ */ #include #include @@ -155,7 +155,8 @@ ns_os_closedevnull(void) { void ns_os_chroot(const char *root) { - ns_main_earlyfatal("chroot(): isn't supported by Win32 API"); + if (root != NULL) + ns_main_earlyfatal("chroot(): isn't supported by Win32 API"); } void