mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* io.c (rb_io_wait_readable): handle retryable errors.
* io.c (rb_io_wait_writable): ditto. * ext/socket/socket.c (bsock_send): ditto. * ext/socket/socket.c (s_recvfrom): ditto. * ext/socket/socket.c (s_accept): ditto. * ext/socket/socket.c (udp_send): ditto. * ext/socket/getaddrinfo.c (afdl): made private structures constant. * rubyio.h: prototype; rb_io_wait_readable(), rb_io_wait_writable(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ab6b478615
commit
71c41cf5a5
5 changed files with 90 additions and 66 deletions
2
rubyio.h
2
rubyio.h
|
@ -64,6 +64,8 @@ void rb_io_check_readable _((OpenFile*));
|
|||
void rb_io_fptr_finalize _((OpenFile*));
|
||||
void rb_io_synchronized _((OpenFile*));
|
||||
void rb_io_check_closed _((OpenFile*));
|
||||
int rb_io_wait_readable _((int));
|
||||
int rb_io_wait_writable _((int));
|
||||
|
||||
VALUE rb_io_taint_check _((VALUE));
|
||||
void rb_eof_error _((void));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue