can-utils icon indicating copy to clipboard operation
can-utils copied to clipboard

Replace the unportable signal with sigaction

Open fsasm opened this issue 8 years ago • 1 comments

According to the Linux manpage signal(2) the function signal should not be used as its behaviour can vary across platforms. Currently glibc mimics the BSD behaviour which implicitly uses the flag SA_RESTART. This behaviour can be different when other libc are used. Instead of signal sigaction should be used.

fsasm avatar Mar 08 '17 13:03 fsasm

Feel free to create a patch.

marckleinebudde avatar Mar 08 '17 13:03 marckleinebudde