summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-11-30 19:43:54 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-11-30 19:43:54 (GMT)
commit6d1971952692f58c3c3f7c1d3f4d625a204cdfea (patch)
tree78dda8a74f66f35bb513dcb2f8d1ed66731e615c
parenta1a8feae07c988bd21711185a48051dc86a94ae0 (diff)
downloadhdf5-6d1971952692f58c3c3f7c1d3f4d625a204cdfea.zip
hdf5-6d1971952692f58c3c3f7c1d3f4d625a204cdfea.tar.gz
hdf5-6d1971952692f58c3c3f7c1d3f4d625a204cdfea.tar.bz2
[svn-r956] Fixes for dataset region code.
-rw-r--r--src/H5R.c3
-rw-r--r--src/H5T.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/H5R.c b/src/H5R.c
index ebde9a7..6e8ba25 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -370,6 +370,9 @@ H5R_dereference(H5D_t *dset, H5R_type_t ref_type, void *_ref)
INT32DECODE(p,hobjid.idx);
/* Get the dataset region from the heap (allocate inside routine) */
+printf("%s: hobjid.addr=",FUNC);
+H5F_addr_print(stdout,&hobjid.addr);
+printf(", hobjid.idx=%d\n", hobjid.idx);
if((buf=H5HG_read(ent.file,&hobjid,NULL))==NULL)
HGOTO_ERROR(H5E_REFERENCE, H5E_READERROR, FAIL,
"Unable to read dataset region information");
diff --git a/src/H5T.c b/src/H5T.c
index 2f534c9..0566b72 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -4872,6 +4872,7 @@ H5T_cmp(const H5T_t *dt1, const H5T_t *dt2)
switch(dt1->u.atomic.u.r.rtype) {
case H5R_OBJECT:
+ case H5R_DATASET_REGION: /* Does this need more to distinguish it? -QAK 11/30/98 */
/*void */
break;