hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-829) hdfsJniHelper.c: #include <error.h> is not portable
Date Tue, 15 Dec 2009 07:52:18 GMT

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

Eli Collins updated HDFS-829:
-----------------------------

    Attachment: hdfs-829.patch

Looks good. libhdfs doesn't need to include error.h. Uploaded a patch that applies against
trunk (libhdfs was moved to hdfs).  Thanks Allen.

> hdfsJniHelper.c: #include <error.h> is not portable
> ---------------------------------------------------
>
>                 Key: HDFS-829
>                 URL: https://issues.apache.org/jira/browse/HDFS-829
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Allen Wittenauer
>         Attachments: HDFS-632.patch, hdfs-829.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