summaryrefslogtreecommitdiffstats
path: root/src/H5Opkg.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2019-01-07 21:20:11 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2019-01-09 18:18:20 (GMT)
commit55806ff1be0d559a204e84e595403b309239085f (patch)
treef9bddf89ebfe67e4c5a0f785a8fb082589fca445 /src/H5Opkg.h
parent9deed081853b8c4f892c0b781d912b856de8ee44 (diff)
downloadhdf5-55806ff1be0d559a204e84e595403b309239085f.zip
hdf5-55806ff1be0d559a204e84e595403b309239085f.tar.gz
hdf5-55806ff1be0d559a204e84e595403b309239085f.tar.bz2
Delay checking if decoded message's "shareable" flag is appropriate for
the message type until we've verified we understand the message type. Reduce size of H5O_msg_class_g to *not* include space for H5O_BOGUS_INVALID. Make bogus messages shareable. Add new bogus message test with shareable messages to cover the formerly problematic code. Re-run gen_bogus.c to add this test case and also to fix the bogus_invalid messages that were no longer H5O_BOGUS_INVLAID due to a new message class being added in a previous commit. Added comment to remind developers to run gen_bogus.c when adding a new message class. Remove H5O_BOGUS_INVALID_ID from H5O_msg_class_g initialization, since space for it was removed.
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r--src/H5Opkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h
index 19d90c5..a3cc27f 100644
--- a/src/H5Opkg.h
+++ b/src/H5Opkg.h
@@ -29,7 +29,7 @@
#define H5O_NMESGS 8 /*initial number of messages */
#define H5O_NCHUNKS 2 /*initial number of chunks */
#define H5O_MIN_SIZE 22 /* Min. obj header data size (must be big enough for a message prefix and a continuation message) */
-#define H5O_MSG_TYPES 27 /* # of types of messages */
+#define H5O_MSG_TYPES 26 /* # of types of messages */
#define H5O_MAX_CRT_ORDER_IDX 65535 /* Max. creation order index value */
/* Versions of object header structure */