mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 05:45:46 +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>
|
Thu Dec 11 19:10:46 +0100 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
build: avoid libvirtd link failure with CFLAGS=-g
|
build: avoid libvirtd link failure with CFLAGS=-g
|
||||||
|
@ -473,7 +473,7 @@ virPipeReadUntilEOF(virConnectPtr conn, int outfd, int errfd,
|
|||||||
while(!(finished[0] && finished[1])) {
|
while(!(finished[0] && finished[1])) {
|
||||||
|
|
||||||
if (poll(fds, ARRAY_CARDINALITY(fds), -1) < 0) {
|
if (poll(fds, ARRAY_CARDINALITY(fds), -1) < 0) {
|
||||||
if (errno == EAGAIN)
|
if ((errno == EAGAIN) || (errno == EINTR))
|
||||||
continue;
|
continue;
|
||||||
goto pollerr;
|
goto pollerr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user