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

ruby-changes:4368

From: ko1@a...
Date: Sun, 30 Mar 2008 16:35:19 +0900 (JST)
Subject: [ruby-changes:4368] akr - Ruby:r15859 (trunk): forgot to return a value.

akr	2008-03-30 16:35:09 +0900 (Sun, 30 Mar 2008)

  New Revision: 15859

  Modified files:
    trunk/io.c

  Log:
    forgot to return a value.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=15859&r2=15858&diff_format=u

Index: io.c
===================================================================
--- io.c	(revision 15858)
+++ io.c	(revision 15859)
@@ -6392,7 +6392,7 @@
             if (copy_stream_wait_write(stp) == -1)
                 return -1;
             if (RUBY_VM_INTERRUPTED(stp->th))
-                return;
+                return -1;
             goto retry_sendfile;
         }
         stp->syserr = "sendfile";

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

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