Overview
Comment: | OFDNSResolver: Paths for hosts file on more OSes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
418965bae35dbf281c074da6cbe09c08 |
User & Date: | js on 2018-07-08 19:42:28 |
Other Links: | manifest | tags |
Context
2018-07-09
| ||
00:22 | Add OFWindowsRegistryKey check-in: 5586022d34 user: js tags: trunk | |
2018-07-08
| ||
19:42 | OFDNSResolver: Paths for hosts file on more OSes check-in: 418965bae3 user: js tags: trunk | |
18:00 | OF{LHA,Tar}Archive: Fix skipping over entries check-in: 8333373867 user: js tags: trunk | |
Changes
Modified src/OFDNSResolver.m from [54daba6e99] to [07800749f7].
︙ | ︙ | |||
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | { self = [super init]; @try { _minNumberOfDotsInAbsoluteName = 1; #ifdef OF_HAVE_FILES [self of_parseHosts: @"/etc/hosts"]; [self of_parseResolvConf: @"/etc/resolv.conf"]; [self of_parseResolvConf: @"/etc/resolv.conf.tail"]; #endif if (_staticHosts == nil) _staticHosts = [[OFDictionary alloc] init]; | > > > > > > > > > > | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | { self = [super init]; @try { _minNumberOfDotsInAbsoluteName = 1; #ifdef OF_HAVE_FILES # if defined(OF_HAIKU) [self of_parseHosts: @"/boot/common/settings/network/hosts"]; # elif defined(OF_MORPHOS) [self of_parseHosts: @"ENVARC:sys/net/hosts"]; # elif defined(OF_AMIGAOS4) [self of_parseHosts: @"DEVS:Internet/hosts"]; # elif defined(OF_AMIGAOS) [self of_parseHosts: @"AmiTCP:db/hosts"]; # else [self of_parseHosts: @"/etc/hosts"]; # endif [self of_parseResolvConf: @"/etc/resolv.conf"]; [self of_parseResolvConf: @"/etc/resolv.conf.tail"]; #endif if (_staticHosts == nil) _staticHosts = [[OFDictionary alloc] init]; |
︙ | ︙ |