[前][次][番号順一覧][スレッド一覧]

ruby-changes:50029

From: nobu <ko1@a...>
Date: Thu, 1 Feb 2018 02:35:32 +0900 (JST)
Subject: [ruby-changes:50029] nobu:r62147 (trunk): io.c: fix comparison subject

nobu	2018-02-01 02:35:27 +0900 (Thu, 01 Feb 2018)

  New Revision: 62147

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62147

  Log:
    io.c: fix comparison subject

  Modified files:
    trunk/io.c
Index: io.c
===================================================================
--- io.c	(revision 62146)
+++ io.c	(revision 62147)
@@ -6202,7 +6202,7 @@ fptr_copy_finalizer(rb_io_t *fptr, const https://github.com/ruby/ruby/blob/trunk/io.c#L6202
 #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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]