Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
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.
Home |
Main Index |
Thread Index |
Old Index