diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-02 11:30:40 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-02 11:30:40 +0000 |
commit | 77636d0364d5df961834b64bff1a3bc8f50ce259 (patch) | |
tree | 08daddca550394c954a1bdddc3d415f7d54dcb92 /eval.c | |
parent | 779f3d6d11146c5c4e6acfff3c1c05f404387cf0 (diff) |
* string.c (rb_str_sum): should use bignums when bits is greater
than or equals to sizeof(long)*CHAR_BITS. [ruby-dev:24395]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6322,10 +6322,10 @@ specific_eval(argc, argv, klass, self) rb_id2name(ruby_frame->last_func), rb_id2name(ruby_frame->last_func)); } + if (argc > 2) line = NUM2INT(argv[2]); if (argc > 1) { file = StringValuePtr(argv[1]); } - if (argc > 2) line = NUM2INT(argv[2]); } return eval_under(klass, self, argv[0], file, line); } |