diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-31 17:35:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-31 17:35:27 +0000 |
commit | 00716bee784e4f405707a38e8709e71490c7d1bb (patch) | |
tree | 817c161c0c3e019972f9b55f058a4d5d7d09f30c | |
parent | aff05774ad229de043d17e853b094845c6da977a (diff) |
io.c: fix comparison subject
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6202,7 +6202,7 @@ fptr_copy_finalizer(rb_io_t *fptr, const rb_io_t *orig) #if defined(__CYGWIN__) || !defined(HAVE_WORKING_FORK) void (*const old_finalize)(struct rb_io_t*,int) = fptr->finalize; - if (old_finalize == fptr->finalize) return; + if (old_finalize == orig->finalize) return; #endif fptr->finalize = orig->finalize; |