ruby-changes:4084
From: ko1@a...
Date: Fri, 22 Feb 2008 16:10:13 +0900 (JST)
Subject: [ruby-changes:4084] nobu - Ruby:r15574 (ruby_1_8): * bignum.c (rb_big_lshift, rb_big_rshift, rb_big_aref): removed excess
nobu 2008-02-22 16:09:55 +0900 (Fri, 22 Feb 2008)
New Revision: 15574
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/bignum.c
branches/ruby_1_8/version.h
Log:
* bignum.c (rb_big_lshift, rb_big_rshift, rb_big_aref): removed excess
arguments.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=15574&r2=15573&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/bignum.c?r1=15574&r2=15573&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?r1=15574&r2=15573&diff_format=u
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog (revision 15573)
+++ ruby_1_8/ChangeLog (revision 15574)
@@ -1,3 +1,8 @@
+Fri Feb 22 16:09:53 2008 Nobuyoshi Nakada <nobu@r...>
+
+ * bignum.c (rb_big_lshift, rb_big_rshift, rb_big_aref): removed excess
+ arguments.
+
Thu Feb 21 00:01:34 2008 Nobuyoshi Nakada <nobu@r...>
* configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime
Index: ruby_1_8/version.h
===================================================================
--- ruby_1_8/version.h (revision 15573)
+++ ruby_1_8/version.h (revision 15574)
@@ -1,7 +1,7 @@
#define RUBY_VERSION "1.8.6"
-#define RUBY_RELEASE_DATE "2008-02-21"
+#define RUBY_RELEASE_DATE "2008-02-22"
#define RUBY_VERSION_CODE 186
-#define RUBY_RELEASE_CODE 20080221
+#define RUBY_RELEASE_CODE 20080222
#define RUBY_PATCHLEVEL 5000
#define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 6
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 2
-#define RUBY_RELEASE_DAY 21
+#define RUBY_RELEASE_DAY 22
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
Index: ruby_1_8/bignum.c
===================================================================
--- ruby_1_8/bignum.c (revision 15573)
+++ ruby_1_8/bignum.c (revision 15574)
@@ -1367,7 +1367,7 @@
dd = 0;
q = yds[ny-1];
- while ((q & (1<<(BITSPERDIG-1))) == 0) {
+ while ((q & (1U<<(BITSPERDIG-1))) == 0) {
q <<= 1;
dd++;
}
@@ -2012,7 +2012,7 @@
if (!NIL_P(t)) return t;
neg = 1;
}
- shift = big2ulong(y, "long", Qtrue);
+ shift = big2ulong(y, "long");
break;
}
y = rb_to_int(y);
@@ -2081,7 +2081,7 @@
else {
neg = 1;
}
- shift = big2ulong(y, "long", Qtrue);
+ shift = big2ulong(y, "long");
break;
}
y = rb_to_int(y);
@@ -2171,7 +2171,7 @@
out_of_range:
return RBIGNUM(x)->sign ? INT2FIX(0) : INT2FIX(1);
}
- shift = big2ulong(y, "long", Qfalse);
+ shift = big2ulong(y, "long");
}
else {
i = NUM2LONG(y);
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/