Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rb_ary_dup_of_p - stricter change for array's copy #216

Closed
wants to merge 1 commit into from

Commits on Nov 18, 2012

  1. rb_ary_dup_of_p - stricter change for array's copy

    * array.c (rb_ary_dup_of_p): new function
      stricter check for equality of previously dup-ed array,
      because rb_ary_shared_with_p doesn't handle case when #shift or #pop
      were applied to original array
    
    * include/ruby/intern.h (rb_ary_dup_of_p): declare
    
    * load.c (rb_get_expanded_load_path, get_loaded_features_index):
      use rb_ary_dup_of_p instead of rb_ary_shared_with_p
    funny-falcon committed Nov 18, 2012
    Configuration menu
    Copy the full SHA
    07006ce View commit details
    Browse the repository at this point in the history