From ebfef1910103b029b956e1155ef63d6a59e4eb0c Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 8 Dec 2022 11:25:24 +1300 Subject: [PATCH] `IO.pipe` should be non-blocking by default, even on Windows. --- io.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/io.c b/io.c index 590e8d11d7..22f71a3361 100644 --- a/io.c +++ b/io.c @@ -427,10 +427,8 @@ rb_cloexec_pipe(int descriptors[2]) rb_maygvl_fd_fix_cloexec(descriptors[0]); rb_maygvl_fd_fix_cloexec(descriptors[1]); -#ifndef _WIN32 rb_fd_set_nonblock(descriptors[0]); rb_fd_set_nonblock(descriptors[1]); -#endif #endif return result;