summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-22 14:06:16 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-22 14:06:16 (GMT)
commit1440f1cd87522330ed5bff30d546cacc05adf18e (patch)
tree2e94832810f953d4321cb818ff95f55f6e2ae274 /src/H5R.c
parentbce79181a88b6b780f1d93ff5564f48f8d9d83cc (diff)
parent0cbde329bd1dcf82c909f16bf49929a437c608a2 (diff)
downloadhdf5-1440f1cd87522330ed5bff30d546cacc05adf18e.zip
hdf5-1440f1cd87522330ed5bff30d546cacc05adf18e.tar.gz
hdf5-1440f1cd87522330ed5bff30d546cacc05adf18e.tar.bz2
[svn-r22389] merge from trunk
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 4306f3b..d10f39f 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -530,9 +530,15 @@ H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *_r
if(H5VL_object_lookup (obj_id, H5VL_OBJECT_LOOKUP_BY_REF, H5_REQUEST_NULL, &location, ref_type, _ref) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to locate object")
+
/* Open the object through the VOL */
if((ret_value = H5VL_object_open_by_loc(obj_id, location, oapl_id, H5_REQUEST_NULL)) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to open object")
+#if 0
+ /* Create reference */
+ if((ret_value = H5R_dereference(file, oapl_id, H5AC_dxpl_id, ref_type, _ref, TRUE)) < 0)
+ HGOTO_ERROR(H5E_REFERENCE, H5E_CANTINIT, FAIL, "unable to dereference object")
+#endif
done:
if (NULL != location) {