cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=83917a8c6430e57279c01de801356c69565169a7
commit 83917a8c6430e57279c01de801356c69565169a7 Author: Guillaume Friloux <guillaume.fril...@gmail.com> Date: Fri Jan 30 14:24:35 2015 +0100 ecore_con: do not load /etc/hosts on Windows. --- src/lib/ecore_con/dns.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_con/dns.c b/src/lib/ecore_con/dns.c index 9eff2c2..1811dab 100644 --- 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; --