summaryrefslogtreecommitdiffstats
path: root/src/H5Ddeprec.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-11-17 19:36:40 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-11-17 19:36:40 (GMT)
commitca1fa220217cafaaca21fc5e398e86ed72fdce02 (patch)
tree50dc2e546345fff0c13e3d862b113f2082c3362d /src/H5Ddeprec.c
parente00d3174e587025a1090362f510aa5d6cf67b304 (diff)
downloadhdf5-ca1fa220217cafaaca21fc5e398e86ed72fdce02.zip
hdf5-ca1fa220217cafaaca21fc5e398e86ed72fdce02.tar.gz
hdf5-ca1fa220217cafaaca21fc5e398e86ed72fdce02.tar.bz2
[svn-r16087] Purpose: Port H5Pset_chunk_cache, H5Pget_chunk_cache, and H5Dget_access_plist
functions to 1.8 branch Tested: kagiso, jam (trunk version tested with h5committest)
Diffstat (limited to 'src/H5Ddeprec.c')
-rw-r--r--src/H5Ddeprec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Ddeprec.c b/src/H5Ddeprec.c
index b1f6586..5b0621e 100644
--- a/src/H5Ddeprec.c
+++ b/src/H5Ddeprec.c
@@ -209,6 +209,7 @@ H5Dopen1(hid_t loc_id, const char *name)
H5O_loc_t oloc; /* Dataset object location */
H5O_type_t obj_type; /* Type of object at location */
hbool_t loc_found = FALSE; /* Location at 'name' found */
+ hid_t dapl_id = H5P_DATASET_ACCESS_DEFAULT; /* dapl to use to open dataset */
hid_t dxpl_id = H5AC_dxpl_id; /* dxpl to use to open datset */
hid_t ret_value;
@@ -238,7 +239,7 @@ H5Dopen1(hid_t loc_id, const char *name)
HGOTO_ERROR(H5E_DATASET, H5E_BADTYPE, FAIL, "not a dataset")
/* Open the dataset */
- if((dset = H5D_open(&dset_loc, dxpl_id)) == NULL)
+ if((dset = H5D_open(&dset_loc, dapl_id, dxpl_id)) == NULL)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "can't open dataset")
/* Register an atom for the dataset */