summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-10-24 16:41:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-10-24 16:41:42 (GMT)
commit9cef4137d0e950cf3b052d598a576ec28723b252 (patch)
treeaf97d5e652f4755c3711c5855cf8cda408d03ee8
parente7303eb36a8b91da758e8dbe1fe019934e897fdd (diff)
parentdef0d66aa2db7e3d87f5527b56b512680703418e (diff)
downloadhdf5-9cef4137d0e950cf3b052d598a576ec28723b252.zip
hdf5-9cef4137d0e950cf3b052d598a576ec28723b252.tar.gz
hdf5-9cef4137d0e950cf3b052d598a576ec28723b252.tar.bz2
Merge pull request #721 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'def0d66aa2db7e3d87f5527b56b512680703418e': fix typo Fix typos
-rw-r--r--tools/lib/h5tools.c10
-rw-r--r--tools/src/h5repack/h5repack_copy.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 6ea5e47..89cb524 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -623,9 +623,9 @@ h5tools_count_ncols(const char *s)
*
* Purpose: Recursive check for any variable length data in given type.
*
- * Return: TRUE : type conatains any variable length data
+ * Return: TRUE : type contains any variable length data
* FALSE : type doesn't contain any variable length data
- * Negative value: error occur
+ * Negative value: failed
*-------------------------------------------------------------------------
*/
htri_t
@@ -652,9 +652,9 @@ done:
*
* Purpose: Recursive check for variable length string of a datatype.
*
- * Return: TRUE : type conatains any variable length string
+ * Return: TRUE : type contains any variable length string
* FALSE : type doesn't contain any variable length string
- * Negative value: error occur
+ * Negative value: failed
*-------------------------------------------------------------------------
*/
htri_t
@@ -1652,7 +1652,7 @@ render_bin_output_region_data_points(hid_t region_space, hid_t region_id,
* Function: render_bin_output_region_points
*
* Purpose: Print some values from a dataset referenced by region points.
- * This is a special case subfunction to dump a region reference using points.
+ * This is a special case function to dump a region reference using points.
*
* Return: False if the last dimension has been reached
* True otherwise
diff --git a/tools/src/h5repack/h5repack_copy.c b/tools/src/h5repack/h5repack_copy.c
index a85ef08..5487c27 100644
--- a/tools/src/h5repack/h5repack_copy.c
+++ b/tools/src/h5repack/h5repack_copy.c
@@ -1440,7 +1440,7 @@ void
print_user_block(const char *filename, hid_t fid)
{
int ret_value = 0;
- hid_t fh = -1; /* file handle */
+ int fh = -1; /* file handle */
hsize_t ub_size; /* user block size */
hsize_t size; /* size read */
hid_t fcpl = -1; /* file creation property list ID for HDF5 file */