diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-12 10:07:00 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-12 10:07:00 +0000 |
commit | 8d72d7bd2a96426943b675a2a3d49cf0c418eebf (patch) | |
tree | a966a6774a8a26177a6d55e2075421e9863c79be | |
parent | ad72d1d3a2952446b2808e137961353100f0d3ce (diff) | |
download | ruby-8d72d7bd2a96426943b675a2a3d49cf0c418eebf.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | process.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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 @@ -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; |