mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
sure that the child's pipes are closed even under that exception. Move the handling of POLLHUP to the end of the loop, so that we guarantee to read any remaining data from the child if POLLHUP and POLLIN appear at the same time. Signed-off-by: Ewan Mellor <ewan@xensource.com>