diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2010-09-20 21:57:57 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2010-09-20 21:57:57 (GMT) |
commit | d688fc55a94acc6bdf43607e5224bc28009ee5e8 (patch) | |
tree | e46dc5152aafe70254b02c330bcf5fa2ecf6d892 /src/H5.c | |
parent | d3d78bbd1be7dddd41b2a9f7e25ea42ce2192ddd (diff) | |
download | hdf5-d688fc55a94acc6bdf43607e5224bc28009ee5e8.zip hdf5-d688fc55a94acc6bdf43607e5224bc28009ee5e8.tar.gz hdf5-d688fc55a94acc6bdf43607e5224bc28009ee5e8.tar.bz2 |
[svn-r19441] Bug fix for 1707 - in a hurry, explain later.
tested on jam and amani, heiwa hasn't finished yet.
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -210,7 +210,7 @@ H5_term_library(void) int pending, ntries = 0, n; size_t at = 0; char loop[1024]; - H5E_auto2_t func; + H5E_auto_t func; #ifdef H5_HAVE_THREADSAFE /* explicit locking of the API */ @@ -223,8 +223,11 @@ H5_term_library(void) goto done; /* Check if we should display error output */ - (void)H5Eget_auto2(H5E_DEFAULT, &func, NULL); - +#ifdef H5_USE_16_API_DEFAULT + (void)H5Eget_auto(&func, NULL); +#else + (void)H5Eget_auto(H5E_DEFAULT, &func, NULL); +#endif /* * Terminate each interface. The termination functions return a positive * value if they do something that might affect some other interface in a |