[pacman-dev] [PATCH] handle EINTR while polling scripts/hooks

Allan McRae allan at archlinux.org
Sun Oct 21 09:20:45 UTC 2018


On 13/10/18 12:16 pm, Andrew Gregory wrote:
> 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 at gmail.com>

Patch is good.

A


More information about the pacman-dev mailing list