projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf31fc
)
ecore_con: do not load /etc/hosts on Windows.
author
Guillaume Friloux
<guillaume.friloux@gmail.com>
Fri, 30 Jan 2015 13:24:35 +0000
(14:24 +0100)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Wed, 11 Feb 2015 16:03:38 +0000
(17:03 +0100)
src/lib/ecore_con/dns.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_con/dns.c
b/src/lib/ecore_con/dns.c
index 9eff2c20af285b69a31aaf549739fe890ecfb27e..1811dab42ebc02bd1058d0613bd29740fe745cb7 100644
(file)
--- a/
src/lib/ecore_con/dns.c
+++ b/
src/lib/ecore_con/dns.c
@@
-3437,10
+3437,11
@@
struct dns_hosts *dns_hosts_local(int *error_) {
if (!(hosts = dns_hosts_open(&error)))
goto error;
-
+
+#ifndef _WIN32
if ((error = dns_hosts_loadpath(hosts, "/etc/hosts")))
goto error;
-
+#endif
return hosts;
error:
*error_ = error;