io.c.diff
| io.c 2010-01-08 12:31:15.000000000 +0900 | ||
|---|---|---|
| 1297 | 1297 |
goto again; |
| 1298 | 1298 |
rb_sys_fail(fptr->path); |
| 1299 | 1299 |
} |
| 1300 |
if (fptr->f) /* update pos in FILE structure [ruby-core:21561] */ |
|
| 1300 |
if (fptr->f) {
|
|
| 1301 |
#ifdef __SOFF |
|
| 1302 |
fptr->f->_flags &= ~__SOFF; |
|
| 1303 |
(void)io_tell(fptr); |
|
| 1304 |
#else |
|
| 1305 |
/* update pos in FILE structure [ruby-core:21561] */ |
|
| 1301 | 1306 |
fflush(fptr->f); |
| 1307 |
#endif |
|
| 1308 |
} |
|
| 1302 | 1309 |
} |
| 1303 | 1310 |
rb_str_resize(str, n); |
| 1304 | 1311 | |