diff options
author | Dan McGee <dan@archlinux.org> | 2008-10-13 04:07:49 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-10-13 04:35:30 +0200 |
commit | 30851a24ff68b00898565a1144926d83c623e6bf (patch) | |
tree | 59dc7db2a36f7f446db0869ad14b5cccc5144db6 /lib/libalpm/handle.h | |
parent | f0e1846b51dfdeb095038b6b04d307ddfdec0029 (diff) | |
download | pacman-30851a24ff68b00898565a1144926d83c623e6bf.tar.gz pacman-30851a24ff68b00898565a1144926d83c623e6bf.tar.xz |
Make interrupt handler async-safe
Calling printf() in a signal handler can be dangerous, so avoid it by
writing directly which is guaranteed to be safe according to signal(7).
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.h')
0 files changed, 0 insertions, 0 deletions