mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r14272] Description:
Fix missing parameter from last checkin... 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
This commit is contained in:
parent
6a5559be99
commit
e8b52952b8
@ -534,7 +534,7 @@ H5D_init_space(H5F_t *file, const H5D_t *dset, const H5S_t *space)
|
||||
use_latest_format = H5F_USE_LATEST_FORMAT(file);
|
||||
|
||||
/* Copy dataspace for dataset */
|
||||
if(NULL == (dset->shared->space = H5S_copy(space, FALSE)))
|
||||
if(NULL == (dset->shared->space = H5S_copy(space, FALSE, TRUE)))
|
||||
HGOTO_ERROR(H5E_DATASET, H5E_CANTCOPY, FAIL, "can't copy dataspace")
|
||||
|
||||
/* Set the latest format, if requested */
|
||||
|
Loading…
x
Reference in New Issue
Block a user