diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-28 18:10:31 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-28 18:10:31 +0000 |
commit | b3c2e224d35a09dc95451d2010b00ef3a6547189 (patch) | |
tree | 5665c4b790e981b4d6fd36e5851fc9ee08862f2c /io.c | |
parent | 57bb055c9334b2778b7a1b7469ce9be70f50bd4b (diff) | |
download | ruby-b3c2e224d35a09dc95451d2010b00ef3a6547189.tar.gz |
* io.c (io_unread): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -294,9 +294,8 @@ io_unread(rb_io_t *fptr) r = lseek(fptr->fd, -len, SEEK_CUR); } else -#else - r = lseek(fptr->fd, -fptr->rbuf_len, SEEK_CUR); #endif + r = lseek(fptr->fd, -fptr->rbuf_len, SEEK_CUR); if (r < 0) { if (errno == ESPIPE) fptr->mode |= FMODE_DUPLEX; |