Commits
Robert Shaw authored c957386adbd
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); |