diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h index c2e0eaa2fc..5111592935 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -90,6 +90,7 @@ typedef struct rb_io_t { fp->rbuf_len = 0;\ fp->rbuf_capa = 0;\ fp->tied_io_for_writing = 0;\ + fp->enc = 0;\ } while (0) FILE *rb_io_stdio_file(rb_io_t *fptr); |