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

Allen Wittenauer updated HDFS-632:
----------------------------------

    Attachment: HDFS-632.patch

Removes error.h from hdfsJniHelper.c, which doesn't appear to be necessary and 
breaks compatibility on several operating systems.

> hdfsJniHelper.c: #include <error.h> is not portable
> ---------------------------------------------------
>
>                 Key: HDFS-632
>                 URL: https://issues.apache.org/jira/browse/HDFS-632
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Allen Wittenauer
>         Attachments: HDFS-632.patch
>
>
> hdfsJniHelper.c includes <error.h> but this appears to be unnecessary, since 
> even under Linux none of the routines that are prototyped are used.  Worse 
> yet, error.h doesn't appear to be a standard header file so this breaks on 
> Mac OS X and Solaris and prevents libhdfs from being built.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to