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
commitaabd38598457d2af3bb666ff34edc0e850b7b441 (patch)
treee625875669d629be47352a4f4f5b6ecff3da2438 /io.c
parent85fe116d1e3ec547e21d331f9a7f0a91a87e7fb0 (diff)
downloadruby-aabd38598457d2af3bb666ff34edc0e850b7b441.tar.gz
ruby-aabd38598457d2af3bb666ff34edc0e850b7b441.tar.xz
ruby-aabd38598457d2af3bb666ff34edc0e850b7b441.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/branches/ruby_1_8@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 826285842..626e9b8c6 100644
--- a/io.c
+++ b/io.c
@@ -4513,7 +4513,8 @@ static VALUE
rb_f_backquote(obj, str)
VALUE obj, str;
{
- VALUE port, result;
+ volatile VALUE port;
+ VALUE result;
OpenFile *fptr;
SafeStringValue(str);