librb: call rb_set_cloexec in rb_setup_fd

This commit is contained in:
Doug Freed 2020-12-13 08:39:29 +00:00
parent 34a2afbc28
commit 1cad0654b7

View file

@ -2390,6 +2390,7 @@ rb_select(unsigned long timeout)
int int
rb_setup_fd(rb_fde_t *F) rb_setup_fd(rb_fde_t *F)
{ {
rb_set_cloexec(F);
return setup_fd_handler(F); return setup_fd_handler(F);
} }