mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c (rb_ary_diff): fix a GC problem on IA64 with
gcc 3.3.5 (Debian 1:3.3.5-13). When rb_ary_push is called, there was no register which contains `hash' but `&RHASH(hash)->tbl' instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d5b9c77750
commit
205f93b567
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
Tue Dec 13 01:44:16 2005 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* array.c (rb_ary_diff): fix a GC problem on IA64 with
|
||||
gcc 3.3.5 (Debian 1:3.3.5-13).
|
||||
When rb_ary_push is called, there was no register which contains
|
||||
`hash' but `&RHASH(hash)->tbl' instead.
|
||||
|
||||
Tue Dec 13 00:08:09 2005 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* sprintf.c (rb_str_format): fix a GC problem.
|
||||
|
|
3
array.c
3
array.c
|
@ -2638,7 +2638,8 @@ static VALUE
|
|||
rb_ary_diff(ary1, ary2)
|
||||
VALUE ary1, ary2;
|
||||
{
|
||||
VALUE ary3, hash;
|
||||
VALUE ary3;
|
||||
volatile VALUE hash;
|
||||
long i;
|
||||
|
||||
hash = ary_make_hash(to_ary(ary2), 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue