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

ruby-changes:9396

From: usa <ko1@a...>
Date: Tue, 23 Dec 2008 15:30:55 +0900 (JST)
Subject: [ruby-changes:9396] Ruby:r20934 (trunk): * io.c (pipe_open): need to initialize args.

usa	2008-12-23 15:30:33 +0900 (Tue, 23 Dec 2008)

  New Revision: 20934

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

  Log:
    * io.c (pipe_open): need to initialize args.

  Modified files:
    trunk/ChangeLog
    trunk/io.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 20933)
+++ ChangeLog	(revision 20934)
@@ -1,3 +1,7 @@
+Tue Dec 23 15:30:02 2008  NAKAMURA Usaku  <usa@r...>
+
+	* io.c (pipe_open): need to initialize args.
+
 Tue Dec 23 14:18:14 2008  NAKAMURA Usaku  <usa@r...>
 
 	* include/ruby/st.h: need to include defines.h because LONG_LONG is
Index: io.c
===================================================================
--- io.c	(revision 20933)
+++ io.c	(revision 20934)
@@ -4448,7 +4448,7 @@
     struct popen_arg arg;
 #elif defined(_WIN32)
     volatile VALUE argbuf;
-    char **args;
+    char **args = NULL;
     struct rb_exec_arg sarg;
     int pair[2], write_pair[2];
 #endif

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

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