[前][次][番号順一覧][スレッド一覧]

ruby-changes:10829

From: nobu <ko1@a...>
Date: Wed, 18 Feb 2009 15:35:16 +0900 (JST)
Subject: [ruby-changes:10829] Ruby:r22398 (trunk): * io.c (pipe_open): sarg is always used unless HAVE_FORK.

nobu	2009-02-18 15:33:53 +0900 (Wed, 18 Feb 2009)

  New Revision: 22398

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22398

  Log:
    * io.c (pipe_open): sarg is always used unless HAVE_FORK.

  Modified files:
    trunk/ChangeLog
    trunk/io.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 22397)
+++ ChangeLog	(revision 22398)
@@ -1,3 +1,7 @@
+Wed Feb 18 15:33:51 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* io.c (pipe_open): sarg is always used unless HAVE_FORK.
+
 Wed Feb 18 15:23:34 2009  Akinori MUSHA  <knu@i...>
 
 	* bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined.
Index: io.c
===================================================================
--- io.c	(revision 22397)
+++ io.c	(revision 22398)
@@ -4511,9 +4511,9 @@
 #elif defined(_WIN32)
     volatile VALUE argbuf;
     char **args = NULL;
-    struct rb_exec_arg sarg;
     int pair[2], write_pair[2];
-#elif defined(__SYMBIAN32__)
+#endif
+#if !defined(HAVE_FORK)
     struct rb_exec_arg sarg;
 #endif
     FILE *fp = 0;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]