ruby-changes:23928
From: akr <ko1@a...>
Date: Sat, 9 Jun 2012 09:02:08 +0900 (JST)
Subject: [ruby-changes:23928] akr:r35979 (trunk): * process.c (rb_proc_exec): call before_exec() here addition to
akr 2012-06-09 09:01:58 +0900 (Sat, 09 Jun 2012) New Revision: 35979 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35979 Log: * process.c (rb_proc_exec): call before_exec() here addition to rb_exec_err. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 35978) +++ ChangeLog (revision 35979) @@ -1,3 +1,8 @@ +Sat Jun 9 09:00:58 2012 Tanaka Akira <akr@f...> + + * process.c (rb_proc_exec): call before_exec() here addition to + rb_exec_err. + Sat Jun 9 08:30:52 2012 Nobuyoshi Nakada <nobu@r...> * thread_pthread.c (ruby_init_stack): use stack info if possible. Index: process.c =================================================================== --- process.c (revision 35978) +++ process.c (revision 35979) @@ -1174,7 +1174,9 @@ int rb_proc_exec(const char *str) { - int ret = proc_exec_sh(str, Qfalse); + int ret; + before_exec(); + ret = proc_exec_sh(str, Qfalse); preserving_errno(after_exec()); return ret; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/