ruby-changes:24010
From: akr <ko1@a...>
Date: Wed, 13 Jun 2012 20:20:44 +0900 (JST)
Subject: [ruby-changes:24010] akr:r36061 (trunk): * process.c (rb_fork_internal): move a variable declaration.
akr 2012-06-13 20:20:33 +0900 (Wed, 13 Jun 2012) New Revision: 36061 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36061 Log: * process.c (rb_fork_internal): move a variable declaration. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 36060) +++ ChangeLog (revision 36061) @@ -1,3 +1,7 @@ +Wed Jun 13 20:19:59 2012 Tanaka Akira <akr@f...> + + * process.c (rb_fork_internal): move a variable declaration. + Wed Jun 13 17:54:38 2012 URABE Shyouhei <shyouhei@r...> * regparse.c (PFETCH_READY): this line was to suppress warning, Index: process.c =================================================================== --- process.c (revision 36060) +++ process.c (revision 36061) @@ -3102,13 +3102,13 @@ if (pid < 0) return pid; if (!pid) { - struct chfunc_protect_t arg; int ret; forked_child = 1; close(ep[0]); if (chfunc_is_async_signal_safe) ret = chfunc(charg, errmsg, errmsg_buflen); else { + struct chfunc_protect_t arg; arg.chfunc = chfunc; arg.arg = charg; arg.errmsg = errmsg; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/