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 | 3e4eee53f679f0f2f878a9b58e8d7ba2630f3acd (patch) | |
tree | 5665c4b790e981b4d6fd36e5851fc9ee08862f2c | |
parent | 1af76993ed4e359895112e10d0b0b99b1b0e6ef9 (diff) | |
download | ruby-3e4eee53f679f0f2f878a9b58e8d7ba2630f3acd.tar.gz ruby-3e4eee53f679f0f2f878a9b58e8d7ba2630f3acd.tar.xz ruby-3e4eee53f679f0f2f878a9b58e8d7ba2630f3acd.zip |
* io.c (io_unread): fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Sat Dec 29 03:10:12 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * io.c (io_unread): fix typo. + Sat Dec 29 02:18:45 2007 NAKAMURA Usaku <usa@ruby-lang.org> * io.c (io_unread): adhoc workaround for non-binary mode of some DOSish @@ -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; |