diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | lib/select.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2023-05-15 Bruno Haible <bruno@clisp.org> + select: Fix compilation error (regression from yesterday). + * lib/select.c (rpl_select): Revert last change. + poll: Fix syntax error (regression from yesterday). * lib/poll.c (poll): Remove semicolon inside braces. diff --git a/lib/select.c b/lib/select.c index 991f475431..6b6ca4154c 100644 --- a/lib/select.c +++ b/lib/select.c @@ -516,7 +516,7 @@ restart: goto restart; } if (timeout && wait_timeout == 0 && rc == 0) - timeout = (struct timeval) {0}; + timeout->tv_sec = timeout->tv_usec = 0; } /* Now fill in the results. */ |