Project

General

Profile

Bug #1562

r22674 should be backported to 1.8.6

Added by shyouhei (Shyouhei Urabe) about 11 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:23685]

Description

=begin
IMHO revision r22674 is worth backporting to 1.8.6.
cf. http://redmine.ruby-lang.org/repositories/revision/ruby-18?rev=22674

Note that RB_GC_GUARD() is a simple macro introduced since 1.8.7. It's as simple as:

#define RB_GC_GUARD(v) (*(volatile VALUE *)&(v))
=end

Also available in: Atom PDF