diff options
author | Bruno Haible <bruno@clisp.org> | 2023-05-15 11:19:16 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-05-15 11:19:16 +0200 |
commit | ebd843b31b8f61d3f9dd250b41c237bf5f3e01a6 (patch) | |
tree | c8382b2294f69ecc0ef056fa5314d6f8bf8e25b9 | |
parent | c013d710ccd81fb5ef4702879d36754c39feb964 (diff) | |
download | gnulib-ebd843b31b8f61d3f9dd250b41c237bf5f3e01a6.tar.gz |
select: Fix compilation error (regression from yesterday).
* lib/select.c (rpl_select): Revert last change.
-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. */ |