ruby-changes:35969
From: nobu <ko1@a...>
Date: Mon, 20 Oct 2014 16:02:33 +0900 (JST)
Subject: [ruby-changes:35969] nobu:r48050 (trunk): io.c: enclose statements by ifdef
nobu 2014-10-20 16:02:20 +0900 (Mon, 20 Oct 2014) New Revision: 48050 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48050 Log: io.c: enclose statements by ifdef * io.c (maygvl_copy_stream_read): enclose following statements by ifdef, not only a case label. Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 48049) +++ io.c (revision 48050) @@ -10333,9 +10333,9 @@ maygvl_copy_stream_read(int has_gvl, str https://github.com/ruby/ruby/blob/trunk/io.c#L10333 goto retry_read; #ifdef ENOSYS case ENOSYS: -#endif stp->notimp = "pread"; return -1; +#endif } stp->syserr = offset == (off_t)-1 ? "read" : "pread"; stp->error_no = errno; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/