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_file_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_file_open.c')
-rw-r--r-- | examples/h5dsm_file_open.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/h5dsm_file_open.c b/examples/h5dsm_file_open.c index 7016699..379d39f 100644 --- a/examples/h5dsm_file_open.c +++ b/examples/h5dsm_file_open.c @@ -36,5 +36,15 @@ int main(int argc, char *argv[]) { (void)MPI_Finalize(); return 0; + +error: + H5E_BEGIN_TRY { + H5Fclose(file); + H5Pclose(fapl); + } H5E_END_TRY; + + (void)daos_fini(); + (void)MPI_Finalize(); + return 1; } |