Package: libc6 Version: 2.7-4 Severity: normal The following test case fails for simple ::1 ip address. According to documentation, IPv6 and IPv4 addresses specified should be returned without the need to resolve them. This appears to happen when 127.0.0.1 is used.
Furthermore, gethostbyname( "ip6-localhost" ) also seems to work. No explicit IPv6 address seems to work. #include <netdb.h> #include <stdio.h> int main() { if( gethostbyname( "::1" ) == NULL ) printf( "error: %d\n", (int)h_errno ); else printf( "found\n" ); } -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (900, 'unstable'), (5, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-k7 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libc6 depends on: ii libgcc1 1:4.2.2-4 GCC support library libc6 recommends no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]