diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-27 22:40:05 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-27 22:40:05 (GMT) |
commit | 2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3 (patch) | |
tree | e9c2128e6cc2cc90b73f53445e95288fe1879a07 /src/H5Dint.c | |
parent | 53f5793d38fe137cd32fec38f8686bd21452d46f (diff) | |
download | hdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.zip hdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.tar.gz hdf5-2ad138dbb941e02c5811f0962d3a0ca6f01aa7f3.tar.bz2 |
[svn-r18652] Description:
Bring r18650 from trunk to 1.8 branch:
Bring back various minor tweaks & cleanups from the revise_chunks
branch.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
(h5committested on trunk)
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r-- | src/H5Dint.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c index cef551a..6253aa6 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -797,9 +797,11 @@ H5D_update_oh_info(H5F_t *file, hid_t dxpl_id, H5D_t *dset, hid_t dapl_id) if(NULL == (oh = H5O_pin(oloc, dxpl_id))) HGOTO_ERROR(H5E_DATASET, H5E_CANTPIN, FAIL, "unable to pin dataset object header") - /* Update the datatype and dataspace header messages */ + /* Write the dataspace header message */ if(H5S_append(file, dxpl_id, oh, dset->shared->space) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to update dataspace header message") + + /* Write the datatype header message */ if(H5O_msg_append_oh(file, dxpl_id, oh, H5O_DTYPE_ID, H5O_MSG_FLAG_CONSTANT, 0, type) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to update datatype header message") |