summaryrefslogtreecommitdiffstats
path: root/src/H5Dlayout.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-03-17 20:02:05 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-03-17 20:02:05 (GMT)
commit424826d0dd492cb734e166b7154e2db456f6a13a (patch)
tree71d55208bd8fb39c7d48bbe877caadb7902df1c8 /src/H5Dlayout.c
parent66a9948e65001a47f984c8f76a53f46faf9929ec (diff)
downloadhdf5-424826d0dd492cb734e166b7154e2db456f6a13a.zip
hdf5-424826d0dd492cb734e166b7154e2db456f6a13a.tar.gz
hdf5-424826d0dd492cb734e166b7154e2db456f6a13a.tar.bz2
[svn-r26469] INCOMPLETE, UNWORKING CODE
Commit progress through 3/17/15
Diffstat (limited to 'src/H5Dlayout.c')
-rw-r--r--src/H5Dlayout.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/H5Dlayout.c b/src/H5Dlayout.c
index 4da0443..fea57fe 100644
--- a/src/H5Dlayout.c
+++ b/src/H5Dlayout.c
@@ -455,9 +455,12 @@ H5D__layout_oh_read(H5D_t *dataset, hid_t dxpl_id, hid_t dapl_id, H5P_genplist_t
HDassert(dataset->shared->layout.storage.u.virt.list || (dataset->shared->layout.storage.u.virt.list_nused == 0));
/* Patch the virtual selection dataspaces */
- for(i = 0; i < dataset->shared->layout.storage.u.virt.list_nused; i++)
+ for(i = 0; i < dataset->shared->layout.storage.u.virt.list_nused; i++) {
+ HDassert(dataset->shared->layout.storage.u.virt.list[i].virtual_space_status == H5O_VIRTUAL_STATUS_INVALID);
if(H5S_extent_copy(dataset->shared->layout.storage.u.virt.list[i].virtual_select, dataset->shared->space) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTCOPY, FAIL, "can't copy virtual dataspace extent")
+ dataset->shared->layout.storage.u.virt.list[i].virtual_space_status = H5O_VIRTUAL_STATUS_CORRECT;
+ } /* end for */
} /* end block */
break;
@@ -470,7 +473,7 @@ H5D__layout_oh_read(H5D_t *dataset, hid_t dxpl_id, hid_t dapl_id, H5P_genplist_t
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__layout_oh_read() */
-
+#error
/*-------------------------------------------------------------------------
* Function: H5D__layout_oh_write