summaryrefslogtreecommitdiffstats
path: root/tools/h5copy/h5copy.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-02-19 19:22:19 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-02-19 19:22:19 (GMT)
commit905b1456abfc65ee370c64aea672442f5f3a7ecd (patch)
tree0086d60d2f74e400410515e6fcc364381666113d /tools/h5copy/h5copy.c
parentf7d2fbe58db16922e6ff360f46e4334bbcd88831 (diff)
downloadhdf5-905b1456abfc65ee370c64aea672442f5f3a7ecd.zip
hdf5-905b1456abfc65ee370c64aea672442f5f3a7ecd.tar.gz
hdf5-905b1456abfc65ee370c64aea672442f5f3a7ecd.tar.bz2
HDFFV-10384 merge from develop
Diffstat (limited to 'tools/h5copy/h5copy.c')
-rw-r--r--tools/h5copy/h5copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5copy/h5copy.c b/tools/h5copy/h5copy.c
index 1d15d12..1800810 100644
--- a/tools/h5copy/h5copy.c
+++ b/tools/h5copy/h5copy.c
@@ -293,7 +293,7 @@ main (int argc, const char *argv[])
break;
case 'E':
- enable_error_stack = TRUE;
+ enable_error_stack = 1;
break;
default:
@@ -330,7 +330,7 @@ main (int argc, const char *argv[])
leave(EXIT_FAILURE);
}
- 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);
}