diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-04-10 17:47:16 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-04-10 17:47:16 (GMT) |
commit | 3b72762036c65978ef96bb1422a671dce20ba46e (patch) | |
tree | 7da68b47d261a1ea03e1536de72aeac6f7c6392b /src/H5R.c | |
parent | b452fc97e6bc7c0a4b3d143cfef7ef10bb53b88d (diff) | |
download | hdf5-3b72762036c65978ef96bb1422a671dce20ba46e.zip hdf5-3b72762036c65978ef96bb1422a671dce20ba46e.tar.gz hdf5-3b72762036c65978ef96bb1422a671dce20ba46e.tar.bz2 |
[svn-r26777] - Fix usage of the internal AC global dxpls
- allocate sieve buffer with calloc instead of malloc
tested with h5committest
Diffstat (limited to 'src/H5R.c')
-rw-r--r-- | src/H5R.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -603,7 +603,7 @@ H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *_r file = loc.oloc->file; /* Create reference */ - if((ret_value = H5R_dereference(file, oapl_id, H5AC_dxpl_id, ref_type, _ref, TRUE)) < 0) + if((ret_value = H5R_dereference(file, oapl_id, H5AC_ind_dxpl_id, ref_type, _ref, TRUE)) < 0) HGOTO_ERROR(H5E_REFERENCE, H5E_CANTINIT, FAIL, "unable to dereference object") done: @@ -1026,7 +1026,7 @@ H5Rget_name(hid_t id, H5R_type_t ref_type, const void *_ref, char *name, file = loc.oloc->file; /* Get name */ - if((ret_value = H5R_get_name(file, H5P_DEFAULT, H5AC_dxpl_id, id, ref_type, _ref, name, size)) < 0) + if((ret_value = H5R_get_name(file, H5P_DEFAULT, H5AC_ind_dxpl_id, id, ref_type, _ref, name, size)) < 0) HGOTO_ERROR(H5E_REFERENCE, H5E_CANTINIT, FAIL, "unable to determine object path") done: |