Subject: CVS commit: [netbsd-2-0] src/lib/libc/compat-43
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 04/21/2004 03:15:06
Module Name: src
Committed By: jmc
Date: Wed Apr 21 03:15:06 UTC 2004
Modified Files:
src/lib/libc/compat-43 [netbsd-2-0]: gethostid.c
Log Message:
Pullup rev 1.6 (requested by atatat in ticket #162)
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 its a long, since that can
incur bizarre failure modes if the types also dont have the same size
(sparc64, alpha, etc).
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.5.2.1 src/lib/libc/compat-43/gethostid.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.