summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-09-04 21:06:48 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-09-04 21:06:48 (GMT)
commit922e8a4a8b84f4a04548ac2928e37d67c23c81cb (patch)
tree59f636a2755524a0d3e9a827df90d0699d5918ca /test
parent45b23cfce11d5267849f0a58216cab581012b8a7 (diff)
downloadhdf5-922e8a4a8b84f4a04548ac2928e37d67c23c81cb.zip
hdf5-922e8a4a8b84f4a04548ac2928e37d67c23c81cb.tar.gz
hdf5-922e8a4a8b84f4a04548ac2928e37d67c23c81cb.tar.bz2
[svn-r9208] Purpose: Bug fix
Description: A few items were left out when tried to restore the old Error API. There are also a few minor bug fixes. Platforms tested: arabica fuss h5committest.
Diffstat (limited to 'test')
-rw-r--r--test/ttsafe_error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c
index 8f35a84..a946a40 100644
--- a/test/ttsafe_error.c
+++ b/test/ttsafe_error.c
@@ -166,10 +166,10 @@ void *tts_error_thread(void UNUSED *arg)
H5Eset_auto(error_callback, NULL);
#else /*H5_WANT_H5_V1_6_COMPAT*/
/* preserve previous error stack handler */
- H5Eget_auto(H5E_DEFAULT, &old_error_cb, &old_error_client_data);
+ H5Eget_auto_stack(H5E_DEFAULT, &old_error_cb, &old_error_client_data);
/* set each thread's error stack handler */
- H5Eset_auto(H5E_DEFAULT, error_callback, NULL);
+ H5Eset_auto_stack(H5E_DEFAULT, error_callback, NULL);
#endif /* H5_WANT_H5_V1_6_COMPAT */
/* define dataspace for dataset */
@@ -218,7 +218,7 @@ herr_t error_callback(hid_t estack, void *client_data)
pthread_mutex_lock(&error_mutex);
error_count++;
pthread_mutex_unlock(&error_mutex);
- return H5Ewalk(estack, H5E_WALK_DOWNWARD, walk_error_callback, client_data);
+ return H5Ewalk_stack(estack, H5E_WALK_DOWNWARD, walk_error_callback, client_data);
}
#endif /* H5_WANT_H5_V1_6_COMPAT */