freebsd-ports/net/djbdns/files/patch-aa
Neil Blakey-Milner e0b2c29572 Update to djbdns 1.02
PR:		21510
Submitted by:	Dan Peterson <danp@danp.net>
2000-09-28 18:19:06 +00:00

20 lines
870 B
Text

--- dnscache-conf.orig Sat Sep 23 17:39:21 2000
+++ dnscache-conf.c Sat Sep 23 17:42:43 2000
@@ -89,13 +89,13 @@
if (chdir(auto_home) == -1)
strerr_die4sys(111,FATAL,"unable to switch to ",auto_home,": ");
- fdrootservers = open_read("/etc/dnsroots.local");
+ fdrootservers = open_read("etc/dnsroots.local");
if (fdrootservers == -1) {
if (errno != error_noent)
- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.local: ");
- fdrootservers = open_read("/etc/dnsroots.global");
+ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.local: ");
+ fdrootservers = open_read("etc/dnsroots.global");
if (fdrootservers == -1)
- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.global: ");
+ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.global: ");
}
init(dir,FATAL);