Browse Source

HADOOP-2294. Fix documentation in libhdfs to refer to the correct free
function. Contributed by Craig Macdonald.



git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@653552 13f79535-47bb-0310-9956-ffa450edef68

Christopher Douglas 17 years ago
parent
commit
dbb1447479
2 changed files with 5 additions and 2 deletions
  1. 3 0
      CHANGES.txt
  2. 2 2
      src/c++/libhdfs/hdfs.h

+ 3 - 0
CHANGES.txt

@@ -150,6 +150,9 @@ Trunk (unreleased changes)
     HADOOP-3119. Update javadoc for Text::getBytes to better describe its
     behavior. (Tim Nelson via cdouglas)
 
+    HADOOP-2294. Fix documentation in libhdfs to refer to the correct free
+    function. (Craig Macdonald via cdouglas)
+
 Release 0.17.0 - Unreleased
 
   INCOMPATIBLE CHANGES

+ 2 - 2
src/c++/libhdfs/hdfs.h

@@ -323,7 +323,7 @@ extern  "C" {
 
     /** 
      * hdfsListDirectory - Get list of files/directories for a given
-     * directory-path. freehdfsFileInfo should be called to deallocate memory. 
+     * directory-path. hdfsFreeFileInfo should be called to deallocate memory. 
      * @param fs The configured filesystem handle.
      * @param path The path of the directory. 
      * @param numEntries Set to the number of files/directories in path.
@@ -336,7 +336,7 @@ extern  "C" {
 
     /** 
      * hdfsGetPathInfo - Get information about a path as a (dynamically
-     * allocated) single hdfsFileInfo struct. freehdfsFileInfo should be
+     * allocated) single hdfsFileInfo struct. hdfsFreeFileInfo should be
      * called when the pointer is no longer needed.
      * @param fs The configured filesystem handle.
      * @param path The path of the file.