librb: call rb_set_cloexec in rb_setup_fd
This commit is contained in:
parent
34a2afbc28
commit
1cad0654b7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue