Module Name:    src
Committed By:   christos
Date:           Wed Sep 12 15:28:42 UTC 2018

Modified Files:
        src/external/mpl/bind/dist/lib/dns: view.c

Log Message:
Put the nta files in a subdirectory instead of requiring the namedb root
directory to be writable by named... Others have expressed the same concern,
but upstream refused: https://bugzilla.redhat.com/show_bug.cgi?id=1487823
https://bugs.isc.org/Public/Bug/Display.html?id=46242


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mpl/bind/dist/lib/dns/view.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mpl/bind/dist/lib/dns/view.c
diff -u src/external/mpl/bind/dist/lib/dns/view.c:1.2 src/external/mpl/bind/dist/lib/dns/view.c:1.3
--- src/external/mpl/bind/dist/lib/dns/view.c:1.2	Sun Aug 12 09:02:35 2018
+++ src/external/mpl/bind/dist/lib/dns/view.c	Wed Sep 12 11:28:42 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: view.c,v 1.2 2018/08/12 13:02:35 christos Exp $	*/
+/*	$NetBSD: view.c,v 1.3 2018/09/12 15:28:42 christos Exp $	*/
 
 /*
  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -106,7 +106,7 @@ dns_view_create(isc_mem_t *mctx, dns_rda
 		goto cleanup_view;
 	}
 
-	result = isc_file_sanitize(NULL, view->name, "nta",
+	result = isc_file_sanitize("nta", view->name, "nta",
 				   buffer, sizeof(buffer));
 	if (result != ISC_R_SUCCESS)
 		goto cleanup_name;

Reply via email to