Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 12/13/1999 08:23:01
Module Name:	basesrc
Committed By:	itojun
Date:		Mon Dec 13 16:22:56 UTC 1999

Modified Files:
	basesrc/lib/libc/net: getaddrinfo.c getnameinfo.c

Log Message:
fix getaddrinfo(3) and getnameinfo(3).

getaddrinfo(3): result from gethostby* will be broken if we call it again.
deep-copy them.  we have sa_len so configure them.
getnameinfo(3): we have sa_len so configure them.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 basesrc/lib/libc/net/getaddrinfo.c
cvs rdiff -r1.5 -r1.6 basesrc/lib/libc/net/getnameinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.