$ gcc -g -o gaitest gaitest.c ./gaitest Wheezy:
% ./gaitest status = -2, errno = 2 Raring: % ./gaitest status = -11, errno = 2 ** Attachment added: "gaitest.c" https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1154599/+attachment/3615897/+files/gaitest.c ** Summary changed: - dns lookup failure raises socket.error not socket.gaierror + getaddrinfo() returns -11 instead of -2 ** Summary changed: - getaddrinfo() returns -11 instead of -2 + getaddrinfo() returns -11 (EAI_SYSTEM) instead of -2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1154599 Title: getaddrinfo() returns -11 (EAI_SYSTEM) instead of -2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1154599/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs