diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-19 13:35:36 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-19 13:35:36 +0000 |
commit | 9d73a4268c2c08941a6b4967cdd2d878abbd590b (patch) | |
tree | 7fbcfe674064e78a2452e1af92b2afef76aa8f8a /configure.in | |
parent | 4e17e54f652b1eb794e54602528f1059400fc6c7 (diff) |
merges r23115 from trunk into ruby_1_9_1.
--
* configure.in (rb_cv_fork_with_pthread): fail if the child process
fail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 31f2593751..b926eb8366 100644 --- a/configure.in +++ b/configure.in @@ -1232,6 +1232,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; |