summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 10:07:00 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 10:07:00 +0000
commit8d72d7bd2a96426943b675a2a3d49cf0c418eebf (patch)
treea966a6774a8a26177a6d55e2075421e9863c79be
parentad72d1d3a2952446b2808e137961353100f0d3ce (diff)
* 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--ChangeLog5
-rw-r--r--process.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6315a4b..5d93bfd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/process.c b/process.c
index bdba37b..a82baa2 100644
--- a/process.c
+++ b/process.c
@@ -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;