Project

General

Profile

Actions

Backport #8911

closed

Please backport r42555 (hash.c `rb_hash_aset`: [DOC] Document key dup)

Added by kachick (Kenichi Kamiya) over 10 years ago. Updated over 10 years ago.


Description

r42555

Hash#[] and Hash#store duplicates string key when the string is unfrozen.
I hope to backport to 2.0.0 and 1.9.3.

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago

  • Status changed from Open to Assigned
Actions #2

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r42945.
Kenichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 42555: [Backport #8911]

* hash.c (rb_hash_aset): [DOC] Document key dup patch by @kachick
  [Fixes GH-382] https://github.com/ruby/ruby/pull/382
Actions

Also available in: Atom PDF

Like0
Like0Like0