diff options
-rw-r--r-- | spec/ruby/optional/capi/ext/io_spec.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,7 @@ static int set_non_blocking(int fd) { int flags = 1; return ioctl(fd, FIOBIO, &flags); #else errno = ENOSYS; return -1; #endif @@ -137,6 +138,10 @@ VALUE io_spec_rb_io_taint_check(VALUE self, VALUE io) { #ifdef HAVE_RB_IO_WAIT_READABLE #define RB_IO_WAIT_READABLE_BUF 13 VALUE io_spec_rb_io_wait_readable(VALUE self, VALUE io, VALUE read_p) { int fd = io_spec_get_fd(io); char buf[RB_IO_WAIT_READABLE_BUF]; |