You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2015/02/13 21:32:12 UTC

[jira] [Resolved] (HADOOP-7147) setnetgrent in native code is not portable

     [ https://issues.apache.org/jira/browse/HADOOP-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth resolved HADOOP-7147.
-----------------------------------
    Resolution: Duplicate

HADOOP-10699 took care of {{setnetgrent}} portability issues while working on getting the code to build on Mac.  The code currently builds fine on Mac, so I don't believe there are any remaining issues to track here.  I'm resolving it as duplicate.

> setnetgrent in native code is not portable
> ------------------------------------------
>
>                 Key: HADOOP-7147
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7147
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 0.22.0, 0.23.0
>            Reporter: Todd Lipcon
>         Attachments: HADOOP-7147.patch, hadoop-7147.patch
>
>
> HADOOP-6864 uses the setnetgrent function in a way which is not compatible with BSD APIs, where the call returns void rather than int. This prevents the native libs from building on OSX, for example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)