summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-05-15 16:17:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-05-15 16:17:13 (GMT)
commita0f76b876829758331cb1f956a7033a31a5cc49b (patch)
tree7b2cdc0a1290dcb331a934df42fc34181b52c2b9 /src/H5Odtype.c
parent940cebe09c28d53d3e9c63fc576f684abcde731f (diff)
downloadhdf5-a0f76b876829758331cb1f956a7033a31a5cc49b.zip
hdf5-a0f76b876829758331cb1f956a7033a31a5cc49b.tar.gz
hdf5-a0f76b876829758331cb1f956a7033a31a5cc49b.tar.bz2
[svn-r6875] Purpose:
Code cleanup Description: Improve information output from h5debug. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest not needed.
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index 5b8b479..e28571c 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -918,6 +918,9 @@ done:
This function returns the size of the raw simple datatype message on
success. (Not counting the message type or size fields, only the data
portion of the message). It doesn't take into account alignment.
+ NOTES
+ All datatype messages have a common 8 byte header, plus a variable-
+ sized "properties" field.
--------------------------------------------------------------------------*/
static size_t
H5O_dtype_size(H5F_t *f, const void *mesg)
@@ -930,6 +933,7 @@ H5O_dtype_size(H5F_t *f, const void *mesg)
assert(mesg);
+ /* Add in the property field length for each datatype class */
switch (dt->type) {
case H5T_INTEGER:
ret_value += 4;