diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-22 07:26:42 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-22 07:26:42 +0000 |
commit | bbc9eed034bb9fa7ee0ff1039ca8b9dbf1f92b50 (patch) | |
tree | 8d1f8bb30c4092ea1c809a0f7bfe65bb0cd94d66 /bignum.c | |
parent | 41124390979930ed09433d4dae3909868275a606 (diff) | |
download | ruby-bbc9eed034bb9fa7ee0ff1039ca8b9dbf1f92b50.tar.gz ruby-bbc9eed034bb9fa7ee0ff1039ca8b9dbf1f92b50.tar.xz ruby-bbc9eed034bb9fa7ee0ff1039ca8b9dbf1f92b50.zip |
* the VMS support patch submitted by Akiyoshi, Masamichi
<Masamichi.Akiyoshi@jp.compaq.com> is merged.
* eval.c (exec_under): changing ruby_class is OK, but should not
alter cbase.
* eval.c (yield_under_i): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -290,7 +290,8 @@ rb_quad_pack(buf, val) if (!RBIGNUM(val)->sign) { len = QUAD_SIZE; while (len--) { - *buf = ~*buf++; + *buf = ‾*buf; + buf++; } } } @@ -311,7 +312,8 @@ rb_quad_unpack(buf, sign) RBIGNUM(big)->sign = 0; while (len--) { - *tmp = ~*tmp++; + *tmp = ~*tmp; + tmp++; } } |