summaryrefslogtreecommitdiffstats
path: root/src/H5Opkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-12 18:42:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-12 18:42:02 (GMT)
commit6716ae8429b63b32623f1de1d0a6235c559e6e9c (patch)
tree946fece29fc5a7706a175a3acecbfe560cd2a9c0 /src/H5Opkg.h
parent7da414109cf800ba11680dc25627571953fc268e (diff)
downloadhdf5-6716ae8429b63b32623f1de1d0a6235c559e6e9c.zip
hdf5-6716ae8429b63b32623f1de1d0a6235c559e6e9c.tar.gz
hdf5-6716ae8429b63b32623f1de1d0a6235c559e6e9c.tar.bz2
[svn-r12756] Description:
Clean up some object header code in advance of more major changes in the near future. Fix small initialization error in attribute message name buffer copy. Tweak down the default # of messages for new object headers. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Mac OS/32 10.4.8 (amazon)
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r--src/H5Opkg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h
index 56353ed..62dc8ed 100644
--- a/src/H5Opkg.h
+++ b/src/H5Opkg.h
@@ -34,7 +34,7 @@
#define H5O_ALIGN(X) (8*(((X)+8-1)/8))
/* Object header macros */
-#define H5O_NMESGS 32 /*initial number of messages */
+#define H5O_NMESGS 8 /*initial number of messages */
#define H5O_NCHUNKS 2 /*initial number of chunks */
/* Version of object header structure */
@@ -45,7 +45,7 @@
*/
#define H5O_SIZEOF_HDR(F) \
H5O_ALIGN(1 + /*version number */ \
- 1 + /*alignment */ \
+ 1 + /*reserved */ \
2 + /*number of messages */ \
4 + /*reference count */ \
4) /*header data size */