[macruby-changes] [2539] MacRuby/trunk/ext/libyaml/rubyext.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Sep 10 15:32:14 PDT 2009
Revision: 2539
http://trac.macosforge.org/projects/ruby/changeset/2539
Author: lsansonetti at apple.com
Date: 2009-09-10 15:32:13 -0700 (Thu, 10 Sep 2009)
Log Message:
-----------
adding missing write barrier
Modified Paths:
--------------
MacRuby/trunk/ext/libyaml/rubyext.c
Modified: MacRuby/trunk/ext/libyaml/rubyext.c
===================================================================
--- MacRuby/trunk/ext/libyaml/rubyext.c 2009-09-10 20:57:09 UTC (rev 2538)
+++ MacRuby/trunk/ext/libyaml/rubyext.c 2009-09-10 22:32:13 UTC (rev 2539)
@@ -548,7 +548,7 @@
rb_yaml_emitter_set_output(VALUE self, SEL sel, VALUE output)
{
rb_yaml_emitter_t *remitter = RYAMLEmitter(self);
- remitter->output = output;
+ GC_WB(&remitter->output, output);
yaml_emitter_t *emitter = &remitter->emitter;
if (!NIL_P(output)) {
if (CLASS_OF(output) == rb_cByteString) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090910/bc1e8d3a/attachment.html>
More information about the macruby-changes
mailing list