From: "funny_falcon (Yura Sokolov)" Date: 2012-11-18T19:09:51+09:00 Subject: [ruby-core:49518] [ruby-trunk - Bug #7383][Open] Use stricter cache check in load.c Issue #7383 has been reported by funny_falcon (Yura Sokolov). ---------------------------------------- Bug #7383: Use stricter cache check in load.c https://bugs.ruby-lang.org/issues/7383 Author: funny_falcon (Yura Sokolov) Status: Open Priority: High Assignee: h.shirosaki (Hiroshi Shirosaki) Category: core Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-11-18 trunk 37708) [x86_64-linux] rb_ary_shared_with_p does not react when #shift or #pop is called on original array. This patch introduce rb_ary_dup_of_p , which makes more adequate check for duplicate of array. https://github.com/ruby/ruby/pull/216 https://github.com/ruby/ruby/pull/216.patch -- http://bugs.ruby-lang.org/