[
https://issues.apache.org/jira/browse/HADOOP-11403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248813#comment-14248813
]
Colin Patrick McCabe commented on HADOOP-11403:
-----------------------------------------------
{code}
return strerror(errnum); // MT-Safe under Solaris which doesn't support
sys_errlist and sys_nerr
{code}
This line is longer than 80 characters... try putting this comment on a
separate line.
+1 once that's addressed
> Solaris does not support sys_errlist requires use of strerror instead
> ---------------------------------------------------------------------
>
> Key: HADOOP-11403
> URL: https://issues.apache.org/jira/browse/HADOOP-11403
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.2.0, 2.3.0, 2.4.0, 2.5.0
> Environment: Solaris 11.1 (Sparc, Intel), Linux x86
> Reporter: Malcolm Kavalsky
> Assignee: Malcolm Kavalsky
> Labels: native, newbie, patch, solaris, terror
> Fix For: 2.6.0
>
> Attachments: HADOOP-11403.001.patch, HADOOP-11403.002.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> sys_errlist has been removed from Solaris. The new interface is strerror.
> Wherever sys_errlist is accessed we should change to using strerror instead.
> We already have an interface function terror which can contain this
> functionality, so we should use it instead of directly accessing sys_errlist.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)