We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe0c00 commit 32c8258Copy full SHA for 32c8258
libc/test/UnitTest/ExecuteFunctionUnix.cpp
@@ -57,7 +57,7 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, int timeout_ms) {
57
}
58
::close(pipe_fds[1]);
59
60
- struct pollfd poll_fd{pipe_fds[0], POLLIN, 0};
+ pollfd poll_fd{pipe_fds[0], POLLIN, 0};
61
// No events requested so this call will only return after the timeout or if
62
// the pipes peer was closed, signaling the process exited.
63
if (::poll(&poll_fd, 1, timeout_ms) == -1) {
0 commit comments