Subject: CVS commit: src/lib/libc/net
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 09/18/2006 17:15:39
Module Name:	src
Committed By:	tsutsui
Date:		Mon Sep 18 17:15:39 UTC 2006

Modified Files:
	src/lib/libc/net: getnetnamadr.c

Log Message:
Change type of `net' variable passed via va_list in
_{files,dns,yp}_getenetbyaddr() functions from unsigned long to uint32_t.
In rev 1.29, getnetbyaddr(3) was changed to take uint32_t `net' argument
and also passisng uint32_t `net' to nsdispatch(3) varargs, but
these callback functions were not changed accordingly.

Patch was provided by christos, and this fixes amd(8) coredumps on alpha
when /etc/nsswitch.conf has more than one sources for netgroups.


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/lib/libc/net/getnetnamadr.c

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