summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-04 09:56:25 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-04 09:56:25 +0000
commit79c70445820ff72bfa1e2f4b0d4c1cc73e5fb510 (patch)
treeefc33dbe637bec20505d88c484551fe7a8445496 /numeric.c
parent1c9d6dd646d508a3b4de0e84424283242708fe77 (diff)
* io.c (rb_io_gets_m): set lastline ($_) even when read line is
nil. [ruby-dev:23663] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 92a435df15..900054f83e 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: