summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_main.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-01-14 20:09:44 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-01-14 20:09:44 (GMT)
commit7f7fbb47183b6d6a95da4071acb2f8fff1e51c0b (patch)
treeb9c0c5b3ecee990ccb0c6e5f69c7c0f2f4567304 /tools/h5repack/h5repack_main.c
parent62a9b30a6465db12dd9ee552045cca9d95a40bc3 (diff)
downloadhdf5-7f7fbb47183b6d6a95da4071acb2f8fff1e51c0b.zip
hdf5-7f7fbb47183b6d6a95da4071acb2f8fff1e51c0b.tar.gz
hdf5-7f7fbb47183b6d6a95da4071acb2f8fff1e51c0b.tar.bz2
[svn-r8062] Purpose:
bug fix Description: cases of rank 0 were not handled, now a warning is made that the dataset cannot be compressed Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_main.c')
-rw-r--r--tools/h5repack/h5repack_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack_main.c b/tools/h5repack/h5repack_main.c
index 8ae0f91..73b77b5 100644
--- a/tools/h5repack/h5repack_main.c
+++ b/tools/h5repack/h5repack_main.c
@@ -90,6 +90,11 @@ int main(int argc, char **argv)
/* pack it */
h5repack(infile,outfile,&options);
+#if defined(H5_REPACK_DEBUG)
+ if (h5repack_verify(outfile,&options)<=0)
+ printf("Warning: Output file does not have some of the requested filters\n");
+#endif
+
/* free tables */
h5repack_end(&options);