diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-22 07:09:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-22 07:09:55 +0000 |
commit | a9a081793cc84543742f91eda1949ffb8b4e0d41 (patch) | |
tree | 0cf93e5f469a3956c4f67e609583ef5e82d66f7c | |
parent | 929223e720abf8166cc44c1cfd126b6c00aa9eea (diff) |
* bignum.c (rb_big_lshift, rb_big_rshift, rb_big_aref): removed excess
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bignum.c | 8 | ||||
-rw-r--r-- | version.h | 6 |
3 files changed, 12 insertions, 7 deletions
@@ -1,3 +1,8 @@ +Fri Feb 22 16:09:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * bignum.c (rb_big_lshift, rb_big_rshift, rb_big_aref): removed excess + arguments. + Thu Feb 21 00:01:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime @@ -1367,7 +1367,7 @@ bigdivrem(x, y, divp, modp) 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 @@ rb_big_lshift(x, y) 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 @@ rb_big_rshift(x, y) else { neg = 1; } - shift = big2ulong(y, "long", Qtrue); + shift = big2ulong(y, "long"); break; } y = rb_to_int(y); @@ -2171,7 +2171,7 @@ rb_big_aref(x, y) out_of_range: return RBIGNUM(x)->sign ? INT2FIX(0) : INT2FIX(1); } - shift = big2ulong(y, "long", Qfalse); + shift = big2ulong(y, "long"); } else { i = NUM2LONG(y); @@ -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[]; |