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

ruby-changes:29814

From: akr <ko1@a...>
Date: Tue, 9 Jul 2013 22:20:10 +0900 (JST)
Subject: [ruby-changes:29814] akr:r41866 (trunk): * bignum.c (bary_mul1): No need to invoke MEMZERO at last.

akr	2013-07-09 22:19:59 +0900 (Tue, 09 Jul 2013)

  New Revision: 41866

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

  Log:
    * bignum.c (bary_mul1): No need to invoke MEMZERO at last.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41865)
+++ ChangeLog	(revision 41866)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jul  9 22:17:58 2013  Tanaka Akira  <akr@f...>
+
+	* bignum.c (bary_mul1): No need to invoke MEMZERO at last.
+
 Tue Jul  9 21:40:01 2013  Kouhei Sutou  <kou@c...>
 
 	* test/rexml/test_text.rb: Add missing tests for Text#<<.
Index: bignum.c
===================================================================
--- bignum.c	(revision 41865)
+++ bignum.c	(revision 41866)
@@ -1800,7 +1800,6 @@ bary_mul1(BDIGIT *zds, size_t zl, BDIGIT https://github.com/ruby/ruby/blob/trunk/bignum.c#L1800
         bary_mul_normal(zds, zl, xds, xl, yds, yl);
         rb_thread_check_ints();
     }
-    MEMZERO(zds + l, BDIGIT, zl - l);
 }
 
 /* determine whether a bignum is sparse or not by random sampling */

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

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