summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-03-14 16:52:52 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-03-14 16:52:52 (GMT)
commit9cfc4f8af36ccdcbadf9a5b09135e13bdddea754 (patch)
tree2325479538dbda47816b0980ad2c40738f1b5eec /src
parentac3b230f0b84124e37cea1fb7f5942e8c27970d3 (diff)
downloadhdf5-9cfc4f8af36ccdcbadf9a5b09135e13bdddea754.zip
hdf5-9cfc4f8af36ccdcbadf9a5b09135e13bdddea754.tar.gz
hdf5-9cfc4f8af36ccdcbadf9a5b09135e13bdddea754.tar.bz2
[svn-r20241] 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 02778de..eb90a70 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -822,7 +822,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.
*
@@ -860,7 +860,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.
*