]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
windows: complain if -t is set
authorMark Andrews <marka@isc.org>
Mon, 17 Nov 2008 05:41:10 +0000 (05:41 +0000)
committerMark Andrews <marka@isc.org>
Mon, 17 Nov 2008 05:41:10 +0000 (05:41 +0000)
bin/named/win32/os.c

index 2dc1ea7cf06849a831849b149a2394df15b316df..4df444318360ce4411e70b3a018a138d3bea73ec 100644 (file)
@@ -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 <config.h>
 #include <stdarg.h>
@@ -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