diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-04 09:56:25 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-04 09:56:25 +0000 |
commit | 1f58464d5fe3a87d76e779f8d41c8e97c3e192ea (patch) | |
tree | 5b3442f1fa0f402c91b1f99f98c0bb7254b30d06 /numeric.c | |
parent | 1d6d407040a43a864a5671f5e09703d1732489d8 (diff) | |
download | ruby-1f58464d5fe3a87d76e779f8d41c8e97c3e192ea.tar.gz ruby-1f58464d5fe3a87d76e779f8d41c8e97c3e192ea.tar.xz ruby-1f58464d5fe3a87d76e779f8d41c8e97c3e192ea.zip |
* 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/trunk@6427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -818,7 +818,7 @@ static VALUE flo_eq(x, y) VALUE x, y; { - double a, b; + volatile double a, b; switch (TYPE(y)) { case T_FIXNUM: |