]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use isc_file_ischdiridempotent()
authorAndreas Gustafsson <source@isc.org>
Mon, 16 Jul 2001 18:33:30 +0000 (18:33 +0000)
committerAndreas Gustafsson <source@isc.org>
Mon, 16 Jul 2001 18:33:30 +0000 (18:33 +0000)
bin/named/server.c

index 96dc757a14458db2b0bb25accbc47c6305e8bb43..570a0169b3a723215e0bd6586a3871aaa4b4c561 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: server.c,v 1.333 2001/07/11 22:22:37 bwelling Exp $ */
+/* $Id: server.c,v 1.334 2001/07/16 18:33:30 gson Exp $ */
 
 #include <config.h>
 
@@ -1416,8 +1416,7 @@ directory_callback(const char *clausename, cfg_obj_t *obj, void *arg) {
         */
        directory = cfg_obj_asstring(obj);
 
-       if (!isc_file_isabsolute(directory) &&
-           !isc_file_iscurrentdir(directory))
+       if (! isc_file_ischdiridempotent(directory))
                cfg_obj_log(obj, ns_g_lctx, ISC_LOG_WARNING,
                            "option 'directory' contains relative path '%s'",
                            directory);