diff options
Diffstat (limited to 'byterun/io.c')
-rw-r--r-- | byterun/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/byterun/io.c b/byterun/io.c index 854f663e8..a261adbc9 100644 --- a/byterun/io.c +++ b/byterun/io.c @@ -69,6 +69,7 @@ CAMLexport struct channel * caml_open_descriptor_in(int fd) channel->revealed = 0; channel->old_revealed = 0; channel->refcount = 0; + channel->flags = 0; channel->next = caml_all_opened_channels; channel->prev = NULL; if (caml_all_opened_channels != NULL) |