Bug #1608: einval in getsockname (windows)
http://redmine.ruby-lang.org/issues/show/1608

Author: Roger Pack
Status: Open, Priority: Normal
ruby -v: p129 mingw

Sorry for the flood--almost got them all :)


112) Error:
test_initialize(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
   c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:39:in `getsockname'
   c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:39:in
`block in test_initialize'
   c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:38:in `open'
   c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:38:in
`test_initialize'

113) Error:
test_linger(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
   c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:135:in `setsockopt'
   c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:135:in `listen'
   c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:304:in `test_linger'

114) Error:
test_tcp_server_sockets(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
   c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:135:in `setsockopt'
   c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:135:in `listen'
   c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:363:in `block in
tcp_server_sockets'
   c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:157:in `each'
   c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:157:in `foreach'
   c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:361:in
`tcp_server_sockets'
   c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:99:in
`test_tcp_server_sockets'


----------------------------------------
http://redmine.ruby-lang.org