summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-08-02 21:17:52 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-08-02 21:17:52 (GMT)
commit69eceacda113257ce10cc330eb16dcee573d6204 (patch)
tree0a3117ad89ec4f22f7c1fff35874a512ecbf344c /src
parente7f24ebee381787cc0462ada5434ef90a74fc796 (diff)
downloadhdf5-69eceacda113257ce10cc330eb16dcee573d6204.zip
hdf5-69eceacda113257ce10cc330eb16dcee573d6204.tar.gz
hdf5-69eceacda113257ce10cc330eb16dcee573d6204.tar.bz2
[svn-r4309] 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() Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src')
-rw-r--r--src/H5P.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 3654c05..f3cb869 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -1717,7 +1717,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,