From c665bfd12f26e12675972a53e8cf9dbd2b11c658 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 4 Jun 2004 09:56:25 +0000 Subject: * io.c (rb_io_gets_m): set lastline ($_) even when read line is nil. [ruby-dev:23663] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index 92a435df1..900054f83 100644 --- a/numeric.c +++ b/numeric.c @@ -817,7 +817,7 @@ static VALUE flo_eq(x, y) VALUE x, y; { - double a, b; + volatile double a, b; switch (TYPE(y)) { case T_FIXNUM: -- cgit