From c1397c573e0463dad6a395078b6aa267e85400ea Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 20 Oct 2014 07:02:20 +0000 Subject: io.c: enclose statements by ifdef * io.c (maygvl_copy_stream_read): enclose following statements by ifdef, not only a case label. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index 9548c439c5..3a0cc01e04 100644 --- a/io.c +++ b/io.c @@ -10333,9 +10333,9 @@ maygvl_copy_stream_read(int has_gvl, struct copy_stream_struct *stp, char *buf, 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; -- cgit v1.2.3