summaryrefslogtreecommitdiffstats
path: root/tools/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-04-08 00:35:30 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-04-08 00:35:30 (GMT)
commitce39d7501c58427add05aba62956acb84a6f56da (patch)
tree02f3845f417bd80bc1c6469e78ef3981babec648 /tools/src
parent2f4152d02dbe55c158fa0ceb91ce8fb1a5a47bd3 (diff)
downloadhdf5-ce39d7501c58427add05aba62956acb84a6f56da.zip
hdf5-ce39d7501c58427add05aba62956acb84a6f56da.tar.gz
hdf5-ce39d7501c58427add05aba62956acb84a6f56da.tar.bz2
Brings H5CX_pop() changes from develop
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/misc/h5debug.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/src/misc/h5debug.c b/tools/src/misc/h5debug.c
index b38c92f..ae5b0e5 100644
--- a/tools/src/misc/h5debug.c
+++ b/tools/src/misc/h5debug.c
@@ -15,7 +15,7 @@
*
* Created: debug.c
* Jul 18 1997
- * Robb Matzke <matzke@llnl.gov>
+ * Robb Matzke
*
* Purpose: Debugs an existing HDF5 file at a low level.
*
@@ -67,7 +67,6 @@
* Return: Non-NULL on success/NULL on failure
*
* Programmer: Quincey Koziol
- * koziol@hdfgroup.org
* Sep 11 2008
*
*-------------------------------------------------------------------------
@@ -149,7 +148,6 @@ get_H5B2_class(const uint8_t *sig)
* Return: Non-NULL on success/NULL on failure
*
* Programmer: Quincey Koziol
- * koziol@hdfgroup.org
* Sep 11 2008
*
*-------------------------------------------------------------------------
@@ -191,7 +189,6 @@ get_H5EA_class(const uint8_t *sig)
* Return: Non-NULL on success/NULL on failure
*
* Programmer: Quincey Koziol
- * koziol@hdfgroup.org
* Sep 11 2008
*
*-------------------------------------------------------------------------
@@ -233,7 +230,6 @@ get_H5FA_class(const uint8_t *sig)
* Failure: exit (non-zero)
*
* Programmer: Robb Matzke
- * matzke@llnl.gov
* Jul 18 1997
*
*-------------------------------------------------------------------------
@@ -250,8 +246,8 @@ main(int argc, char *argv[])
haddr_t extra[10];
uint8_t sig[H5F_SIGNATURE_LEN];
size_t u;
- H5E_auto2_t func;
- void * edata;
+ H5E_auto2_t func = NULL;
+ void * edata = NULL;
hbool_t api_ctx_pushed = FALSE; /* Whether API context pushed */
herr_t status = SUCCEED;
int exit_value = 0;
@@ -825,7 +821,7 @@ done:
/* Pop API context */
if (api_ctx_pushed)
- H5CX_pop();
+ H5CX_pop(FALSE);
H5Eset_auto2(H5E_DEFAULT, func, edata);