Subject: pkg/7683: compilation of net/icb gives a few warnings
To: None <>
From: Jaromir Dolecek <>
List: netbsd-bugs
Date: 06/01/1999 02:37:11
>Number:         7683
>Category:       pkg
>Synopsis:       compilation of net/icb gives a few warnings
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun  1 02:35:00 1999
>Originator:     Jaromir Dolecek
	ICS MU, Brno, Czech Republic
>Release:        NetBSD-1.4
System: NetBSD 1.4_ALPHA NetBSD 1.4_ALPHA (JDOLECEK) #2: Thu Apr 15 22:21:30 GMT 1999 root@:/mnt/home/dolecek/tmp/src/sys/arch/i386/compile/JDOLECEK i386

	There are a few warnings about bad arguments to signal(), wait()
	and getpeername() while compiling icb sources. Furthermore,
	code uses mktemp(), which is unsafe.
	cd /usr/pkgsrc/net/icb
	signal(): symbol VOID_SIGNALHANDLER is not defined in files/config
	wait(): (union wait *) is used instead of (int *) as per POSIX
	getpeername(), gethostbyaddr(): missed a cast (which is done
		only for linux currently)
	use mkstemp() instead of mktemp() for BSD4_4 based systems

	The patches are at

	Note that two of them (patch-aa & patch-ah) replace/enhance existing