ruby/ext
akr c89844dbc5 * ext/socket: define and use union_sockaddr instead of struct
sockaddr_storage for less casts.

* ext/socket/rubysocket.h (union_sockaddr): defined.

* ext/socket/socket.c (sock_accept): use union_sockaddr.
  (sock_accept_nonblock): ditto.
  (sock_sysaccept): ditto.
  (sock_s_getnameinfo): ditto.

* ext/socket/basicsocket.c (bsock_getsockname): ditto.
  (bsock_getpeername): ditto.
  (bsock_local_address): ditto.
  (bsock_remote_address): ditto.

* ext/socket/ancdata.c (bsock_recvmsg_internal): ditto.

* ext/socket/init.c (recvfrom_arg): ditto.
  (recvfrom_blocking): ditto.
  (rsock_s_recvfrom): ditto.
  (rsock_s_recvfrom_nonblock): ditto.
  (rsock_getfamily): ditto.

* ext/socket/raddrinfo.c (rb_addrinfo_t): ditto.
  (ai_get_afamily): ditto.
  (inspect_sockaddr): ditto.
  (addrinfo_mdump): ditto.
  (addrinfo_mload): ditto.
  (addrinfo_getnameinfo): ditto.
  (addrinfo_ip_port): ditto.
  (extract_in_addr): ditto.
  (addrinfo_ipv6_to_ipv4): ditto.
  (addrinfo_unix_path): ditto.

* ext/socket/tcpserver.c (tcp_accept): ditto.
  (tcp_accept_nonblock): ditto.
  (tcp_sysaccept): ditto.

* ext/socket/ipsocket.c (ip_addr): ditto.
  (ip_peeraddr): ditto.
  (ip_s_getaddress): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 17:51:17 +00:00
..
-test- Add test for [Backport #7896] [ruby-core:52607] 2013-02-21 08:31:47 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0. 2013-02-19 11:50:48 +00:00
continuation * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
coverage * ext/coverage/coverage.c (Init_coverage): Change list format and 2011-10-10 21:06:39 +00:00
curses * ext/curses/curses.c (window_cury, window_curx, window_maxy, 2012-12-29 12:54:41 +00:00
date * ext/date/date_core.c: [ruby-core:52303] 2013-02-24 12:16:07 +00:00
dbm remove trailing spaces. 2012-09-04 00:57:31 +00:00
digest extconf.rb: git rid of post-1.8 feature 2012-11-27 00:58:52 +00:00
dl * ext/dl/lib/dl/func.rb (DL::Function#unbind, #bound?): suppress NoMethodError when Fiddle is available. [ruby-core:50756] [Bug #7543] 2012-12-11 15:24:31 +00:00
etc * doc/etc.rd: Removed stale documentation file 2012-12-07 07:08:06 +00:00
fcntl * ext/fcntl/fcntl.c: update document. use "file descriptor" instead 2013-01-28 03:34:43 +00:00
fiber * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
fiddle * ext/fiddle/lib/fiddle/struct.rb (Fiddle::CStructEntity#set_ctypes): 2012-12-21 14:16:02 +00:00
gdbm * io.c, process.c, time.c, ext: use rb_sys_fail_str instead of 2012-02-27 01:50:27 +00:00
io io/console: 0.4.2 2013-02-16 04:13:07 +00:00
json * ext/json: merge JSON 1.7.7. 2013-02-12 03:05:45 +00:00
mathn * complex.c (nucomp_canonicalization): renamed. 2008-12-12 23:40:55 +00:00
nkf * remove trailing spaces. 2012-12-05 04:08:17 +00:00
objspace fix typos 2013-01-26 09:51:34 +00:00
openssl * ext/openssl/ossl.c (class OpenSSL): Use only inner parenthesis in 2013-02-19 01:36:30 +00:00
pathname * ext/pathname/lib/pathname.rb: Hide private methods from RDoc. 2012-12-11 06:25:56 +00:00
psych * ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz 2013-02-16 16:19:46 +00:00
pty * ext/pty/pty.c: Documentation for the PTY module 2013-02-20 04:37:35 +00:00
racc/cparse use RB_TYPE_P() instead of comparison of TYPE() 2012-05-23 07:13:21 +00:00
readline * ext/readline/extconf.rb, ext/readline/readline.c: check 2013-02-01 05:37:29 +00:00
ripper vpath.rb: hack for msys make 2013-01-20 13:24:31 +00:00
sdbm * ext/dbm/dbm.c (fdbm_empty_p): fix wrong condtion introduced in r36438. 2012-07-18 14:09:59 +00:00
socket * ext/socket: define and use union_sockaddr instead of struct 2013-02-24 17:51:17 +00:00
stringio * ext/stringio/stringio.c (strio_getline): fix not to raise TypeError 2012-12-27 12:21:17 +00:00
strscan Added #charpos for multibyte string position. 2012-11-28 00:17:33 +00:00
syslog Remove Syslog#inspect and have only Syslog.inspect. 2013-02-19 04:13:57 +00:00
tk extconf.rb: have_header 2013-01-10 07:47:20 +00:00
win32ole * ext/win32ole/win32ole.c: use TlsAlloc instead of __declspec(thread) 2013-01-25 10:17:59 +00:00
zlib * ext/zlib/zlib.c (Zlib::GzipFile): Fix typo by zed_0xff 2013-01-01 18:10:34 +00:00
.document * ext/.document: Add missing ext modules to .document 2012-12-19 16:04:11 +00:00
Setup * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.atheos * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.emx * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.nacl * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.nt * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
extmk.rb extmk.rb: extract SUBMAKEOPTS 2013-02-20 12:06:13 +00:00