summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2018-12-26 20:35:22 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2018-12-26 20:35:22 (GMT)
commitb2afa88fa0c17026d52f582cc052bd40a8cd8e59 (patch)
treea9ea9e54bc813750590fb85390d173abbbaf6a70 /src
parentcfdbb220d8468eed74f5cef7490ea366384020e9 (diff)
downloadhdf5-b2afa88fa0c17026d52f582cc052bd40a8cd8e59.zip
hdf5-b2afa88fa0c17026d52f582cc052bd40a8cd8e59.tar.gz
hdf5-b2afa88fa0c17026d52f582cc052bd40a8cd8e59.tar.bz2
OHDR tests now accept h5_fileaccess() fapls.
Formatting, informative comments, and minor renaming.
Diffstat (limited to 'src')
-rw-r--r--src/H5Dint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 7a39d4c..7eb1aaf 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -857,12 +857,13 @@ H5D__prepare_minimized_oh(H5F_t *file, H5D_t *dset, H5O_loc_t *oloc)
if (ohdr_size == 0)
HGOTO_ERROR(H5E_OHDR, H5E_BADVALUE, FAIL, "computed header size is invalid")
+ /* Special allocation of space for compact datsets is handled by the call here. */
if(H5O__apply_ohdr(file, oh, dset->shared->dcpl_id, ohdr_size, (size_t)1, oloc) == FAIL)
HGOTO_ERROR(H5E_OHDR, H5E_BADVALUE, FAIL, "can't apply object header to file")
done:
FUNC_LEAVE_NOAPI(ret_value);
-} /* H5D_prepare_minimized_oh */
+} /* H5D__prepare_minimized_oh */
/*-------------------------------------------------------------------------