diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2016-02-22 20:07:57 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-23 03:41:36 +0100 |
commit | a724235b6127f9655708614d1e44f9b5c661a506 (patch) | |
tree | 6b4ef62ae28bc340db7ca5b2d628a60e3a15363a /doc | |
parent | 1d6583a58da0904fb7feafd4a666391087955a7b (diff) | |
download | pacman-a724235b6127f9655708614d1e44f9b5c661a506.tar.gz pacman-a724235b6127f9655708614d1e44f9b5c661a506.tar.xz |
make alpm_unlock and trans_interrupt async safe
RET_ERR calls _alpm_log which includes calls that are not safe for use
in asynchronous signal handlers (see signal(7)). Replace it in
functions called from our signal handlers with a new macro
RET_ERR_ASYNC_SAFE which is identical except that it lacks the call to
_alpm_log.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions