ruby-changes:4897
From: ko1@a...
Date: Mon, 12 May 2008 19:07:26 +0900 (JST)
Subject: [ruby-changes:4897] usa - Ruby:r16390 (trunk): * process.c (rb_spawn_internal): remove calling run_exec_options()
usa 2008-05-12 19:07:00 +0900 (Mon, 12 May 2008)
New Revision: 16390
Modified files:
trunk/ChangeLog
trunk/process.c
Log:
* process.c (rb_spawn_internal): remove calling run_exec_options()
because cannot restore after spawn. we'll fix this later.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16390&r2=16389&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/process.c?r1=16390&r2=16389&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16389)
+++ ChangeLog (revision 16390)
@@ -1,3 +1,8 @@
+Mon May 12 19:05:24 2008 NAKAMURA Usaku <usa@r...>
+
+ * 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@r...>
* process.c (rb_spawn_internal): need to call run_exec_options() before
Index: process.c
===================================================================
--- process.c (revision 16389)
+++ process.c (revision 16390)
@@ -2566,9 +2566,11 @@
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;
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/