diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-14 05:30:29 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-14 05:30:29 +0000 |
commit | fb8018fbdd3a503c3b0ba3a6af628c3b9807b179 (patch) | |
tree | db7b8cc8d3495baf10d4e3d9c3f899233231d629 /io.c | |
parent | 60e720d43710e2d4b9b0655e3a148d81b7a45a84 (diff) | |
download | ruby-fb8018fbdd3a503c3b0ba3a6af628c3b9807b179.tar.gz ruby-fb8018fbdd3a503c3b0ba3a6af628c3b9807b179.tar.xz ruby-fb8018fbdd3a503c3b0ba3a6af628c3b9807b179.zip |
2000-06-14
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -787,7 +787,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 |