Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: source-changes
Date: 11/18/1999 14:12:55
Module Name:	basesrc
Committed By:	is
Date:		Thu Nov 18 22:12:54 UTC 1999

Modified Files:
	basesrc/lib/libc/gen: getdomainname.c gethostname.c

Log Message:
In case of an error returned by sysctl, and errno=ENOMEM, restore the
old errno and return 0. This makes us complant with SUSV2 and our own
manual page. See PR pr7836 by Simon Burge.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 basesrc/lib/libc/gen/getdomainname.c
cvs rdiff -r1.8 -r1.9 basesrc/lib/libc/gen/gethostname.c

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