ObjFW  Check-in [d0099ed8c9]

Overview
Comment:OFDNSResolver: Add resolv.conf path for MorphOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d0099ed8c9755837ef959ba6650165435e5560ecab3424a87dd82f1b84a8fe35
User & Date: js on 2018-07-28 14:33:48
Other Links: manifest | tags
Context
2018-07-28
16:48
macros.h: Add of_random() check-in: a2a06d372a user: js tags: trunk
14:33
OFDNSResolver: Add resolv.conf path for MorphOS check-in: d0099ed8c9 user: js tags: trunk
2018-07-10
22:58
OFDNSResolver: Get name servers & domain on Win32 check-in: 42bee3f920 user: js tags: trunk
Changes

Modified src/OFDNSResolver.m from [231fa481e0] to [bcdb2d2012].

112
113
114
115
116
117
118



119

120
121
122
123
124
125
126
112
113
114
115
116
117
118
119
120
121

122
123
124
125
126
127
128
129







+
+
+
-
+







# 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

# if defined(OF_MORPHOS)
		[self of_parseResolvConf: @"ENV:sys/net/resolv.conf"];
# ifndef OF_WINDOWS
# elif !defined(OF_WINDOWS)
		[self of_parseResolvConf: @"/etc/resolv.conf"];
		[self of_parseResolvConf: @"/etc/resolv.conf.tail"];
# endif
#endif
#ifdef OF_WINDOWS
		[self of_parseNetworkParams];
#endif