diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-01 10:49:40 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-01 10:49:40 +0000 |
commit | 809006f407147d6788d785e86590a79603110a38 (patch) | |
tree | fb038c232e09739c28e901f0307aa4a18e0a11ef /io.c | |
parent | 89a1258110b72b700016ea09cbd7b73c3a875dea (diff) | |
download | ruby-809006f407147d6788d785e86590a79603110a38.tar.gz |
* io.c (rb_io_reopen): call rb_fd_fix_cloexec instead of
rb_maygvl_fd_fix_cloexec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6059,7 +6059,7 @@ rb_io_reopen(int argc, VALUE *argv, VALUE file) rb_sys_fail_path(fptr->pathv); } fptr->fd = fileno(fptr->stdio_file); - rb_maygvl_fd_fix_cloexec(fptr->fd); + rb_fd_fix_cloexec(fptr->fd); #ifdef USE_SETVBUF if (setvbuf(fptr->stdio_file, NULL, _IOFBF, 0) != 0) rb_warn("setvbuf() can't be honoured for %s", RSTRING_PTR(fptr->pathv)); |