summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-03-14 16:56:54 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-03-14 16:56:54 (GMT)
commitf790c4650282a6ea7fb602bd0d7ff26fd49ee670 (patch)
tree4c203533ab8f97a5e12983e2a1a99071fc564f84 /src
parent02ce3aabfca03a60713b63b5081bac0c4470761d (diff)
downloadhdf5-f790c4650282a6ea7fb602bd0d7ff26fd49ee670.zip
hdf5-f790c4650282a6ea7fb602bd0d7ff26fd49ee670.tar.gz
hdf5-f790c4650282a6ea7fb602bd0d7ff26fd49ee670.tar.bz2
[svn-r20242] Corrected an error in the comments for H5Oget_comment(_by_name) and H5G_loc_get_comment_cb: the return
value is the size of the comment excluding NULL terminator. No test is needed.
Diffstat (limited to 'src')
-rw-r--r--src/H5Gloc.c2
-rw-r--r--src/H5O.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Gloc.c b/src/H5Gloc.c
index 82b7575..cfa4f44 100644
--- a/src/H5Gloc.c
+++ b/src/H5Gloc.c
@@ -947,7 +947,7 @@ done:
* Purpose: Retrieve the information for an object from a group location
* and path to that object
*
- * Return: Success: Number of bytes in the comment including the
+ * Return: Success: Number of bytes in the comment excluding the
* null terminator. Zero if the object has no
* comment.
*
diff --git a/src/H5O.c b/src/H5O.c
index 49ac820..41b9865 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -821,7 +821,7 @@ done:
*
* Purpose: Retrieve comment for an object.
*
- * Return: Success: Number of bytes in the comment including the
+ * Return: Success: Number of bytes in the comment excluding the
* null terminator. Zero if the object has no
* comment.
*
@@ -859,7 +859,7 @@ done:
*
* Purpose: Retrieve comment for an object.
*
- * Return: Success: Number of bytes in the comment including the
+ * Return: Success: Number of bytes in the comment excluding the
* null terminator. Zero if the object has no
* comment.
*