From 6d1971952692f58c3c3f7c1d3f4d625a204cdfea Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 30 Nov 1998 14:43:54 -0500 Subject: [svn-r956] Fixes for dataset region code. --- src/H5R.c | 3 +++ src/H5T.c | 1 + 2 files changed, 4 insertions(+) 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; -- cgit v0.12