diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 94e1a5357..4d902d939 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -6194,7 +6194,9 @@ RealWaitForChar(int fd, long msec, int *check_for_gpm UNUSED, int *interrupted) struct timeval tv; struct timeval *tvp; - fd_set rfds, wfds, efds; + // These are static because they can take 8 Kbyte each and cause the + // signal stack to run out with -O3. + static fd_set rfds, wfds, efds; int maxfd; long towait = msec; |