summaryrefslogtreecommitdiff
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
commit0e1642ebbfdcca88498b032e057d89e43a456705 (patch)
tree0eca20459ad4ad5d09d538137edd520917beae7a /io.c
parenta88e840f77ec13386617a8353d6f4a772d6c4805 (diff)
* io.c (rb_f_backquote): fix a GC problem on
IA64 with gcc 4.0.3 20051216 (prerelease) -O3. git-svn-id: svn+ssh://ci.ruby-lang.org/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 be3984e7d7..8e0a4e78f3 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);