Project

General

Profile

Actions

Bug #1633

closed

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

Added by ahuete.devel almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Actions #1

Updated by tuxillo almost 15 years ago

Committed in 36934016eeaca3abd418acb1c68bd391d3b54aa7

Actions

Also available in: Atom PDF