Project

General

Profile

Actions

Bug #1608

closed

einval in getsockname (windows)

Added by rogerdpack (Roger Pack) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
p129 mingw
Backport:
[ruby-core:23802]

Description

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

  1. 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'

  2. 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'

  3. 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'
    =end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0