mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Merge ebfef19101
into d025bc230c
This commit is contained in:
commit
6eea462ba3
1 changed files with 0 additions and 2 deletions
2
io.c
2
io.c
|
@ -448,10 +448,8 @@ rb_cloexec_pipe(int descriptors[2])
|
||||||
rb_maygvl_fd_fix_cloexec(descriptors[0]);
|
rb_maygvl_fd_fix_cloexec(descriptors[0]);
|
||||||
rb_maygvl_fd_fix_cloexec(descriptors[1]);
|
rb_maygvl_fd_fix_cloexec(descriptors[1]);
|
||||||
|
|
||||||
#ifndef _WIN32
|
|
||||||
rb_fd_set_nonblock(descriptors[0]);
|
rb_fd_set_nonblock(descriptors[0]);
|
||||||
rb_fd_set_nonblock(descriptors[1]);
|
rb_fd_set_nonblock(descriptors[1]);
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue