Subject: CVS commit: src/lib/libc/compat-43
To: None <source-changes@NetBSD.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 04/19/2004 13:16:42
Module Name: src
Committed By: atatat
Date: Mon Apr 19 13:16:42 UTC 2004
Modified Files:
src/lib/libc/compat-43: gethostid.c sethostid.c
Log Message:
The API to hostid that libc provides may involve a "long", but the
interface the kernel provides to libc (and the rest of userland) is an
"int". Therefore, stop pretending that it's a long, since that can
incur bizarre failure modes if the types also don't have the same size
(sparc64, alpha, etc).
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/lib/libc/compat-43/gethostid.c
cvs rdiff -r1.6 -r1.7 src/lib/libc/compat-43/sethostid.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.