summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-11-20 10:50:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-11-20 10:50:18 (GMT)
commit6a5559be99224fd6693f0b11fe31ad61e211f6cb (patch)
treec6694dca77b05351824312d5fbd3ddf9d37520dd /src/H5Shyper.c
parentb4f4670c811cae49e08f1799b6ea69a8bb1345f3 (diff)
downloadhdf5-6a5559be99224fd6693f0b11fe31ad61e211f6cb.zip
hdf5-6a5559be99224fd6693f0b11fe31ad61e211f6cb.tar.gz
hdf5-6a5559be99224fd6693f0b11fe31ad61e211f6cb.tar.bz2
[svn-r14271] Description:
Avoid copying maximum dimensions for temporary dataspaces used for describing chunks during raw data I/O. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index ffb03d2..7b851c6 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -6791,7 +6791,7 @@ H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[],
HGOTO_ERROR(H5E_ARGS, H5E_UNSUPPORTED, FAIL, "invalid selection operation");
/* Copy the first dataspace */
- if (NULL==(new_space=H5S_copy (space, TRUE)))
+ if (NULL == (new_space = H5S_copy (space, TRUE, TRUE)))
HGOTO_ERROR (H5E_DATASPACE, H5E_CANTINIT, NULL, "unable to copy data space");
/* Go modify the selection in the new dataspace */
@@ -6847,7 +6847,7 @@ H5S_combine_select (H5S_t *space1, H5S_seloper_t op, H5S_t *space2)
HGOTO_ERROR(H5E_DATASPACE, H5E_UNINITIALIZED, NULL, "dataspace does not have span tree");
/* Copy the first dataspace */
- if (NULL==(new_space=H5S_copy (space1, TRUE)))
+ if (NULL == (new_space = H5S_copy (space1, TRUE, TRUE)))
HGOTO_ERROR (H5E_DATASPACE, H5E_CANTINIT, NULL, "unable to copy data space");
/* Free the current selection for the new dataspace */