mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bignum.c (rb_cstr_to_inum): unnecessarily long buffer was used
for radix 9. [ruby-dev:20057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
05ebd131cf
commit
3819849ac1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Apr 21 18:36:28 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* bignum.c (rb_cstr_to_inum): unnecessarily long buffer was used
|
||||
for radix 9. [ruby-dev:20057]
|
||||
|
||||
Mon Apr 21 17:44:34 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* parse.y (block_append, value_expr0, assign_in_cond,
|
||||
|
|
2
bignum.c
2
bignum.c
|
@ -389,7 +389,7 @@ rb_cstr_to_inum(str, base, badcheck)
|
|||
if (str[0] == '0' && (str[1] == 'd'||str[1] == 'D')) {
|
||||
str += 2;
|
||||
}
|
||||
case 11: case 12: case 13: case 14: case 15:
|
||||
case 9: case 11: case 12: case 13: case 14: case 15:
|
||||
len = 4;
|
||||
break;
|
||||
case 16:
|
||||
|
|
Loading…
Reference in a new issue