diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-02-19 19:22:19 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-02-19 19:22:19 (GMT) |
commit | 905b1456abfc65ee370c64aea672442f5f3a7ecd (patch) | |
tree | 0086d60d2f74e400410515e6fcc364381666113d /tools/h5diff | |
parent | f7d2fbe58db16922e6ff360f46e4334bbcd88831 (diff) | |
download | hdf5-905b1456abfc65ee370c64aea672442f5f3a7ecd.zip hdf5-905b1456abfc65ee370c64aea672442f5f3a7ecd.tar.gz hdf5-905b1456abfc65ee370c64aea672442f5f3a7ecd.tar.bz2 |
HDFFV-10384 merge from develop
Diffstat (limited to 'tools/h5diff')
-rw-r--r-- | tools/h5diff/h5diff_common.c | 2 | ||||
-rw-r--r-- | tools/h5diff/h5diff_main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c index f8e02be..6221843 100644 --- a/tools/h5diff/h5diff_common.c +++ b/tools/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/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c index ad488a4..c5a0cbf 100644 --- a/tools/h5diff/h5diff_main.c +++ b/tools/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); } |