summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2016-04-27 20:37:12 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2016-11-29 23:42:33 (GMT)
commita5c0c7a0f045003cdc75931c6a7b80f43f18fe39 (patch)
treed2989794abde3f0a45c0325f55d96c2ad590b368 /src
parenta2a663286f9d609029215079f26aed678cf19aff (diff)
downloadhdf5-a5c0c7a0f045003cdc75931c6a7b80f43f18fe39.zip
hdf5-a5c0c7a0f045003cdc75931c6a7b80f43f18fe39.tar.gz
hdf5-a5c0c7a0f045003cdc75931c6a7b80f43f18fe39.tar.bz2
Keep ID of dataset in shared struct when dereferencing
Diffstat (limited to 'src')
-rw-r--r--src/H5R.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 7f6915a..4ad70bc 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -36,6 +36,9 @@
#include "H5Gprivate.h" /* Groups */
#include "H5Sprivate.h" /* Dataspaces */
+/* TODO for now */
+#define H5D_FRIEND
+#include "H5Dpkg.h"
/****************/
/* Local Macros */
@@ -1286,7 +1289,7 @@ H5R__get_object(H5F_t *file, hid_t oapl_id, hid_t dxpl_id, href_t _ref, hbool_t
} /* end if */
/* TODO Keep ID of the dataset */
-// dset->shared->dset_id = ret_value;
+ dset->shared->dset_id = ret_value;
} /* end case */
break;