Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mpl/bind/dist/lib/dns Put the nta files in a subdir...



details:   https://anonhg.NetBSD.org/src/rev/6148c4596370
branches:  trunk
changeset: 433394:6148c4596370
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 12 15:28:42 2018 +0000

description:
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

diffstat:

 external/mpl/bind/dist/lib/dns/view.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 02c33ad62944 -r 6148c4596370 external/mpl/bind/dist/lib/dns/view.c
--- a/external/mpl/bind/dist/lib/dns/view.c     Wed Sep 12 13:52:36 2018 +0000
+++ b/external/mpl/bind/dist/lib/dns/view.c     Wed Sep 12 15:28:42 2018 +0000
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index