1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* process.c (rb_spawn_internal): remove calling run_exec_options()

because cannot restore after spawn. we'll fix this later.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-05-12 10:07:00 +00:00
parent ad72d1d3a2
commit 8d72d7bd2a
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon May 12 19:05:24 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* process.c (rb_spawn_internal): remove calling run_exec_options()
because cannot restore after spawn. we'll fix this later.
Mon May 12 18:16:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* process.c (rb_spawn_internal): need to call run_exec_options() before

View file

@ -2566,9 +2566,11 @@ rb_spawn_internal(int argc, VALUE *argv, int default_close_others)
status = rb_fork(&status, rb_exec_atfork, &earg, earg.redirect_fds);
if (prog && earg.argc) earg.argv[0] = prog;
#else
/* XXXXX: need to call this func, but cannot restore after spawn...
if (run_exec_options(&earg) < 0) {
return -1;
}
*/
argc = earg.argc;
argv = earg.argv;