diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-03 09:00:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-03 09:00:52 +0000 |
commit | 880d7af47a66f021712eac17adffac2686d08aad (patch) | |
tree | 71f148de518815dc3548c36896ad0ad142e9015a /bignum.c | |
parent | 7cf8256075020e1dd80800807e3d92f3350511e6 (diff) | |
download | ruby-880d7af47a66f021712eac17adffac2686d08aad.tar.gz |
* struct.c (make_struct): remove redefining constant when
conflict. [ruby-dev:24210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1752,15 +1752,17 @@ rb_big_or(xx, yy) */ VALUE -rb_big_xor(x, y) - VALUE x, y; +rb_big_xor(xx, yy) + VALUE xx, yy; { + volatile VALUE x, y; VALUE z; BDIGIT *ds1, *ds2, *zds; long i, l1, l2; char sign; - y = rb_to_int(y); + x = xx; + y = rb_to_int(yy); if (FIXNUM_P(y)) { y = rb_int2big(FIX2LONG(y)); } |