From 323fea6e99d4c55b2fd72caab909c00b71217906 Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 26 Feb 2002 20:54:45 +0000 Subject: [PATCH] VM_ThreadLoop select() silently restarted when EINTR - needed for non-threading version using SIGIO --- common/data/virtmodem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/data/virtmodem.c b/common/data/virtmodem.c index 664127f..2ff532a 100644 --- 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); -- 1.8.3.1