mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
* src/util.c: retry poll() in EINTR failures, patch by Dave Allan
daniel
This commit is contained in:
parent
762863d728
commit
e2d2b7d577
@ -1,3 +1,7 @@
|
||||
Fri Dec 12 08:27:44 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/util.c: retry poll() in EINTR failures, patch by Dave Allan
|
||||
|
||||
Thu Dec 11 19:10:46 +0100 2008 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
build: avoid libvirtd link failure with CFLAGS=-g
|
||||
|
@ -473,7 +473,7 @@ virPipeReadUntilEOF(virConnectPtr conn, int outfd, int errfd,
|
||||
while(!(finished[0] && finished[1])) {
|
||||
|
||||
if (poll(fds, ARRAY_CARDINALITY(fds), -1) < 0) {
|
||||
if (errno == EAGAIN)
|
||||
if ((errno == EAGAIN) || (errno == EINTR))
|
||||
continue;
|
||||
goto pollerr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user