diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-06-13 15:48:28 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-06-13 15:48:28 (GMT) |
commit | 8df5a96ccb3d60bc38d9f1b6d0d774d55afbb7a6 (patch) | |
tree | e832fadb71d5b27a087e14c2b679a67e20f906ac /src/H5Dint.c | |
parent | 3e1e5f166a1316573ea81b96178bb6a4fa3654a2 (diff) | |
parent | 25ba47bc97bd7dd3f9f9ee0c13d04c1ea041dd7b (diff) | |
download | hdf5-8df5a96ccb3d60bc38d9f1b6d0d774d55afbb7a6.zip hdf5-8df5a96ccb3d60bc38d9f1b6d0d774d55afbb7a6.tar.gz hdf5-8df5a96ccb3d60bc38d9f1b6d0d774d55afbb7a6.tar.bz2 |
[svn-r25275] merge from trunk.
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r-- | src/H5Dint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c index 12ae05b..1b15260 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -460,7 +460,7 @@ done: /*------------------------------------------------------------------------- * Function: H5D__get_space_status * - * Purpose: Returns the status of data space allocation. + * Purpose: Returns the status of dataspace allocation. * * Return: * Success: Non-negative @@ -2187,16 +2187,16 @@ H5D__set_extent(H5D_t *dset, const hsize_t *size, hid_t dxpl_id) if(H5D__check_filters(dset) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "can't apply filters") - /* Get the data space */ + /* Get the dataspace */ space = dset->shared->space; /* Check if we are shrinking or expanding any of the dimensions */ if((rank = H5S_get_simple_extent_dims(space, curr_dims, NULL)) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get dataset dimensions") - /* Modify the size of the data space */ + /* Modify the size of the dataspace */ if((changed = H5S_set_extent(space, size)) < 0) - HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to modify size of data space") + HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to modify size of dataspace") /* Don't bother updating things, unless they've changed */ if(changed) { |