diff options
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -580,7 +580,7 @@ load_file(fname, script) if (script) { rb_define_global_const("DATA", f); } - if (f != rb_stdin) { + else if (f != rb_stdin) { io_close(f); } } |