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 #1

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Category set to ext
  • Assignee set to nobu (Nobuyoshi Nakada)
  • Target version set to 1.9.2

=begin

=end

Actions #2

Updated by phasis68 (Heesob Park) over 15 years ago

=begin
This is same to Bug #1323 and was fixed at revision 24173

=end

Actions #3

Updated by usa (Usaku NAKAMURA) over 15 years ago

  • Status changed from Open to Closed
  • Assignee changed from nobu (Nobuyoshi Nakada) to usa (Usaku NAKAMURA)

=begin
thanks for your information.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0