diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2014-10-07 20:31:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2014-10-07 20:31:39 (GMT) |
commit | 27a7a56496e10cb77322fa2eb2b4fe88e957baa6 (patch) | |
tree | e3127d57913b7e8e062441bffbb47909c91be05c /src/H5T.c | |
parent | 0e7c658d5d338973dc8626dea38c19eaafd9f9d5 (diff) | |
download | hdf5-27a7a56496e10cb77322fa2eb2b4fe88e957baa6.zip hdf5-27a7a56496e10cb77322fa2eb2b4fe88e957baa6.tar.gz hdf5-27a7a56496e10cb77322fa2eb2b4fe88e957baa6.tar.bz2 |
[svn-r25681] Description:
Correct errors in ID wrapping code, add some small optimizations, and make
certain that all IDs of a given class can be used, especially when wrapping
around. Also, enable ID reuse for error classes/values, property lists and
datatypes. Includes regression testing for ID wrapping.
Note that this change does not apply to the trunk, since that ID manager
code is using 64-bit IDs and doesn't worry about wrapping around.
Tested on:
MacOSX/64 10.9.5 (amazon) w/debug, C++, FORTRAN & parallel
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -529,7 +529,7 @@ H5FL_DEFINE_STATIC(H5T_path_t); /* Datatype ID class */ static const H5I_class_t H5I_DATATYPE_CLS[1] = {{ H5I_DATATYPE, /* ID class value */ - 0, /* Class flags */ + H5I_CLASS_REUSE_IDS, /* Class flags */ 8, /* # of reserved IDs for class */ (H5I_free_t)H5T_close /* Callback routine for closing objects of this class */ }}; |