hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7817) libhdfs3: fix strerror_r detection
Date Fri, 20 Feb 2015 18:49:15 GMT
Colin Patrick McCabe created HDFS-7817:

             Summary: libhdfs3: fix strerror_r detection
                 Key: HDFS-7817
                 URL: https://issues.apache.org/jira/browse/HDFS-7817
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Colin Patrick McCabe

The signature of strerror_r is not quite detected correctly in libhdfs3.  The code assumes
that {{int foo = strerror_r}} will fail to compile with the GNU type signature, but this is
not the case (C\+\+ will coerce the char* to an int in this case).  Instead, we should do
what the libhdfs {{terror}} (threaded error) function does here.

This message was sent by Atlassian JIRA

View raw message