set svn:eol-style
0 lines of code changed in:
* Merge YARV
1 lines of code changed in:
don't compare struct sockaddr directly.
2 lines of code changed in:
* test/socket/test_unix.rb: disabled on cygwin.
reported by Kouhei Yanagita. [ruby-dev:29080]
1 lines of code changed in:
add a note for cygwin empty UDP packet problem.
This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ.
6 lines of code changed in:
* test/socket/test_nonblock.rb: add timeout to send/receive
an empty UDP packet.
[ruby-dev:28820]
5 lines of code changed in:
* test/socket/test_unix.rb: test_seqpacket_pair removed.
[ruby-dev:28846]
0 lines of code changed in:
* ext/socket/socket.c (bsock_recv_nonblock): new method
BasicSocket#recv_nonblock.
(udp_recvfrom_nonblock): renamed from ip_recvfrom_nonblock.
IPSocket#recvfrom_nonblock is moved to UDPSocket#recvfrom_nonblock.
(unix_recvfrom_nonblock): removed.
UNIXSocket#recvfrom_nonblock is removed.
36 lines of code changed in:
revert sock_sysaccept addition to [ruby-dev:28861].
15 lines of code changed in:
getsockname returns "" on MacOS X
6 lines of code changed in:
* test/socket/{test_nonblock.rb, test_socket.rb}: Windows support.
14 lines of code changed in:
* ext/socket/socket.c (sock_s_unpack_sockaddr_in): reject
non-AF_INET/AF_INET6 sockaddr.
(sock_s_unpack_sockaddr_un): reject non-AF_UNIX sockaddr.
[ruby-dev:28691]
9 lines of code changed in:
fix tests.
6 lines of code changed in:
* ext/socket/socket.c: fix sockaddr_un handling.
127 lines of code changed in:
* ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocket
too. (tested on NetBSD 3.0)
(s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock.
(sock_recvfrom_nonblock): use s_recvfrom_nonblock.
(ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock
(unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock
(s_accept_nonblock): extracted from sock_accept_nonblock.
(sock_accept_nonblock): use s_accept_nonblock.
(tcp_accept_nonblock): new method: TCPServer#accept_nonblock
(unix_accept_nonblock): new method: UNIXServer#accept_nonblock
171 lines of code changed in:
* ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,
ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb,
lib/rss/parser.rb, test/rss/test_content.rb,
test/rss/test_dublincore.rb, test/rss/test_syndication.rb,
test/rss/test_trackback.rb, test/ruby/test_eval.rb,
test/socket/test_socket.rb, test/socket/test_udp.rb:
Object#fcall was renamed as Object#funcall.
6 lines of code changed in:
* test/socket/test_tcp.rb (TestTCPSocket::test_recvfrom): typo
fixed. [ruby-dev:27123]
* string.c (rb_str_substr): should propagate taintness even for
empty strings. [ruby-dev:27121]
* string.c (rb_str_aref): should infect result if range argument
is tainted. [ruby-dev:27121]
2 lines of code changed in:
* ext/syck/rubyext.c (syck_resolver_transfer): remove C++ style
comment (//). [ruby-core:05793]
* lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread with
readpartial. [ruby-talk:127641]
3 lines of code changed in:
* test/socket/test_socket.rb (test_listen): missed to modify.
* test/socket/test_udp.rb (test_bind): ditto.
2 lines of code changed in:
* test/socket/test_{udp,socket}.rb: revert unintentional commit.
2 lines of code changed in:
(10 more)