Path: blob/main/dns/djbdns/files/patch-dnscache-conf.c
16125 views
--- dnscache-conf.orig Sat Sep 23 17:39:21 20001+++ dnscache-conf.c Sat Sep 23 17:42:43 20002@@ -89,13 +89,13 @@3if (chdir(auto_home) == -1)4strerr_die4sys(111,FATAL,"unable to switch to ",auto_home,": ");56- fdrootservers = open_read("/etc/dnsroots.local");7+ fdrootservers = open_read("etc/dnsroots.local");8if (fdrootservers == -1) {9if (errno != error_noent)10- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.local: ");11- fdrootservers = open_read("/etc/dnsroots.global");12+ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.local: ");13+ fdrootservers = open_read("etc/dnsroots.global");14if (fdrootservers == -1)15- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.global: ");16+ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.global: ");17}1819init(dir,FATAL);202122