diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-21 04:22:54 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-21 04:22:54 +0000 |
commit | ed6a2bd29f649369beb1b7935cf2625c60581c04 (patch) | |
tree | cda1cb5c64756a7c3530c1ab33e37c168934c146 /bignum.c | |
parent | 4a14c9ceb901697ab4c0a6b3730337ec4ef1133c (diff) | |
download | ruby-ed6a2bd29f649369beb1b7935cf2625c60581c04.tar.gz |
* bignum.c (rb_big2str): t should be protected from GC.
* process.c (rb_proc_times): need not to check retrun value from
times(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -365,7 +365,7 @@ rb_big2str(x, base) VALUE x; int base; { - VALUE t; + volatile VALUE t; BDIGIT *ds; long i, j, hbase; VALUE ss; @@ -395,7 +395,7 @@ rb_big2str(x, base) else { j = 0; hbase = 0; - rb_raise(rb_eArgError, "bignum cannot treat base %d", base); + rb_raise(rb_eArgError, "Bignum cannot treat base %d", base); } t = rb_big_clone(x); |