summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorgit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-07-11 20:14:57 +0900
committergit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-07-11 20:14:57 +0900
commit4018eee4311a610dfaa2b2dca02c6f026b71eab7 (patch)
tree3b4a43200e20afc23ded519e72825518ef2ec354 /io.c
parent3e7d002118a92fad5934e11c75be6768a1476c1b (diff)
downloadbundler-4018eee4311a610dfaa2b2dca02c6f026b71eab7.tar.gz
* expand tabs.
Diffstat (limited to 'io.c')
-rw-r--r--io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/io.c b/io.c
index 65da68e19a..3e3a0ed448 100644
--- a/io.c
+++ b/io.c
@@ -2984,7 +2984,7 @@ io_read_nonblock(VALUE io, VALUE length, VALUE str, VALUE ex)
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)
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)
}
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);