[libc-commits] [libc] [libc][test] split exit tests into two separate tests (PR #166355)

via libc-commits libc-commits at lists.llvm.org
Sun Nov 9 07:02:30 PST 2025


================
@@ -57,9 +57,7 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, int timeout_ms) {
   }
   ::close(pipe_fds[1]);
 
-  struct pollfd poll_fd {
-    pipe_fds[0], 0, 0
-  };
+  struct pollfd poll_fd{pipe_fds[0], POLLIN, 0};
----------------
lntue wrote:

nit: also remove `struct` if it's not needed.

https://github.com/llvm/llvm-project/pull/166355


More information about the libc-commits mailing list