diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-12 18:42:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-12 18:42:02 (GMT) |
commit | 6716ae8429b63b32623f1de1d0a6235c559e6e9c (patch) | |
tree | 946fece29fc5a7706a175a3acecbfe560cd2a9c0 /src/H5D.c | |
parent | 7da414109cf800ba11680dc25627571953fc268e (diff) | |
download | hdf5-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/H5D.c')
-rw-r--r-- | src/H5D.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2515,7 +2515,7 @@ H5D_create(H5F_t *file, hid_t type_id, const H5S_t *space, /* Verify data size is smaller than maximum header message size * (64KB) minus other layout message fields. */ - comp_data_size=H5O_MAX_SIZE-H5O_layout_meta_size(file, &(new_dset->shared->layout)); + comp_data_size=H5O_MESG_MAX_SIZE-H5O_layout_meta_size(file, &(new_dset->shared->layout)); if(new_dset->shared->layout.u.compact.size > comp_data_size) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "compact dataset size is bigger than header message maximum size") |