Allow failure of sighandler installation on NativeClient.

* signal.c (install_signalhandler, init_sigchld): allow failure because it
  always fails with ENOSYS on NaCl.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2014-10-11 02:12:00 +00:00
parent 69ac654c90
commit 1a14a7a1d7
2 changed files with 9 additions and 2 deletions

3
io.c
View file

@ -204,6 +204,9 @@ rb_update_max_fd(int fd)
}
}
#undef HAVE_FCNTL
#undef O_CLOEXEC
void
rb_maygvl_fd_fix_cloexec(int fd)
{