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
shugo 4ccfb2743f * ext/socket/raddrinfo.c (rsock_unix_sockaddr_len): return
sizeof(sa_familiy_t) if path is empty.  see "Autobind Feature" in
  unix(7) for details.

* ext/socket/lib/socket.rb (unix_socket_abstract_name?): treat an
  empty path as an abstract name.

* test/socket/test_unix.rb: related test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-31 04:59:31 +00:00
..
lib * ext/socket/raddrinfo.c (rsock_unix_sockaddr_len): return 2013-01-31 04:59:31 +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 Supress warnings: unused variables 2012-10-22 00:47:50 +00:00
basicsocket.c * ext/socket/basicsocket.c (bsock_getsockname): ignore truncated 2013-01-30 12:01:51 +00:00
constants.c * ext/socket: fixed types. 2010-04-28 08:14:13 +00:00
depend rb_thread_call_without_gvl 2012-07-10 13:57:11 +00:00
extconf.rb extconf.rb: fix warnings 2013-01-26 02:31:40 +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 * ext/socket/basicsocket.c (bsock_getsockname): ignore truncated 2013-01-30 12:01:51 +00:00
ipsocket.c * ext/socket/ipsocket.c (IPSocket#peeraddr): Fix example 2012-11-23 01:46:51 +00:00
mkconstants.rb * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
option.c * include/ruby/ruby.h: add C APIs. 2012-10-20 06:57:51 +00:00
raddrinfo.c * ext/socket/raddrinfo.c (rsock_unix_sockaddr_len): return 2013-01-31 04:59:31 +00:00
rubysocket.h * ext/socket/raddrinfo (rsock_unix_sockaddr_len): renamed from 2013-01-25 23:33:50 +00:00
socket.c * ext/socket/socket.c (sock_s_pack_sockaddr_un): calculate the 2013-01-29 00:32:05 +00:00
sockport.h * ext/socket/sockport.h (SS_LEN): defined unconditionally. 2009-03-02 12:39:47 +00:00
sockssocket.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
tcpserver.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
tcpsocket.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
udpsocket.c * ext/socket/{basicksocket,init,udpsocket}.c: revert some parts of 2012-09-10 01:41:59 +00:00
unixserver.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
unixsocket.c * ext/socket/basicsocket.c (bsock_getsockname): ignore truncated 2013-01-30 12:01:51 +00:00