Project

General

Profile

Actions

Bug #12645

closed

ext/socket fails to link on some Solaris 10 versions

Added by jkeiser (John Keiser) almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:76646]

Description

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) patch jkeiser (John Keiser), 08/01/2016 08:16 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0