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
  • union sigval incorrect... Antonio Huete Jimenez

Reply via email to