summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2004-06-21 18:21:04 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2004-06-21 18:21:04 (GMT)
commita4db4809046e9bf4487282661b3793c1133f5005 (patch)
treee01ff5933538a03f9b2bc08f1b4b799855ec33da
parent176433836aed77419712005be636fbd41fae7bc8 (diff)
downloadhdf5-a4db4809046e9bf4487282661b3793c1133f5005.zip
hdf5-a4db4809046e9bf4487282661b3793c1133f5005.tar.gz
hdf5-a4db4809046e9bf4487282661b3793c1133f5005.tar.bz2
[svn-r8711] Fixed bugs in H5I code, updated manifest.
-rw-r--r--MANIFEST1
-rw-r--r--src/H5I.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/MANIFEST b/MANIFEST
index 7a70f85..8254db2 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1020,6 +1020,7 @@
./test/th5s.c
./test/th5s.h5
./test/theap.c
+./test/tid.c
./test/titerate.c
./test/tlayouto.h5
./test/tmeta.c
diff --git a/src/H5I.c b/src/H5I.c
index bf378ee..f39021c 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -303,7 +303,7 @@ H5I_type_t H5I_register_type(H5I_type_t type_id, size_t hash_size, unsigned rese
if (H5I_next_type < MAX_NUM_TYPES)
{
ret_value = H5I_next_type;
- H5I_next_type++;
+ H5_INC_ENUM(H5I_type_t, H5I_next_type);
}
else
{
@@ -330,7 +330,6 @@ H5I_type_t H5I_register_type(H5I_type_t type_id, size_t hash_size, unsigned rese
}
/* Initialize the type */
-
/* Check arguments */
#ifdef HASH_SIZE_POWER_2
if (!POWER_OF_TWO(hash_size) || hash_size == 1)