DragonFly BSD
DragonFly bugs List (threaded) for 2009-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

union sigval incorrectly defined on sys/sys/signal.h


From: Antonio Huete Jimenez <ahuete.devel@xxxxxxxxx>
Date: Thu, 17 Dec 2009 14:24:27 +0100

Hi,

It seems we misdefined union sigval. We have:

union sigval {
 	int	sigval_int;
 	void	*sigval_ptr;
};

But following SuSv2 and IEEE Std 1003.1, it should be:

union sigval {
 	int	sival_int;
 	void	*sival_ptr;
};

http://www.opengroup.org/onlinepubs/007908799/xsh/signal.h.html
http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html

This patch changes it everywhere in the
tree:http://earthborder.quantumachine.net/pub/DragonFlyBSD/temp/0001-signal.h-Rename-union-sigval-members-to-fit-requirem.patch

Just as a note, when FreeBSD did the change, it also left the old
members to be backward compatibility.

Cheers,
Antonio Huete



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]