union sigval incorrectly defined on sys/sys/signal.h
Antonio Huete Jimenez
ahuete.devel at gmail.com
Thu Dec 17 05:27:40 PST 2009
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
More information about the Bugs
mailing list