summaryrefslogtreecommitdiffstats
path: root/src/H5Olayout.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-06-12 04:26:53 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-06-12 04:26:53 (GMT)
commit9786fe2f6158cd13c5e1837dee58f99dcda8f58c (patch)
tree01141ce11b7356532515f7f5764b342127cad7a0 /src/H5Olayout.c
parentaa4e3e3985e1e2715819c326d332e1569ac73c7b (diff)
downloadhdf5-9786fe2f6158cd13c5e1837dee58f99dcda8f58c.zip
hdf5-9786fe2f6158cd13c5e1837dee58f99dcda8f58c.tar.gz
hdf5-9786fe2f6158cd13c5e1837dee58f99dcda8f58c.tar.bz2
[svn-r27192] Improve support for printf selections (support partial blocks with
H5_VDS_FIRST_MISSING) Add test for this Rework VDS code to not depend on unlimited selections having a "clipped" state in preparation for removing the clipped state from unlimited selections. Other bug fixes/cleanup Tested: Kubuntu 64 (home computer)
Diffstat (limited to 'src/H5Olayout.c')
-rw-r--r--src/H5Olayout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Olayout.c b/src/H5Olayout.c
index 47f45a7..33c35ed 100644
--- a/src/H5Olayout.c
+++ b/src/H5Olayout.c
@@ -318,6 +318,12 @@ H5O_layout_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *
mesg->storage.u.virt.list[i].clip_size_source = HSIZE_UNDEF;
mesg->storage.u.virt.list[i].clip_size_virtual = HSIZE_UNDEF;
+ /* Clipped selections */
+ if(mesg->storage.u.virt.list[i].unlim_dim_virtual < 0) {
+ mesg->storage.u.virt.list[i].source_dset.clipped_source_select = mesg->storage.u.virt.list[i].source_select;
+ mesg->storage.u.virt.list[i].source_dset.clipped_virtual_select = mesg->storage.u.virt.list[i].source_dset.virtual_select;
+ } /* end if */
+
/* Update min_dims */
if(H5D_virtual_update_min_dims(mesg, i) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTINIT, NULL, "unable to update virtual dataset minimum dimensions")