diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-03-09 13:12:32 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-03-09 17:35:01 +0100 |
commit | 51e0303e840c94e5943f30e311d053058f657327 (patch) | |
tree | da34e844c3d7f8b48d2a580130cb2f334a7a046a /lib/libalpm/util.c | |
parent | 2f9f48edddadffa2ac39ed7291f92be7be3b0fb5 (diff) | |
download | pacman-51e0303e840c94e5943f30e311d053058f657327.tar.gz pacman-51e0303e840c94e5943f30e311d053058f657327.tar.xz |
Use sigaction instead of signal.
From signal man page :
"The behavior of signal() varies across Unix versions, and has also varied
historically across different versions of Linux. Avoid its use: use
sigaction(2) instead. See Portability below."
The code was taken from there :
http://www.gnu.org/software/libtool/manual/libc/Sigaction-Function-Example.html
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions