Check for EINTR in poll$nt()

This is a bandaid that lets CTRL-C work in daemons until a better
solution for signals on Windows can be implemented.
This commit is contained in:
Justine Tunney 2021-01-28 15:49:15 -08:00
parent d8fffd2123
commit 971bc8147f
9 changed files with 58 additions and 12 deletions

View file

@ -18,4 +18,4 @@
*/
#include "libc/calls/internal.h"
hidden int g_sighandrvas[NSIG];
unsigned __sighandrvas[NSIG];