The attached file provides a test case. Compile, then run it as follows:
"./a.out ubuntu.com". If /etc/hosts exists, it should print "ubuntu.com
0". If it does not exist, it should print "ubuntu.com -11".


** Attachment added: "bug-408901.c"
   http://launchpadlibrarian.net/29935021/bug-408901.c

-- 
when /etc/hosts doesn't exist, apt fails to resolve hostnames using libc6
https://bugs.launchpad.net/bugs/408901
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to