diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | io.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sun Nov 23 07:46:54 2014 Andy Maloney <asmaloney@gmail.com> + + * io.c (rb_io_sysread): Remove redundan assignment of 'n'. + [Fix GH-767] + Sat Nov 22 09:48:33 2014 Tanaka Akira <akr@fsij.org> * tool/make-snapshot: Specify PWD macro for make. @@ -4724,8 +4724,6 @@ rb_io_sysread(int argc, VALUE *argv, VALUE io) rb_raise(rb_eIOError, "sysread for buffered IO"); } - n = fptr->fd; - /* * FIXME: removing rb_thread_wait_fd() here changes sysread semantics * on non-blocking IOs. However, it's still currently possible |