diff --git a/binaries/armhf/tpws b/binaries/armhf/tpws index cc68035..e446221 100755 Binary files a/binaries/armhf/tpws and b/binaries/armhf/tpws differ diff --git a/binaries/mips32r1-lsb/tpws b/binaries/mips32r1-lsb/tpws index e63f891..a811d3a 100755 Binary files a/binaries/mips32r1-lsb/tpws and b/binaries/mips32r1-lsb/tpws differ diff --git a/binaries/mips32r1-msb/tpws b/binaries/mips32r1-msb/tpws index 912d2d6..0f0961a 100755 Binary files a/binaries/mips32r1-msb/tpws and b/binaries/mips32r1-msb/tpws differ diff --git a/binaries/x86_64/tpws b/binaries/x86_64/tpws index b9e7001..c18c800 100755 Binary files a/binaries/x86_64/tpws and b/binaries/x86_64/tpws differ diff --git a/tpws/tpws.c b/tpws/tpws.c index 529fef8..1855744 100644 --- a/tpws/tpws.c +++ b/tpws/tpws.c @@ -323,6 +323,7 @@ int event_loop(int listen_fd) { while (1) { if ((num_events = epoll_wait(efd, events, MAX_EPOLL_EVENTS, -1)) == -1) { + if (errno==EINTR) continue; // system call was interrupted perror("epoll_wait"); retval = -1; break;