usa
a01e1cfb5b
* test/socket/test_tcp.rb (test_recvfrom): already can run on mswin32.
...
* test/socket/test_tcp.rb (test_recvfrom, test_encoding): use IP address instead
of host name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 06:14:37 +00:00
usa
14c06bd441
* test/socket/test_tcp.rb (test_recvfrom, test_encoding): shouldn't assume
...
that th is not nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 06:02:23 +00:00
shugo
5545c5aafa
* ext/socket/socket.c (init_sock): sockets should be binmode.
...
* test/socket/test_tcp.rb (test_encoding): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 02:50:43 +00:00
mame
a0895f84b0
* test/socket/test_tcp.rb (test_recvfrom): replace an irrelevant test
...
for old behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-23 14:25:32 +00:00
akr
68543f3092
use ML ref. for assertion message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-18 07:18:56 +00:00
usa
1588a79069
* test/socket/test_tcp.rb (test_recvfrom): same as mswin32 on mswin64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01 07:27:26 +00:00
ko1
a3e1b1ce7e
* Merge YARV
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 15:02:22 +00:00
matz
ffe2293998
* 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-17 14:40:06 +00:00
matz
1b644555ae
* 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-16 03:09:51 +00:00
nobu
32481c4126
* test/socket/test_socket.rb (test_setsockopt): use SO_LINGER instead
...
of SO_BINDTODEVICE. fixed: [ruby-dev:25133]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-09 01:19:30 +00:00
nobu
ec8d7f3672
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): merged worker threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 23:35:18 +00:00
nobu
807a93be08
* test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): write
...
operation ignores EAGAIN.
* test/ruby/test_super.rb (TestSuper#test_define_method): test for
super from proc. [ruby-core:03856]
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): make
execution order more precise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 18:26:12 +00:00
nobu
29cbbc5b38
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): fix local
...
variable conflict. [ruby-dev:25083]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 23:02:17 +00:00
matz
aa92750f27
* process.c (proc_setgroups): [ruby-dev:25081]
...
* re.c (rb_reg_eqq): document fix. [ruby-talk:122541]
* io.c (io_fread): take VALUE argument.
* ext/socket/socket.c (sock_connect): use rb_str_new4().
[ruby-dev:25052]
* eval.c (rb_yield_0): [ruby-dev:25051]
* io.c (io_write): remove rb_str_locktmp(). [ruby-dev:25050]
* io.c (io_fwrite): takes VALUE string as an argument.
[ruby-dev:25050]
* ext/socket/socket.c (sock_connect): remove rb_str_locktmp().
[ruby-dev:25050]
* ext/socket/socket.c (udp_connect): [ruby-dev:25045]
* ext/socket/socket.c (udp_bind): ditto.
* ext/socket/socket.c (udp_send): ditto.
* ext/socket/socket.c (bsock_send): ditto.
* ext/socket/socket.c (s_recvfrom): ditto.
* hash.c (rb_hash_hash): should provide "hash" method where "eql?"
is redefined. [ruby-talk:122482]
* ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 15:31:26 +00:00
nobu
35091fdda5
* test/socket/test_socket.rb (TestBasicSocket#test_setsockopt):
...
BasicSocket#setsockopt dumps core. [ruby-dev:25039]
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom):
TCPSocket#recvfrom dumps core. [ruby-dev:24705]
* test/socket/test_udp.rb (TestUDPSocket#test_connect):
UDPSocket#connect dumps core. [ruby-dev:25045]
* test/socket/test_udp.rb (TestUDPSocket#test_bind):
UDPSocket#bind dumps core. [ruby-dev:25057]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 08:15:56 +00:00