Project

General

Profile

Bug #8703 ยป patch.diff

Glass_saga (Masaki Matsushita), 07/29/2013 04:30 PM

View differences:

hash.c
Check_Type(hash2, T_HASH);
if (!RHASH_EMPTY_P(hash2)) {
if (RHASH_EMPTY_P(hash2)) {
if (RHASH(hash2)->ntbl)
hash_tbl(hash)->type = RHASH(hash2)->ntbl->type;
}
else {
RHASH(hash)->ntbl = st_copy(RHASH(hash2)->ntbl);
rb_hash_rehash(hash);
}
    (1-1/1)