ruby-changes:1981
From: ko1@a...
Date: 20 Sep 2007 17:32:10 +0900
Subject: [ruby-changes:1981] nobu - Ruby:r13472 (ruby_1_8): * process.c (proc_prepare_args): commit miss.
nobu 2007-09-20 17:32:03 +0900 (Thu, 20 Sep 2007) New Revision: 13472 Modified files: branches/ruby_1_8/process.c Log: * process.c (proc_prepare_args): commit miss. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/process.c?r1=13472&r2=13471 Index: ruby_1_8/process.c =================================================================== --- ruby_1_8/process.c (revision 13471) +++ ruby_1_8/process.c (revision 13472) @@ -882,6 +882,11 @@ * terminate. <code>detach</code> only checks the status * periodically (currently once each second). * + * The waiting thread returns the exit status of the detached process + * when it terminates, so you can use <code>Thread#join</code> to + * know the result. If specified _pid_ is not a valid child process + * ID, the thread returns +nil+ immediately. + * * In this first example, we don't reap the first child process, so * it appears as a zombie in the process status display. * @@ -1202,6 +1207,8 @@ VALUE *argv; VALUE prog; { + int i; + MEMZERO(e, struct rb_exec_arg, 1); if (prog) { SafeStringValue(prog); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml