diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-01-15 23:06:25 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-01-15 23:06:25 (GMT) |
commit | b10dd41aef81062d8792da89301756bfec996ff0 (patch) | |
tree | dc1a2b5aede2adeee5065a42ce09a1ea018ac20f /src/H5Lexternal.c | |
parent | 06547eb4dd55c637f6c9ceaef75fadeff38bc5e2 (diff) | |
download | hdf5-b10dd41aef81062d8792da89301756bfec996ff0.zip hdf5-b10dd41aef81062d8792da89301756bfec996ff0.tar.gz hdf5-b10dd41aef81062d8792da89301756bfec996ff0.tar.bz2 |
[svn-r28915] Description:
Review revisions on the way to the trunk.
Tested on:
MacOSX/64 10.11.2 (amazon) w/serial & parallel
(h5committest not required on this branch)
Diffstat (limited to 'src/H5Lexternal.c')
-rw-r--r-- | src/H5Lexternal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Lexternal.c b/src/H5Lexternal.c index f029ebc..3e8be66 100644 --- a/src/H5Lexternal.c +++ b/src/H5Lexternal.c @@ -599,8 +599,8 @@ H5Lcreate_external(const char *file_name, const char *obj_name, HDstrncpy((char *)p, norm_obj_name, buf_size - (file_name_len + 1)); /* External link's object */ /* Verify access property list and get correct dxpl */ - if(H5P_verify_and_set_dxpl(&lapl_id, H5P_LINK_ACCESS, H5P_LINK_ACCESS_DEFAULT, &dxpl_id) < 0) - HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set access and transfer property lists") + if(H5P_verify_apl_and_dxpl(&lapl_id, H5P_CLS_LACC, &dxpl_id) < 0) + HGOTO_ERROR(H5E_LINK, H5E_CANTSET, FAIL, "can't set access and transfer property lists") /* Create an external link */ if(H5L_create_ud(&link_loc, link_name, ext_link_buf, buf_size, H5L_TYPE_EXTERNAL, lcpl_id, lapl_id, dxpl_id) < 0) |