fixed the H5PART_HAVE_HDF5_18 logic to work with the 1.9 snapshot; fixed broken test in _H5Part_have_group in the codepath for HDF5 1.6

This commit is contained in:
Marc Howison
2010-03-23 22:18:40 +00:00
parent 698b5e0c76
commit cf1368291d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2038,7 +2038,7 @@ _H5Part_have_group (
#else
herr_t exists = 0;
H5E_BEGIN_TRY
H5Gget_objinfo( id, name, 1, NULL );
exists = H5Gget_objinfo( id, name, 1, NULL );
H5E_END_TRY
return (exists >= 0 ? 1 : 0);
#endif
+1 -1
View File
@@ -6,7 +6,7 @@
#define H5_USE_16_API
#endif
#if H5_VERS_MAJOR == 1 && H5_VERS_MINOR == 8
#if H5_VERS_MAJOR == 1 && H5_VERS_MINOR >= 8
#define H5PART_HAVE_HDF5_18
#endif