From: naruse@... Date: 2014-02-18T23:07:55+00:00 Subject: [ruby-core:60840] [ruby-trunk - Bug #9351] Make Rinda::RingFinger work correctly on OpenBSD and NetBSD Issue #9351 has been updated by Yui NARUSE. Backport changed from 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: DONE ---------------------------------------- Bug #9351: Make Rinda::RingFinger work correctly on OpenBSD and NetBSD https://bugs.ruby-lang.org/issues/9351#change-45255 * Author: Jeremy Evans * Status: Closed * Priority: Normal * Assignee: Masatoshi Seki * Category: lib * Target version: * ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-openbsd] * Backport: 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: DONE ---------------------------------------- The current Rinda::RingFinger code assumes that the IP_MULTICAST_LOOP socket option takes int, but in NetBSD and OpenBSD it takes unsigned char. Switch to using Socket::Option.ipv4_multicast_loop for better portability. To get this to work correctly on OpenBSD, the patch in #9350 is required. ---Files-------------------------------- patch-lib_rinda_ring_rb (532 Bytes) -- http://bugs.ruby-lang.org/