diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-20 06:08:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-20 06:08:52 +0000 |
commit | 79a5d02e194a5eee47ce2456019cfe2d31565969 (patch) | |
tree | 01dd9b3b9f5e258211ccc691a327f368bcd0efb3 /io.c | |
parent | dc9d02aa1d984a0d3a5e768dd0ec8940e7474c8c (diff) |
2000-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -741,7 +741,8 @@ rb_io_set_lineno(io, lineno) GetOpenFile(io, fptr); rb_io_check_readable(fptr); - return fptr->lineno = NUM2INT(lineno); + fptr->lineno = NUM2INT(lineno); + return lineno; } static void |