[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 not
use it, so I don't know if you can make that claim.



Reply to: