Bug#482973: libc6: gethostbyname() fails on IPv4 addresses with hex components

2008-05-28 Thread Clint Adams
On Mon, May 26, 2008 at 11:10:46AM +0100, Stephane Chazelas wrote: That breaks POSIX conformance. As per POSIX, gethostbyname() should recognise the same IPv4 address notations as inet_addr(). The spec for inet_addr() gives: Technically, POSIX marks it as Obsolescent and says that you shall

Bug#482973: libc6: gethostbyname() fails on IPv4 addresses with hex components

2008-05-28 Thread Michael Kerrisk
On Wed, May 28, 2008 at 9:07 PM, Clint Adams [EMAIL PROTECTED] wrote: On Mon, May 26, 2008 at 11:10:46AM +0100, Stephane Chazelas wrote: That breaks POSIX conformance. As per POSIX, gethostbyname() should recognise the same IPv4 address notations as inet_addr(). The spec for inet_addr() gives: