diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-04-22 23:49:52 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-04-22 23:49:52 (GMT) |
commit | 785bd0975ba13c3033820d0fc809da963fcd54ca (patch) | |
tree | b6de43bf842ae8bd97727cfa4ade87f6a6abde8f /tools/lib | |
parent | 8cd9d8349e5984d8a6f78c9c0c1bb566a9960b23 (diff) | |
download | hdf5-785bd0975ba13c3033820d0fc809da963fcd54ca.zip hdf5-785bd0975ba13c3033820d0fc809da963fcd54ca.tar.gz hdf5-785bd0975ba13c3033820d0fc809da963fcd54ca.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 d11d28f..8b6ace9 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; |