pacman/lib
Andrew Gregory 3a88fcb191 handle EINTR while polling scripts/hooks
If poll() is interrupted by a signal, alpm was closing the socket it
uses for listening to script/hook output.  This would drop script output
at the least and kill the script at the worst.

Fixes FS#60396

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit ac959bb9c6)
2018-11-18 17:25:18 -08:00
..
libalpm handle EINTR while polling scripts/hooks 2018-11-18 17:25:18 -08:00