summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-28 18:52:53 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-28 18:52:53 (GMT)
commit3e601905e38451e5aa003d472fdfb45338d50fe9 (patch)
treef27930c99def09c98fcc73058e5e2fce41536b26 /src/H5D.c
parentc0cfc4421ad7c95c46c2a654f8c06bff8db3588f (diff)
downloadhdf5-3e601905e38451e5aa003d472fdfb45338d50fe9.zip
hdf5-3e601905e38451e5aa003d472fdfb45338d50fe9.tar.gz
hdf5-3e601905e38451e5aa003d472fdfb45338d50fe9.tar.bz2
[svn-r186] Changes since 19980128
---------------------- ./config/conclude.in The maintainer-clean target removes Emacs backup files, mirroring backup and contrib files, core files, and profile output files in addition to what it used to remove. ./src/H5D.c Fixed a buffer allocation bug in the output pipeline. ./src/H5Gnode.c Fixed a comparison against size_t ./test/Makefile.in Added the other temporary h5 files to the `MOSTLYCLEAN' var. ./test/cmpd_dset.c Added four tests for partial I/O. Don't you just love it when something works on the first try!
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 460a903..8b88622 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1072,7 +1072,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5P_t *mem_space,
/*
* Compute the size of the request and allocate scratch buffers.
*/
- nelmts = H5P_get_npoints(dataset->space);
+ nelmts = H5P_get_npoints(mem_space);
#ifndef LATER
/*
* Note: This prototype version allocates a buffer large enough to