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
akr 2bcd502a71 * io.c (rb_update_max_fd): validate fd.
* ext/socket/rubysocket.h (rsock_discard_cmsg_resource): add
  msg_peek_p argument for the declaration.

* ext/socket/ancdata.c (discard_cmsg): add msg_peek_p argument.
  assume FreeBSD, NetBSD and MacOS X doesn't generate passed fd
  when MSG_PEEK. 
  (rsock_discard_cmsg_resource): add msg_peek_p argument.
  (bsock_recvmsg_internal): call rsock_discard_cmsg_resource with
  msg_peek_p argument.

* ext/socket/unixsocket.c (unix_recv_io): call
  rsock_discard_cmsg_resource with msg_peek_p argument.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-23 08:13:37 +00:00
..
lib * object.c (rb_obj_equal): Add documentation. Patch by Vincent Batts. 2011-05-11 22:56:13 +00:00
.document * Various .document files: Update .document files to match files which 2011-05-11 22:31:17 +00:00
addrinfo.h * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ancdata.c * io.c (rb_update_max_fd): validate fd. 2011-07-23 08:13:37 +00:00
basicsocket.c * thread.c (rb_thread_io_blocking_region): new function to run 2011-02-12 05:44:23 +00:00
constants.c * ext/socket: fixed types. 2010-04-28 08:14:13 +00:00
depend * ext/socket/depend (SOCK_HEADERS): use $(top_srcdir) instaed of 2011-06-22 12:30:22 +00:00
extconf.rb * internal.h: move rb_thread_io_blocking_region() declaration 2011-06-21 12:31:17 +00:00
getaddrinfo.c * ext/socket/getaddrinfo.c: parenthesize macro arguments. 2011-03-26 06:16:42 +00:00
getnameinfo.c This ifdef should be useless after r30374. 2010-12-25 17:37:36 +00:00
init.c * include/ruby/intern.h (rb_update_max_fd): declaration moved from 2011-07-20 13:26:10 +00:00
ipsocket.c * ext/socket/ipsocket.c: parenthesize macro arguments. 2011-03-27 14:16:50 +00:00
mkconstants.rb * ext/socket/mkconstants.rb: add IF_NAMESIZE. 2010-12-26 16:31:01 +00:00
option.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
raddrinfo.c update doc. 2011-06-17 14:53:56 +00:00
rubysocket.h * io.c (rb_update_max_fd): validate fd. 2011-07-23 08:13:37 +00:00
socket.c * include/ruby/intern.h (rb_update_max_fd): declaration moved from 2011-07-20 13:26:10 +00:00
sockport.h
sockssocket.c * ext/socket: use rsock_ prefix for internal initialization functions. 2010-03-22 16:15:21 +00:00
tcpserver.c * ext/socket: fixed types. 2010-04-28 08:14:13 +00:00
tcpsocket.c * ext/socket: use rsock_ prefix for internal initialization functions. 2010-03-22 16:15:21 +00:00
udpsocket.c * thread.c (rb_thread_io_blocking_region): new function to run 2011-02-12 05:44:23 +00:00
unixserver.c * ext/socket: fixed types. 2010-04-28 08:14:13 +00:00
unixsocket.c * io.c (rb_update_max_fd): validate fd. 2011-07-23 08:13:37 +00:00