diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2016-11-29 23:45:20 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2016-11-29 23:45:20 (GMT) |
commit | b866bbfe3a2f8b0c3e643a99aebf505bebc3418c (patch) | |
tree | 3d2feb0155fd32319f17b97b5cb0e19f859447ca /examples/h5dsm_dset_open.c | |
parent | 2b28dc62469fb21cb0fff1082e5a6a764e2de8b7 (diff) | |
download | hdf5-b866bbfe3a2f8b0c3e643a99aebf505bebc3418c.zip hdf5-b866bbfe3a2f8b0c3e643a99aebf505bebc3418c.tar.gz hdf5-b866bbfe3a2f8b0c3e643a99aebf505bebc3418c.tar.bz2 |
Fix bugs in read/write implementation. Only seems to read/write the
first element. Examples don't build correctly with make.
Diffstat (limited to 'examples/h5dsm_dset_open.c')
-rw-r--r-- | examples/h5dsm_dset_open.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/h5dsm_dset_open.c b/examples/h5dsm_dset_open.c index c45147a..18cfad8 100644 --- a/examples/h5dsm_dset_open.c +++ b/examples/h5dsm_dset_open.c @@ -37,8 +37,6 @@ int main(int argc, char *argv[]) { ERROR; if(H5Fclose(file) < 0) ERROR; - if(H5Sclose(space) < 0) - ERROR; if(H5Pclose(fapl) < 0) ERROR; @@ -53,7 +51,6 @@ error: H5Dclose_ff(dset, -1); H5TRclose(trans); H5Fclose(file); - H5Sclose(space); H5Pclose(fapl); } H5E_END_TRY; |