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
normal 5a67d8e2e9 * ext/socket/ancdata.c (bsock_sendmsg_internal): drop redundant assignment
We call memset to zero `mh' a few lines above anyways, making
explicitly zero-ing each field unnecessary.

Compilers optimize this code away anyways, but it still costs me
4 lines of my small terminal and even smaller attention span.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-05 22:21:47 +00:00
..
lib stdlib: use IO#wait_*able instead of IO.select when possible 2015-05-06 20:30:43 +00:00
.document
addrinfo.h
ancdata.c * ext/socket/ancdata.c (bsock_sendmsg_internal): drop redundant assignment 2015-06-05 22:21:47 +00:00
basicsocket.c
constants.c use frozen string of symbols 2015-04-14 03:31:28 +00:00
depend Update dependencies. 2014-12-19 13:34:54 +00:00
extconf.rb * ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state, 2015-03-25 08:10:14 +00:00
getaddrinfo.c getaddrinfo.c: GHOST vulnerability check 2015-02-08 04:04:32 +00:00
getnameinfo.c
ifaddr.c ifaddr.c: wrapper object before alloc 2015-05-16 12:57:17 +00:00
init.c socket: avoid redundant fcntl on Linux 2015-05-29 02:24:18 +00:00
ipsocket.c ipsocket.c: fix merge miss 2015-04-30 07:45:36 +00:00
mkconstants.rb
option.c * ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state, 2015-03-25 08:10:14 +00:00
raddrinfo.c raddrinfo.c: fix memory leak 2015-04-08 23:24:10 +00:00
rubysocket.h socket: avoid redundant fcntl on Linux 2015-05-29 02:24:18 +00:00
socket.c connect_nonblock(..., exception: false) does not raise EISCONN 2015-04-20 02:11:10 +00:00
sockport.h
sockssocket.c
tcpserver.c accept_nonblock supports "exception: false" 2015-03-12 03:03:04 +00:00
tcpsocket.c
udpsocket.c
unixserver.c accept_nonblock supports "exception: false" 2015-03-12 03:03:04 +00:00
unixsocket.c