[ruby-core:76970] [Ruby trunk Bug#12645] ext/socket fails to link on some Solaris 10 versions
From:
nagachika00@...
Date:
2016-08-18 14:26:40 UTC
List:
ruby-core #76970
Issue #12645 has been updated by Tomoyuki Chikanaga. Backport changed from 2.1: DONTNEED, 2.2: DONE, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: DONE, 2.3: DONE ruby_2_3 r55960 merged revision(s) 55797. ---------------------------------------- Bug #12645: ext/socket fails to link on some Solaris 10 versions https://bugs.ruby-lang.org/issues/12645#change-60197 * Author: John Keiser * Status: Closed * Priority: Normal * Assignee: * ruby -v: 2.3.1 * Backport: 2.1: DONTNEED, 2.2: DONE, 2.3: DONE ---------------------------------------- The socket extension in core Ruby does not link due to a missing `inet_ntop`, which was added during the Solaris 10 series (10u7, I believe). This patch gets it compiling again by creating a static inet_ntop (same as in getaddrbyname.c) on systems that do not have it. This definitely happens on 2.3.1 and definitely does not happen on 2.1.9. Not sure about 2.2. ---Files-------------------------------- patch (1.02 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>