diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-05-01 01:13:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-05-01 05:10:34 +0900 |
commit | 814f52a9ebd035ec6e20641c602fa42f64b5dbe0 (patch) | |
tree | 24751aeeb19b9d097a26a5c587e01fbe12de6a79 /io.c | |
parent | b82c06a711cbd1f812251a15c1e864027abe8c37 (diff) |
[Bug #19624] Hide internal IO for backquote
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7776
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10497,6 +10497,7 @@ rb_f_backquote(VALUE obj, VALUE str) if (NIL_P(port)) return rb_str_new(0,0); GetOpenFile(port, fptr); + rb_obj_hide(port); result = read_all(fptr, remain_size(fptr), Qnil); rb_io_close(port); RFILE(port)->fptr = NULL; |