* 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:
parent
c4c79e256b
commit
0ec4ae7c8e
@ -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>
|
Sat Jun 9 08:30:52 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* thread_pthread.c (ruby_init_stack): use stack info if possible.
|
* thread_pthread.c (ruby_init_stack): use stack info if possible.
|
||||||
|
@ -1174,7 +1174,9 @@ proc_exec_sh(const char *str, VALUE envp_str)
|
|||||||
int
|
int
|
||||||
rb_proc_exec(const char *str)
|
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());
|
preserving_errno(after_exec());
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user