diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-02-16 15:25:51 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-02-16 15:25:51 (GMT) |
commit | fc875eb5b76542f1765cee0ba8450c6e7b84ed04 (patch) | |
tree | 5814ca302e23493295c23ad70cf8fee25e9c2cfb /tools/src/h5diff | |
parent | 4644bd295a309bd578899a572ee9dd19b44c6c3f (diff) | |
download | hdf5-fc875eb5b76542f1765cee0ba8450c6e7b84ed04.zip hdf5-fc875eb5b76542f1765cee0ba8450c6e7b84ed04.tar.gz hdf5-fc875eb5b76542f1765cee0ba8450c6e7b84ed04.tar.bz2 |
HDFFV-10384 and includes cleanup merged from devlop
Diffstat (limited to 'tools/src/h5diff')
-rw-r--r-- | tools/src/h5diff/h5diff_common.c | 2 | ||||
-rw-r--r-- | tools/src/h5diff/h5diff_main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5diff/h5diff_common.c b/tools/src/h5diff/h5diff_common.c index ce5df78..8f09c81 100644 --- a/tools/src/h5diff/h5diff_common.c +++ b/tools/src/h5diff/h5diff_common.c @@ -178,7 +178,7 @@ void parse_command_line(int argc, break; case 'S': - enable_error_stack = TRUE; + enable_error_stack = 1; break; case 'E': diff --git a/tools/src/h5diff/h5diff_main.c b/tools/src/h5diff/h5diff_main.c index ad488a4..c5a0cbf 100644 --- a/tools/src/h5diff/h5diff_main.c +++ b/tools/src/h5diff/h5diff_main.c @@ -100,7 +100,7 @@ int main(int argc, const char *argv[]) */ parse_command_line(argc, argv, &fname1, &fname2, &objname1, &objname2, &opts); - if (enable_error_stack) { + if (enable_error_stack > 0) { H5Eset_auto2(H5E_DEFAULT, func, edata); H5Eset_auto2(H5tools_ERR_STACK_g, tools_func, tools_edata); } |