summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-03-15 17:43:34 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-03-15 17:43:34 (GMT)
commit0dd0ffd5c10d0af4b1e672eb105428eeb20e434d (patch)
tree886ca6dddf0acffd91ecd4597ea092683de3e5c0 /src/H5Dint.c
parent5a344710ba8e08bfb2fe0851d81db23d0da5b964 (diff)
downloadhdf5-0dd0ffd5c10d0af4b1e672eb105428eeb20e434d.zip
hdf5-0dd0ffd5c10d0af4b1e672eb105428eeb20e434d.tar.gz
hdf5-0dd0ffd5c10d0af4b1e672eb105428eeb20e434d.tar.bz2
[svn-r29421] Fix for HDFFV-9516.
Corrects a problem where H5Dget_access_plist() returns a dapl that does not contain all dapl fields. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 733ffe7..d91693d 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -3082,6 +3082,18 @@ H5D_get_access_plist(H5D_t *dset)
HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set preempt read chunks")
} /* end if */
+ /* Set the VDS view option */
+ if(H5P_set(new_plist, H5D_ACS_VDS_VIEW_NAME, &(dset->shared->layout.storage.u.virt.view)) < 0)
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set VDS view")
+
+ /* Set the VDS printf gap option */
+ if(H5P_set(new_plist, H5D_ACS_VDS_PRINTF_GAP_NAME, &(dset->shared->layout.storage.u.virt.printf_gap)) < 0)
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set VDS printf gap")
+
+ /* Set the external file prefix option */
+ if(H5P_set(new_plist, H5D_ACS_EFILE_PREFIX_NAME, &(dset->shared->extfile_prefix)) < 0)
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set external file prefix")
+
/* Set the return value */
ret_value = new_dapl_id;