hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-632) hdfsJniHelper.c: #include <error.h> is not portable
Date Thu, 29 Oct 2009 17:31:59 GMT

     [ 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.


Mime
View raw message