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

ruby-changes:29590

From: usa <ko1@a...>
Date: Wed, 26 Jun 2013 16:09:09 +0900 (JST)
Subject: [ruby-changes:29590] usa:r41642 (ruby_1_9_3): merge revision(s) 36763,36764: [Backport #8528]

usa	2013-06-26 16:08:57 +0900 (Wed, 26 Jun 2013)

  New Revision: 41642

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

  Log:
    merge revision(s) 36763,36764: [Backport #8528]
    
    bignum.c: suppress an empty-body warning
    
    * bignum.c (bigdivrem): move decrement to the loop body, to suppress
      an empty-body warning.

  Modified directories:
    branches/ruby_1_9_3/
  Modified files:
    branches/ruby_1_9_3/bignum.c
    branches/ruby_1_9_3/version.h

Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 41641)
+++ ruby_1_9_3/version.h	(revision 41642)
@@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 434
+#define RUBY_PATCHLEVEL 435
 
-#define RUBY_RELEASE_DATE "2013-06-25"
+#define RUBY_RELEASE_DATE "2013-06-26"
 #define RUBY_RELEASE_YEAR 2013
 #define RUBY_RELEASE_MONTH 6
-#define RUBY_RELEASE_DAY 25
+#define RUBY_RELEASE_DAY 26
 
 #include "ruby/version.h"
 
Index: ruby_1_9_3/bignum.c
===================================================================
--- ruby_1_9_3/bignum.c	(revision 41641)
+++ ruby_1_9_3/bignum.c	(revision 41642)
@@ -2729,7 +2729,7 @@ bigdivrem(VALUE x, VALUE y, volatile VAL https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/bignum.c#L2729
     if (modp) {			/* normalize remainder */
 	*modp = zz = rb_big_clone(z);
 	zds = BDIGITS(zz);
-	while (--ny && !zds[ny]); ++ny;
+	while (ny > 1 && !zds[ny-1]) --ny;
 	if (dd) {
 	    t2 = 0; i = ny;
 	    while(i--) {

Property changes on: ruby_1_9_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r36763-36764


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

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