summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-08-25 15:57:14 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-08-25 15:57:14 (GMT)
commit0c8cee593ff5907958fbe89de8a3bf6d1fe5b039 (patch)
tree32650b9979f7abf86b90215f3244ab74ed2df6e4 /tools/h5repack/h5repack.c
parent769daf5479e7dc476611981317869ad27cb2c621 (diff)
downloadhdf5-0c8cee593ff5907958fbe89de8a3bf6d1fe5b039.zip
hdf5-0c8cee593ff5907958fbe89de8a3bf6d1fe5b039.tar.gz
hdf5-0c8cee593ff5907958fbe89de8a3bf6d1fe5b039.tar.bz2
[svn-r15526] userblock options
only write the user block of a pre-existing file with user block in case there is no input user block file tested: windows, linux
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index 3809377..73f78f6 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -410,9 +410,9 @@ static int check_options(pack_opt_t *options)
}
- /*-------------------------------------------------------------------------
- * verify new user userblock options
- *-------------------------------------------------------------------------
+ /*--------------------------------------------------------------------------------
+ * verify new user userblock options; both file name and block size must be present
+ *---------------------------------------------------------------------------------
*/
if ( options->ublock_filename != NULL && options->ublock_size == 0 )
{