ruby/ext
akr cb302bf351 * ext/socket/rubysocket.h (SockAddrStringValueWithAddrinfo): New macro.
(rsock_sockaddr_string_value_with_addrinfo): New declaration.
  (rsock_addrinfo_inspect_sockaddr): Ditto.
  (rsock_sys_fail_addrinfo): Ditto.
  (rsock_sys_fail_sockaddr_or_addrinfo): Ditto.

* ext/socket/raddrinfo.c (rsock_addrinfo_inspect_sockaddr): Renamed
  from addrinfo_inspect_sockaddr and exported.
  (rsock_sockaddr_string_value_with_addrinfo): New function to obtain
  string and possibly addrinfo object.

* ext/socket/socket.c (rsock_sys_fail_sockaddr): Don't use
  rsock_sys_fail_host_port which is IP dependent.  Invoke
  rsock_sys_fail_addrinfo.
  (rsock_sys_fail_addrinfo): New function using
  rsock_addrinfo_inspect_sockaddr.
  (rsock_sys_fail_addrinfo_or_sockaddr): New function.
  (sock_connect): Use SockAddrStringValueWithAddrinfo and
  rsock_sys_fail_addrinfo_or_sockaddr.
  (sock_connect_nonblock): Ditto.
  (sock_bind): Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-06 05:50:42 +00:00
..
-test- ext/-test-/win32/dln: remove static library 2013-04-05 07:46:29 +00:00
bigdecimal code cleanup by @vipulnsward [GH fixes #267] 2013-03-29 00:42:32 +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 curses.c: fix function 2013-04-05 04:23:05 +00:00
date * ext/date/date_core.c: Typo in Date::MONTHNAMES by Matt Gauger 2013-03-20 22:35:38 +00:00
dbm remove trailing spaces. 2012-09-04 00:57:31 +00:00
digest sha2.c: suppress warnings 2013-04-01 09:39:19 +00:00
dl dl/dl.h: suppress warning 2013-04-05 07:46:26 +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 use INT2FIX(0) instead of INT2NUM(0). 2013-03-05 16:31:19 +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 console.c: supppress warnings 2013-03-16 08:05:45 +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 * ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto. 2013-03-19 01:09:46 +00:00
openssl * ext/openssl/ossl_bn.c (ossl_bn_to_i): Use bn2hex to speed up. 2013-04-04 02:35:07 +00:00
pathname * ext/pathname/pathname.c (path_write): New method. 2013-04-04 11:12:12 +00:00
psych * ext/psych/lib/psych/visitors/yaml_tree.rb: fix symbol keys in coder 2013-04-05 18:12:52 +00:00
pty use rb_pid_t instead of pid_t. 2013-03-21 16:11:32 +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/rubysocket.h (SockAddrStringValueWithAddrinfo): New macro. 2013-04-06 05:50:42 +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 tcltklib.c: rb_thread_alive_p macro 2013-03-28 13:11:00 +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 (rb_gzfile_set_mtime): Use NUM2UINT. 2013-04-01 13:34:52 +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 configure.in: find Setup file automatically 2013-02-25 04:12:45 +00:00
Setup.nacl * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.nt * ext/Setup.nt: this file has not been used by default. 2013-02-25 15:54:00 +00:00
extmk.rb * ext/extmk.rb (extmake): Invoke Logging::log_close in a ensure 2013-04-03 11:28:10 +00:00