Skip to content

Commit

Permalink
Remove hard raise from vio_write
Browse files Browse the repository at this point in the history
  • Loading branch information
methodmissing committed Sep 20, 2009
1 parent 5fdad6e commit a286f47
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/vio/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ vio_write(VALUE io, VALUE iov)
TRAP_END;
if (bytes_written < expected && bytes_written > 0) goto retry;
vio_write_error();
if (bytes_written < expected) rb_raise(rb_eIOError, "Vectored I/O write failure!");
for (i=0; i < cnt; i++) {
rb_ary_push(results, INT2FIX(iovs[i].iov_len));
}
Expand Down

0 comments on commit a286f47

Please sign in to comment.