1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (rb_cv_fork_with_pthread): fail if the child process

fail.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-04-01 11:40:38 +00:00
parent 72c161bb55
commit 3158c0f651
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Wed Apr 1 20:37:49 2009 Tanaka Akira <akr@fsij.org>
* configure.in (rb_cv_fork_with_pthread): fail if the child process
fail.
Wed Apr 1 19:46:46 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (create_makefile): support for parallel make. a

View file

@ -1487,6 +1487,8 @@ main(int argc, char *argv[])
kill(pid, SIGKILL);
return EXIT_FAILURE;
}
if (!WIFEXITED(loc) || WEXITSTATUS(loc) != EXIT_SUCCESS)
return EXIT_FAILURE;
}
else {
if (use_threads()) return EXIT_FAILURE;