看板 DFBSD_bugs 關於我們 聯絡資訊
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