projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605baf6
)
cope with EINTR from read
author
Paul Mackerras
<paulus@samba.org>
Sat, 22 Oct 1994 11:49:27 +0000
(11:49 +0000)
committer
Paul Mackerras
<paulus@samba.org>
Sat, 22 Oct 1994 11:49:27 +0000
(11:49 +0000)
pppd/sys-str.c
patch
|
blob
|
history
diff --git
a/pppd/sys-str.c
b/pppd/sys-str.c
index 04a8816a8d0a95695cba86d206f127f3697b486a..4c07adf59e3ccbee17f93f4eb62090fc14ad769b 100644
(file)
--- a/
pppd/sys-str.c
+++ b/
pppd/sys-str.c
@@
-19,7
+19,7
@@
*/
#ifndef lint
-static char rcsid[] = "$Id: sys-str.c,v 1.1
4 1994/09/21 06:47:3
7 paulus Exp $";
+static char rcsid[] = "$Id: sys-str.c,v 1.1
5 1994/10/22 11:49:2
7 paulus Exp $";
#endif
/*
@@
-523,7
+523,7
@@
read_packet(buf)
i = 0;
len = getmsg(fd, &ctl, &str, &i);
if (len < 0) {
- if (errno == EAGAIN || errno == EWOULDBLOCK) {
+ if (errno == EAGAIN || errno == EWOULDBLOCK
|| errno == EINTR
) {
return -1;
}
syslog(LOG_ERR, "getmsg(fd) %m");