1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/socket
akr 1413510ed2 * ext/socket/raddrinfo.c (init_unix_addrinfo): support the longest
path in sockaddr_un.
  (inspect_sockaddr): ditto.
  (addrinfo_mdump): ditto.
  (addrinfo_mload): ditto.
  (rsock_unixpath_str): new function.
  (rsock_unixpath): removed.
  (rsock_unixaddr): use rsock_unixpath_str.

* ext/socket/socket.c (sock_s_pack_sockaddr_un): support the longest
  path in sockaddr_un.
  (sock_s_unpack_sockaddr_un): ditto.
  (sock_s_gethostbyaddr): unused variable removed.

* ext/socket/unixsocket.c (rsock_init_unixsock): support the longest
  path in sockaddr_un.

* ext/socket/rubysocket.h (rsock_unixpath_str): declared.
  (rsock_unixpath): removed.

* test/socket/test_unix.rb: comment out test_nul because abstract unix
  sockets may contain NULs.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-26 03:34:12 +00:00
..
test_addrinfo.rb * ext/socket/lib/socket.rb (family_addrinfo): return the given 2012-01-09 11:11:24 +00:00
test_ancdata.rb * ext/socket/ancdata.c (ancillary_unix_rights): check message type. 2009-02-28 09:29:26 +00:00
test_basicsocket.rb rename tests classes. 2009-02-11 04:17:57 +00:00
test_nonblock.rb * test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYS 2010-06-14 13:46:06 +00:00
test_socket.rb Cent OS 5.6 (2.6.18-238.19.1.el5xen) doesn't correctly work 2012-01-07 23:04:20 +00:00
test_sockopt.rb add tests. 2009-02-11 04:31:19 +00:00
test_tcp.rb rename tests classes. 2009-02-11 04:17:57 +00:00
test_udp.rb rename tests classes. 2009-02-11 04:17:57 +00:00
test_unix.rb * ext/socket/raddrinfo.c (init_unix_addrinfo): support the longest 2012-04-26 03:34:12 +00:00