blob: 5def144dd8d8916511200d5b6f2b0ff386d5208a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- fakeroot-1.21/communicate.c.orig 2016-12-02 17:46:15.754013876 +0200
+++ fakeroot-1.21/communicate.c 2016-12-02 17:47:42.755155118 +0200
@@ -553,7 +553,7 @@
l=msgrcv(msg_get,
(struct my_msgbuf*)buf,
sizeof(*buf)-sizeof(buf->mtype),0,0);
- while((buf->serial!=serial)||buf->pid!=pid);
+ while((l==-1&&errno==EINTR)||(buf->serial!=serial)||buf->pid!=pid);
semaphore_down();
|