git://git.jankratochvil.net
/
gnokii.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70952e3
)
VM_ThreadLoop select() silently restarted when EINTR
author
short
<>
Tue, 26 Feb 2002 20:54:45 +0000
(20:54 +0000)
committer
short
<>
Tue, 26 Feb 2002 20:54:45 +0000
(20:54 +0000)
- needed for non-threading version using SIGIO
common/data/virtmodem.c
patch
|
blob
|
history
diff --git
a/common/data/virtmodem.c
b/common/data/virtmodem.c
index
664127f
..
2ff532a
100644
(file)
--- a/
common/data/virtmodem.c
+++ b/
common/data/virtmodem.c
@@
-139,6
+139,8
@@
static bool VM_ThreadLoop(void)
break;
case -1:
+ if (errno==EINTR)
+ continue;
perror("VM_ThreadLoop - select");
return (false);