diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-04-10 18:41:07 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-04-10 18:41:07 (GMT) |
commit | 0886c5e267bc876b49a3502376d03ac4956c6ea6 (patch) | |
tree | b84e997f1930320c750e341f79b2d4d318bf6f5b | |
parent | ddcf03a26c378abca1e58edb6bc224ae81ebd0c1 (diff) | |
download | hdf5-0886c5e267bc876b49a3502376d03ac4956c6ea6.zip hdf5-0886c5e267bc876b49a3502376d03ac4956c6ea6.tar.gz hdf5-0886c5e267bc876b49a3502376d03ac4956c6ea6.tar.bz2 |
[svn-r25011] fix bug in Fclose_ff when persist fails.
-rw-r--r-- | src/H5VLiod.c | 2 | ||||
-rw-r--r-- | src/H5VLiod_file.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5VLiod.c b/src/H5VLiod.c index ff0015e..a4bc45f 100644 --- a/src/H5VLiod.c +++ b/src/H5VLiod.c @@ -2316,7 +2316,7 @@ H5VL_iod_file_close(void *_file, hid_t UNUSED dxpl_id, void **req) */ if(0 != file->my_rank) { MPI_Bcast(&ret_value, 1, MPI_INT, 0, file->comm); - if(ret_value == FAIL) + if(ret_value != SUCCEED) HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "Rank 0 Failed to close file"); } diff --git a/src/H5VLiod_file.c b/src/H5VLiod_file.c index 91db23a..f30465e 100644 --- a/src/H5VLiod_file.c +++ b/src/H5VLiod_file.c @@ -819,7 +819,7 @@ H5VL_iod_server_file_close_cb(AXE_engine_t UNUSED axe_engine, done: #if H5_EFF_DEBUG - fprintf(stderr, "Done with file close, sending response to client\n"); + fprintf(stderr, "Done with file close, sending response %d to client\n", ret_value); #endif if(HG_SUCCESS != HG_Handler_start_output(op_data->hg_handle, &ret_value)) HDONE_ERROR_FF(FAIL, "can't send result of file close to client"); |