ruby-changes:3857
From: ko1@a...
Date: Thu, 31 Jan 2008 00:21:55 +0900 (JST)
Subject: [ruby-changes:3857] akr - Ruby:r15346 (trunk): * io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'.
akr 2008-01-31 00:21:40 +0900 (Thu, 31 Jan 2008) New Revision: 15346 Modified files: trunk/ChangeLog trunk/io.c Log: * io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'. fixed by Petr Chromec. http://rubyforge.org/tracker/index.php?func=detail&aid=17275&group_id=426&atid=1698 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15346&r2=15345&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=15346&r2=15345&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 15345) +++ ChangeLog (revision 15346) @@ -1,3 +1,9 @@ +Thu Jan 31 00:01:51 2008 Tanaka Akira <akr@f...> + + * io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'. + fixed by Petr Chromec. + http://rubyforge.org/tracker/index.php?func=detail&aid=17275&group_id=426&atid=1698 + Wed Jan 30 17:32:49 2008 NARUSE, Yui <naruse@r...> * enc/*.c: add GB12345, UCS-{2,4}{BE,LE}. Index: io.c =================================================================== --- io.c (revision 15345) +++ io.c (revision 15346) @@ -5316,7 +5316,7 @@ if (ep) { list = RARRAY_PTR(res)[2]; for (i=0; i< RARRAY_LEN(except); i++) { - VALUE obj = rb_ary_entry(write, i); + VALUE obj = rb_ary_entry(except, i); VALUE io = rb_io_get_io(obj); VALUE write_io = GetWriteIO(io); GetOpenFile(io, fptr); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/