Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 07/07/1997 17:20:02
christos
Mon Jul  7 13:11:05 EDT 1997
Update of /cvsroot/src/lib/libc/net
In directory netbsd1:/var/slash-tmp/cvs-serv13253

Modified Files:
	Makefile.inc inet_pton.c 
Removed Files:
	inet_addr.c 
Log Message:
inet_pton4() did not handle
	- incompletely specified ip addresses
	- ip addresses specified in hex
like inet_aton() and inet_addr(). This broke parsing of /etc/hosts
(127.1	localhost stopped working before the resolver is started).
The fix is to use the inet_aton() code to implement inet_pton4(), and
then use the new inet_pton4() code to implement inet_aton() and inet_addr().
At that point inet_addr.c is empty and has been removed.