ruby-changes:11489
From: akr <ko1@a...>
Date: Wed, 1 Apr 2009 20:40:49 +0900 (JST)
Subject: [ruby-changes:11489] Ruby:r23115 (trunk): * configure.in (rb_cv_fork_with_pthread): fail if the child process
akr 2009-04-01 20:40:38 +0900 (Wed, 01 Apr 2009) New Revision: 23115 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23115 Log: * configure.in (rb_cv_fork_with_pthread): fail if the child process fail. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 23114) +++ configure.in (revision 23115) @@ -1487,6 +1487,8 @@ kill(pid, SIGKILL); return EXIT_FAILURE; } + if (!WIFEXITED(loc) || WEXITSTATUS(loc) != EXIT_SUCCESS) + return EXIT_FAILURE; } else { if (use_threads()) return EXIT_FAILURE; Index: ChangeLog =================================================================== --- ChangeLog (revision 23114) +++ ChangeLog (revision 23115) @@ -1,3 +1,8 @@ +Wed Apr 1 20:37:49 2009 Tanaka Akira <akr@f...> + + * configure.in (rb_cv_fork_with_pthread): fail if the child process + fail. + Wed Apr 1 19:46:46 2009 Nobuyoshi Nakada <nobu@r...> * lib/mkmf.rb (create_makefile): support for parallel make. a -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/