diff options
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3301,6 +3301,7 @@ pipe_finalize(rb_io_t *fptr, int noraise) void rb_io_synchronized(rb_io_t *fptr) { + rb_io_check_initialized(fptr); fptr->mode |= FMODE_SYNC; } |