1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix error in update-deps due to tab/space difference

This commit is contained in:
Jeremy Evans 2020-10-28 14:31:20 -07:00
parent dfb3605bbe
commit 58fd54f914
Notes: git 2020-10-29 07:29:31 +09:00

2
io.c
View file

@ -7606,7 +7606,7 @@ rb_io_reopen(int argc, VALUE *argv, VALUE file)
int e = rb_freopen(rb_str_encode_ospath(fptr->pathv),
rb_io_oflags_modestr(oflags),
fptr->stdio_file);
if (e) rb_syserr_fail_path(e, fptr->pathv);
if (e) rb_syserr_fail_path(e, fptr->pathv);
fptr->fd = fileno(fptr->stdio_file);
rb_fd_fix_cloexec(fptr->fd);
#ifdef USE_SETVBUF