summaryrefslogtreecommitdiffstats
path: root/test/ttsafe.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-09-29 16:24:56 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-09-29 16:24:56 (GMT)
commitcb99b28251d3e16c632f408fc69fc87b2b519435 (patch)
tree361494711d718e6511e141fd8895b12eeaad1adc /test/ttsafe.c
parentb997db6cdd5911e475cd50c06cdbf448fd40c9eb (diff)
downloadhdf5-cb99b28251d3e16c632f408fc69fc87b2b519435.zip
hdf5-cb99b28251d3e16c632f408fc69fc87b2b519435.tar.gz
hdf5-cb99b28251d3e16c632f408fc69fc87b2b519435.tar.bz2
[svn-r7520] Purpose: bug fix
Description: add backward compatibility for thread safety Platforms tested: RH 8(fuss) Misc. update:
Diffstat (limited to 'test/ttsafe.c')
-rw-r--r--test/ttsafe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ttsafe.c b/test/ttsafe.c
index 2865a1b..8d95d3e 100644
--- a/test/ttsafe.c
+++ b/test/ttsafe.c
@@ -199,7 +199,11 @@ int main(int argc, char *argv[])
* automatic error reporting wouldn't do much good since it's
* triggered at the API layer.
*/
+#ifdef H5_WANT_H5_V1_6_COMPAT
+ H5Eset_auto (NULL, NULL);
+#else /*H5_WANT_H5_V1_6_COMPAT*/
H5Eset_auto (H5E_DEFAULT, NULL, NULL);
+#endif /* H5_WANT_H5_V1_6_COMPAT */
/* Tests are generally arranged from least to most complexity... */
InitTest("dcreate", tts_dcreate, cleanup_dcreate,