diff options
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -873,6 +873,7 @@ static val make_stdio_stream_common(FILE *f, val descr, struct cobj_ops *ops) val stream = cobj((mem_t *) h, stream_s, ops); h->f = f; h->descr = descr; + h->mode = nil; utf8_decoder_init(&h->ud); h->pid = 0; return stream; |