summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-19 17:11:20 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-19 17:11:20 +0000
commit642a9c45fddea6c6e28fa99191098a78cb753355 (patch)
tree0eca20459ad4ad5d09d538137edd520917beae7a /io.c
parent79e857df4a5606d4b4fa3cb28f7e220c543cf1c8 (diff)
downloadruby-642a9c45fddea6c6e28fa99191098a78cb753355.tar.gz
ruby-642a9c45fddea6c6e28fa99191098a78cb753355.tar.xz
ruby-642a9c45fddea6c6e28fa99191098a78cb753355.zip
* io.c (rb_f_backquote): fix a GC problem on
IA64 with gcc 4.0.3 20051216 (prerelease) -O3. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/io.c b/io.c
index be3984e7d..8e0a4e78f 100644
--- a/io.c
+++ b/io.c
@@ -4373,7 +4373,8 @@ rb_f_readlines(int argc, VALUE *argv)
static VALUE
rb_f_backquote(VALUE obj, VALUE str)
{
- VALUE port, result;
+ volatile VALUE port;
+ VALUE result;
OpenFile *fptr;
SafeStringValue(str);