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

ruby-changes:31173

From: ko1 <ko1@a...>
Date: Fri, 11 Oct 2013 18:12:53 +0900 (JST)
Subject: [ruby-changes:31173] ko1:r43252 (trunk): * vm_trace.c (rb_postponed_job_flush): fix bit operation.

ko1	2013-10-11 18:12:45 +0900 (Fri, 11 Oct 2013)

  New Revision: 43252

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43252

  Log:
    * vm_trace.c (rb_postponed_job_flush): fix bit operation.

  Modified files:
    trunk/ChangeLog
    trunk/vm_trace.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43251)
+++ ChangeLog	(revision 43252)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Oct 11 18:11:34 2013  Koichi Sasada  <ko1@a...>
+
+	* vm_trace.c (rb_postponed_job_flush): fix bit operation.
+
 Fri Oct 11 17:33:24 2013  Akinori MUSHA  <knu@i...>
 
 	* misc/ruby-electric.el: Import ruby-electric.el 2.0 from
Index: vm_trace.c
===================================================================
--- vm_trace.c	(revision 43251)
+++ vm_trace.c	(revision 43252)
@@ -1464,5 +1464,5 @@ rb_postponed_job_flush(rb_vm_t *vm) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L1464
 	TH_POP_TAG();
     }
     /* restore POSTPONED_JOB mask */
-    th->interrupt_mask &= ~saved_postponed_job_interrupt_mask;
+    th->interrupt_mask &= ~(saved_postponed_job_interrupt_mask ^ POSTPONED_JOB_INTERRUPT_MASK);
 }

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

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