summaryrefslogtreecommitdiffstats
path: root/src/H5Osdspace.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-02-24 19:54:48 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-02-24 19:54:48 (GMT)
commit28111339143e6c3f9aa8d4f96c771472a1a79c55 (patch)
tree76000c9a80ce336f86cdf85d4d0cf01fc34464ac /src/H5Osdspace.c
parent80e77e7d778ea5d5bfcfc92f9492cdfdc1dd0197 (diff)
downloadhdf5-28111339143e6c3f9aa8d4f96c771472a1a79c55.zip
hdf5-28111339143e6c3f9aa8d4f96c771472a1a79c55.tar.gz
hdf5-28111339143e6c3f9aa8d4f96c771472a1a79c55.tar.bz2
[svn-r26293] Implement patching of virtual dataspace extent in mapping dataspaces when
opening virtual dataset. Add tests for this. Tested: ummon
Diffstat (limited to 'src/H5Osdspace.c')
-rw-r--r--src/H5Osdspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Osdspace.c b/src/H5Osdspace.c
index 9ca8436..3be5b82 100644
--- a/src/H5Osdspace.c
+++ b/src/H5Osdspace.c
@@ -312,7 +312,7 @@ H5O_sdspace_copy(const void *_mesg, void *_dest)
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
/* Copy extent information */
- if(H5S_extent_copy(dest, mesg, TRUE) < 0)
+ if(H5S_extent_copy_real(dest, mesg, TRUE) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTCOPY, NULL, "can't copy extent")
/* Set return value */
@@ -467,7 +467,7 @@ H5O_sdspace_pre_copy_file(H5F_t UNUSED *file_src, const void *mesg_src,
HGOTO_ERROR(H5E_DATASPACE, H5E_NOSPACE, FAIL, "dataspace extent allocation failed")
/* Create a copy of the dataspace extent */
- if(H5S_extent_copy(udata->src_space_extent, src_space_extent, TRUE) < 0)
+ if(H5S_extent_copy_real(udata->src_space_extent, src_space_extent, TRUE) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTCOPY, FAIL, "can't copy extent")
} /* end if */