Project

General

Profile

Bug #2575 » io.c.diff

取り敢えずのパッチ - taca (Takahiro Kambe), 01/08/2010 12:40 PM

View differences:

io.c 2010-01-08 12:31:15.000000000 +0900
goto again;
rb_sys_fail(fptr->path);
}
if (fptr->f) /* update pos in FILE structure [ruby-core:21561] */
if (fptr->f) {
#ifdef __SOFF
fptr->f->_flags &= ~__SOFF;
(void)io_tell(fptr);
#else
/* update pos in FILE structure [ruby-core:21561] */
fflush(fptr->f);
#endif
}
}
rb_str_resize(str, n);
(1-1/2)