Project

General

Profile

Bug #10369

[PATCH] array.c: missing RB_GC_GUARDs

Added by normalperson (Eric Wong) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
trunk
[ruby-core:65622]

Description

[PATCH] array.c: swap volatile for RB_GC_GUARD

* array.c (ary_recycle_hash): add RB_GC_GUARD
  (rb_ary_diff): remove volatile

The RB_GC_GUARD seems needed for most of the ary_recycle_hash
functions anyways.

Files

#1

Updated by Anonymous over 5 years ago

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

Applied in changeset r47896.


array.c: swap volatile for RB_GC_GUARD

  • array.c (ary_recycle_hash): add RB_GC_GUARD (rb_ary_diff): remove volatile [Bug #10369]

The RB_GC_GUARD seems needed for most of the ary_recycle_hash
functions anyways.

Updated by usa (Usaku NAKAMURA) over 5 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: DONE, 2.1: REQUIRED

Backported into ruby_2_0_0 at r47936.

Updated by nagachika (Tomoyuki Chikanaga) over 5 years ago

  • Backport changed from 2.0.0: DONE, 2.1: REQUIRED to 2.0.0: DONE, 2.1: DONE

Backported into ruby_2_1 at r47949.

Also available in: Atom PDF