diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-04-22 23:49:52 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:37:19 (GMT) |
commit | 2f5d6bac34f17dbe76d8309b50b3d042ac2671d0 (patch) | |
tree | 66d0e9fac9bae61e511ea9f64db33388c48d6223 /tools/lib | |
parent | 957e4eba9c3a0452a2c0841a4747b5776ddf9fdf (diff) | |
download | hdf5-2f5d6bac34f17dbe76d8309b50b3d042ac2671d0.zip hdf5-2f5d6bac34f17dbe76d8309b50b3d042ac2671d0.tar.gz hdf5-2f5d6bac34f17dbe76d8309b50b3d042ac2671d0.tar.bz2 |
Fixed h5diff command-line parameters to use 1 and 2 instead of src
and dst.
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5diff.c | 8 | ||||
-rw-r--r-- | tools/lib/h5diff.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index 10ff44c..42010be 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -572,8 +572,8 @@ h5diff(const char *fname1, const char *fname2, const char *objname1, const char *------------------------------------------------------------------------- */ /* open file 1 */ - if (opts->custom_in_vol) { - if((fapl1_id = h5tools_get_fapl(H5P_DEFAULT, &(opts->in_vol_info), NULL)) < 0 ) { + if (opts->custom_vol_1) { + if((fapl1_id = h5tools_get_fapl(H5P_DEFAULT, &(opts->vol_info_1), NULL)) < 0 ) { parallel_print("h5diff: unable to create fapl for input file\n"); H5TOOLS_GOTO_ERROR(H5DIFF_ERR, "unable to create input fapl\n"); } @@ -587,8 +587,8 @@ h5diff(const char *fname1, const char *fname2, const char *objname1, const char /* open file 2 */ - if (opts->custom_out_vol) { - if((fapl2_id = h5tools_get_fapl(H5P_DEFAULT, &(opts->out_vol_info), NULL)) < 0 ) { + if (opts->custom_vol_2) { + if((fapl2_id = h5tools_get_fapl(H5P_DEFAULT, &(opts->vol_info_2), NULL)) < 0 ) { parallel_print("h5diff: unable to create fapl for output file\n"); H5TOOLS_GOTO_ERROR(H5DIFF_ERR, "unable to create output fapl\n"); } diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h index 1ac1dd7..8fe9d86 100644 --- a/tools/lib/h5diff.h +++ b/tools/lib/h5diff.h @@ -87,10 +87,10 @@ typedef struct { int m_list_not_cmp; /* list not comparable messages */ int exclude_path; /* exclude path to an object */ struct exclude_path_list * exclude; /* keep exclude path list */ - h5tools_vol_info_t in_vol_info; /* VOL information for input file */ - h5tools_vol_info_t out_vol_info; /* VOL information for output file */ - hbool_t custom_in_vol; /* Using a custom input VOL? */ - hbool_t custom_out_vol; /* Using a custom output VOL? */ + h5tools_vol_info_t vol_info_1; /* VOL information for input file */ + h5tools_vol_info_t vol_info_2; /* VOL information for output file */ + hbool_t custom_vol_1; /* Using a custom input VOL? */ + hbool_t custom_vol_2; /* Using a custom output VOL? */ } diff_opt_t; |