diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-07-15 21:21:15 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-07-15 21:21:15 (GMT) |
commit | 077d7c8c864c5452911117ee6b97c855487ff4cd (patch) | |
tree | 00bd45ce9d0085d0f0a73ddff6dc1a20820051b3 /src/H5D.c | |
parent | 8ad2f1aae0e4b88dce6d97d32f91d305fa169f30 (diff) | |
download | hdf5-077d7c8c864c5452911117ee6b97c855487ff4cd.zip hdf5-077d7c8c864c5452911117ee6b97c855487ff4cd.tar.gz hdf5-077d7c8c864c5452911117ee6b97c855487ff4cd.tar.bz2 |
[svn-r511] Changes since 19980715
----------------------
./src/H5Flow.c
./src/H5Fprivate.h
./src/H5Fsplit.c
Changed the allocation size request from `size_t' to `hsize_t'
because it was overflowing for the `big' test.
./src/H5detect.c
If `long double' and `double' are the same size then we define
H5T_NATIVE_LDOUBLE to be the same as H5T_NATIVE_DOUBLE.
Similarly for `long' vs. `long long' and `unsigned long' vs.
`unsigned long long'.
./test/Makefile.in
Added `big' to the list of tests to normally run.
./test/big.c
Added a check to see if the file system supports holes and if
it doesn't then the test is skipped.
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -821,11 +821,10 @@ H5D_create(H5G_t *loc, const char *name, const H5T_t *type, const H5S_t *space, * Also, only the slowest varying dimension of a simple data space * can be extendible. */ - if ((ndims=H5S_extent_dims(space, new_dset->layout.dim, max_dim)) < 0) { + if ((ndims=H5S_extent_dims(space, new_dset->layout.dim, max_dim))<0) { HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to initialize contiguous storage"); } - for (i=1; i<ndims; i++) { if (max_dim[i]>new_dset->layout.dim[i]) { HGOTO_ERROR (H5E_DATASET, H5E_CANTINIT, NULL, |