Project

General

Profile

Actions

Bug #7383

closed

Use stricter cache check in load.c

Added by funny_falcon (Yura Sokolov) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-11-18 trunk 37708) [x86_64-linux]
Backport:
[ruby-core:49518]

Description

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


Files

0001-Fix-cache-validity-check-of-require.patch (2.57 KB) 0001-Fix-cache-validity-check-of-require.patch h.shirosaki (Hiroshi Shirosaki), 11/19/2012 10:55 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0