summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-10-13 04:07:49 +0200
committerDan McGee <dan@archlinux.org>2008-10-13 04:35:30 +0200
commit30851a24ff68b00898565a1144926d83c623e6bf (patch)
tree59dc7db2a36f7f446db0869ad14b5cccc5144db6 /lib/libalpm/sync.c
parentf0e1846b51dfdeb095038b6b04d307ddfdec0029 (diff)
downloadpacman-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/sync.c')
0 files changed, 0 insertions, 0 deletions