diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-03-27 20:09:01 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-03-27 20:09:01 (GMT) |
commit | 26e1b18a578af61b491ff47a32779507df77a6ff (patch) | |
tree | 7ed5546454ffd360082b8ab2da1b7f85677cb3c0 /tools/h5repack/h5repack.c | |
parent | 983e043587f221bc2d0ebc17e403f8f61f438dfd (diff) | |
download | hdf5-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.c')
-rw-r--r-- | tools/h5repack/h5repack.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c index f90ff54..f8f7f53 100644 --- a/tools/h5repack/h5repack.c +++ b/tools/h5repack/h5repack.c @@ -64,18 +64,20 @@ static void aux_initglb_filter(pack_opt_t *options) */ int h5repack(const char* infile, const char* outfile, - pack_opt_t *options) + pack_opt_t *options, + int argc, + const char *argv[]) { /* check input */ if (check_options(options)<0) return -1; /* check for objects in input that are in the file */ - if (check_objects(infile,options)<0) + if (check_objects(infile,options,argc,argv)<0) return -1; /* copy the objects */ - if (copy_objects(infile,outfile,options)<0) + if (copy_objects(infile,outfile,options,argc,argv)<0) return -1; |