summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_main.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-27 20:09:01 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-27 20:09:01 (GMT)
commit26e1b18a578af61b491ff47a32779507df77a6ff (patch)
tree7ed5546454ffd360082b8ab2da1b7f85677cb3c0 /tools/h5repack/h5repack_main.c
parent983e043587f221bc2d0ebc17e403f8f61f438dfd (diff)
downloadhdf5-26e1b18a578af61b491ff47a32779507df77a6ff.zip
hdf5-26e1b18a578af61b491ff47a32779507df77a6ff.tar.gz
hdf5-26e1b18a578af61b491ff47a32779507df77a6ff.tar.bz2
[svn-r12159] Purpose:
bug fix Description: h5repack was not dealing with family files Solution: use the toolslib function h5tools_open to open the file instead of H5Fopen in h5repack Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_main.c')
-rw-r--r--tools/h5repack/h5repack_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_main.c b/tools/h5repack/h5repack_main.c
index 127dc01..333a49a 100644
--- a/tools/h5repack/h5repack_main.c
+++ b/tools/h5repack/h5repack_main.c
@@ -16,6 +16,8 @@
#include <string.h>
#include "h5repack.h"
+const char *progname = "h5repack";
+int d_status = EXIT_SUCCESS;
static void usage(void);
/*-------------------------------------------------------------------------
@@ -108,7 +110,7 @@ int main(int argc, char **argv)
}
/* pack it */
- ret=h5repack(infile,outfile,&options);
+ ret=h5repack(infile,outfile,&options,argc,argv);
/* free tables */
h5repack_end(&options);