Subject: CVS commit: pkgsrc/sysutils/xentools46
From: Manuel Bouyer
Date: 2016-12-20 18:24:58
Message id: 20161220172458.818C3FBA6@cvs.NetBSD.org

Log Message:
in xl the SIGCHLD handler just writes to a pipe where the reader is the
same process. The idea is that this will cause poll(2) in the main
thread to exit with the reaper pipe readable, and do child cleanup here.

Unfortunably, is the child also has a write pipe back to the
parent (as e.g. with pygrub), the loop in afterpoll_internal() may see the
POLLHUP event on this pipe before the POLLIN even on the reaper pipe, and
this will be considered as an error (from e.g. pygrub).

work around by filtering POLLHUP events here
bump PKGREVISION

Files:
RevisionActionfile
1.6modifypkgsrc/sysutils/xentools46/Makefile
1.4modifypkgsrc/sysutils/xentools46/distinfo
1.1addpkgsrc/sysutils/xentools46/patches/patch-libxl_libxl_event.c