Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a42b6b
)
patplex: Don't quit from recvreq on EINTR.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 31 Aug 2010 21:06:47 +0000
(23:06 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 31 Aug 2010 21:06:47 +0000
(23:06 +0200)
src/patplex.c
patch
|
blob
|
blame
|
history
diff --git
a/src/patplex.c
b/src/patplex.c
index
3f22d73
..
d296e04
100644
(file)
--- a/
src/patplex.c
+++ b/
src/patplex.c
@@
-519,6
+519,8
@@
int main(int argc, char **argv)
reload = 0;
}
if((fd = recvreq(0, &req)) < 0) {
+ if(errno == EINTR)
+ continue;
if(errno != 0)
flog(LOG_ERR, "recvreq: %s", strerror(errno));
break;