* process.c (rb_proc_exec): call before_exec() here addition to

rb_exec_err.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-06-09 00:01:58 +00:00
parent c4c79e256b
commit 0ec4ae7c8e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat Jun 9 09:00:58 2012 Tanaka Akira <akr@fsij.org>
* process.c (rb_proc_exec): call before_exec() here addition to
rb_exec_err.
Sat Jun 9 08:30:52 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread_pthread.c (ruby_init_stack): use stack info if possible.

View File

@ -1174,7 +1174,9 @@ proc_exec_sh(const char *str, VALUE envp_str)
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;
}