Commits

Robert Shaw authored c957386adbd
New port djbdns version 1.05: D.J. Bernstein's DNS tools

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@10370 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

net/djbdns/files/patch-dnscache-conf.c

Added
1 +--- dnscache-conf.c.orig Sat Sep 23 17:39:21 2000
2 ++++ dnscache-conf.c Sat Sep 23 17:42:43 2000
3 +@@ -89,13 +89,13 @@
4 + if (chdir(auto_home) == -1)
5 + strerr_die4sys(111,FATAL,"unable to switch to ",auto_home,": ");
6 +
7 +- fdrootservers = open_read("/etc/dnsroots.local");
8 ++ fdrootservers = open_read("etc/dnsroots.local");
9 + if (fdrootservers == -1) {
10 + if (errno != error_noent)
11 +- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.local: ");
12 +- fdrootservers = open_read("/etc/dnsroots.global");
13 ++ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.local: ");
14 ++ fdrootservers = open_read("etc/dnsroots.global");
15 + if (fdrootservers == -1)
16 +- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.global: ");
17 ++ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.global: ");
18 + }
19 +
20 + init(dir,FATAL);

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut