diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-07-30 22:26:39 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-07-30 22:26:39 (GMT) |
commit | f977c4dfd0e5eb6f6e8527bdc9e48edebe500d78 (patch) | |
tree | 124460e7d9b653f56af03836afb297907f344321 /tools/src/h5repack/h5repack.c | |
parent | 34323c289dabeb875beb9765fafa3651d0378f4f (diff) | |
parent | 11bfbb10012b06894e70730735cf9c47bf565fe8 (diff) | |
download | hdf5-f977c4dfd0e5eb6f6e8527bdc9e48edebe500d78.zip hdf5-f977c4dfd0e5eb6f6e8527bdc9e48edebe500d78.tar.gz hdf5-f977c4dfd0e5eb6f6e8527bdc9e48edebe500d78.tar.bz2 |
Merge branch 'hdf5_1_10' into 1_10_normalization
Diffstat (limited to 'tools/src/h5repack/h5repack.c')
-rw-r--r-- | tools/src/h5repack/h5repack.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/src/h5repack/h5repack.c b/tools/src/h5repack/h5repack.c index d17d465..9347eff 100644 --- a/tools/src/h5repack/h5repack.c +++ b/tools/src/h5repack/h5repack.c @@ -79,6 +79,8 @@ h5repack_init(pack_opt_t *options, int verbose, hbool_t latest) options->layout_g = H5D_LAYOUT_ERROR; options->low_bound = H5F_LIBVER_EARLIEST; options->high_bound = H5F_LIBVER_LATEST; + options->fin_fapl = H5P_DEFAULT; + options->fout_fapl = H5P_DEFAULT; for (n = 0; n < H5_REPACK_MAX_NFILTERS; n++) { options->filter_g[n].filtn = -1; @@ -739,7 +741,8 @@ check_objects(const char* fname, pack_opt_t *options) * open the file *------------------------------------------------------------------------- */ - if ((fid = h5tools_fopen(fname, H5F_ACC_RDONLY, H5P_DEFAULT, NULL, NULL, 0)) < 0) + if ((fid = h5tools_fopen(fname, H5F_ACC_RDONLY, options->fin_fapl, + (options->fin_fapl == H5P_DEFAULT) ? FALSE : TRUE, NULL, 0)) < 0) H5TOOLS_GOTO_ERROR((-1), "h5tools_fopen failed <%s>: %s", fname, H5FOPENERROR); /*------------------------------------------------------------------------- |