From 9cfc4f8af36ccdcbadf9a5b09135e13bdddea754 Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Mon, 14 Mar 2011 11:52:52 -0500 Subject: [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. --- src/H5Gloc.c | 2 +- src/H5O.c | 4 ++-- 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. * -- cgit v0.12