diff options
author | Dan McGee <dan@archlinux.org> | 2008-10-12 21:07:49 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-10-12 21:35:30 -0500 |
commit | 30851a24ff68b00898565a1144926d83c623e6bf (patch) | |
tree | 59dc7db2a36f7f446db0869ad14b5cccc5144db6 /lib/libalpm/db.h | |
parent | f0e1846b51dfdeb095038b6b04d307ddfdec0029 (diff) |
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/db.h')
0 files changed, 0 insertions, 0 deletions