ruby-changes:56418
From: git <ko1@a...>
Date: Thu, 11 Jul 2019 20:15:14 +0900 (JST)
Subject: [ruby-changes:56418] git: 4018eee431 (master): * expand tabs.
https://git.ruby-lang.org/ruby.git/commit/?id=4018eee431 From 4018eee4311a610dfaa2b2dca02c6f026b71eab7 Mon Sep 17 00:00:00 2001 From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Thu, 11 Jul 2019 20:14:57 +0900 Subject: * expand tabs. diff --git a/io.c b/io.c index 65da68e..3e3a0ed 100644 --- a/io.c +++ b/io.c @@ -2984,7 +2984,7 @@ io_read_nonblock(VALUE io, VALUE length, VALUE str, VALUE ex) https://github.com/ruby/ruby/blob/trunk/io.c#L2984 io_set_read_length(str, n, shrinkable); if (n == 0) { - if (!ex) return Qnil; + if (!ex) return Qnil; rb_eof_error(); } @@ -3016,7 +3016,7 @@ io_write_nonblock(VALUE io, VALUE str, VALUE ex) https://github.com/ruby/ruby/blob/trunk/io.c#L3016 if (n < 0) { int e = errno; if (e == EWOULDBLOCK || e == EAGAIN) { - if (!ex) { + if (!ex) { return sym_wait_writable; } else { @@ -12215,12 +12215,12 @@ argf_getpartial(int argc, VALUE *argv, VALUE argf, VALUE opts, int nonblock) https://github.com/ruby/ruby/blob/trunk/io.c#L12215 } if (NIL_P(tmp)) { if (ARGF.next_p == -1) { - return io_nonblock_eof(no_exception); + return io_nonblock_eof(no_exception); } argf_close(argf); ARGF.next_p = 1; if (RARRAY_LEN(ARGF.argv) == 0) { - return io_nonblock_eof(no_exception); + return io_nonblock_eof(no_exception); } if (NIL_P(str)) str = rb_str_new(NULL, 0); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/