1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/socket
normal 61e5fe0674 use rb_gc_for_fd for more callers
* dir.c (dir_initialize): use rb_gc_for_fd for ENOMEM
* ext/socket/init.c (rsock_socket): ditto
* ext/socket/socket.c (rsock_socketpair): ditto
* internal.h (rb_gc_for_fd): prototype
* io.c (rb_gc_for_fd): remove static
  [ruby-core:71623] [Feature #11727]

Manpages for opendir(2), socket(2), and socketpair(3posix)
describe ENOMEM as a possible error for each of these;
handle it consistently with our existing wrappers for
open(2)/pipe(2) etc...

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-23 22:50:53 +00:00
..
lib * ext/socket/ancdata.c: Check buffer full and ignore MSG_TRUNC flag. 2015-11-19 13:49:58 +00:00
.document
addrinfo.h
ancdata.c * ext/socket/ancdata.c: Check buffer full and ignore MSG_TRUNC flag. 2015-11-19 13:49:58 +00:00
basicsocket.c socket: avoid arg parsing in bsock_sendmsg_internal 2015-11-17 01:05:30 +00:00
constants.c
depend
extconf.rb * ChangeLog: Good-bye OS/2. 2015-10-18 01:18:34 +00:00
getaddrinfo.c * configure.in: fixed build failure of Haiku. 2015-10-24 13:51:25 +00:00
getnameinfo.c * configure.in: fixed build failure of Haiku. 2015-10-24 13:51:25 +00:00
ifaddr.c
init.c use rb_gc_for_fd for more callers 2015-11-23 22:50:53 +00:00
ipsocket.c rsock_addrinfo: specify address family 2015-10-13 03:14:13 +00:00
mkconstants.rb
option.c
raddrinfo.c suppress a warning 2015-10-19 16:28:56 +00:00
rubysocket.h Haiku now best effort support 2015-11-23 03:54:42 +00:00
socket.c use rb_gc_for_fd for more callers 2015-11-23 22:50:53 +00:00
sockport.h
sockssocket.c
tcpserver.c socket: avoid arg parsing in rsock_s_accept_nonblock 2015-11-16 23:40:15 +00:00
tcpsocket.c rsock_addrinfo: specify address family 2015-10-13 03:14:13 +00:00
udpsocket.c socket: avoid arg parsing in rsock_s_recvfrom_nonblock 2015-11-16 23:25:03 +00:00
unixserver.c socket: avoid arg parsing in rsock_s_accept_nonblock 2015-11-16 23:40:15 +00:00
unixsocket.c