summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-08-02 21:21:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-08-02 21:21:17 (GMT)
commit59705bc40b78e3be71001fec0268884b7a2f325f (patch)
tree30bb61dd528ae3665fdbdf46d63c5809526fc5a1
parentcfb22bab400369beba5649ef0f3f95a8990d522b (diff)
downloadhdf5-59705bc40b78e3be71001fec0268884b7a2f325f.zip
hdf5-59705bc40b78e3be71001fec0268884b7a2f325f.tar.gz
hdf5-59705bc40b78e3be71001fec0268884b7a2f325f.tar.bz2
[svn-r4310] Purpose:
Bug Fix Description: H5FD_fapl_copy is being called in H5Pset_driver when copying a dataset transfer property list instead of H5FD_dxpl_copy and could potentially cause problems if the file driver information was different. Solution: Changed call to H5FD_dxpl_copy() until the generic property code gets merged in. Platforms tested: FreeBSD 4.3 (hawkwind)
-rw-r--r--src/H5P.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 81e155e..d8b0229 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -1707,7 +1707,7 @@ H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
/* Add new driver */
H5I_inc_ref(driver_id);
dxpl->driver_id = driver_id;
- dxpl->driver_info = H5FD_fapl_copy(driver_id, driver_info);
+ dxpl->driver_info = H5FD_dxpl_copy(driver_id, driver_info);
} else {
HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL,