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: > > 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.
Sorry, but that is not right. The fact that an interface is marked as obsolescent has no relevance as to whether it should conform to specified behavior. -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]