[mpich] MPICH primary repository branch, master, updated. v3.0.4-359-g05fd0e1
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "MPICH primary repository". The branch, master has been updated via 05fd0e1b5e1822cd98eafa3cbde20140ee98fb33 (commit) from 95439bc8cac289f5db90aa0022a4a39ba447d932 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.mpich.org/mpich.git/commitdiff/05fd0e1b5e1822cd98eafa3cbde20140ee... commit 05fd0e1b5e1822cd98eafa3cbde20140ee98fb33 Author: Xin Zhao <[email protected]> Date: Wed Jul 24 21:13:48 2013 -0500 fix bug: return info=false in MPIDI_Win_get_info if that info is not set by user. Signed-off-by: Pavan Balaji <[email protected]> diff --git a/src/mpid/ch3/src/ch3u_win_fns.c b/src/mpid/ch3/src/ch3u_win_fns.c index fba9694..b44bae2 100644 --- a/src/mpid/ch3/src/ch3u_win_fns.c +++ b/src/mpid/ch3/src/ch3u_win_fns.c @@ -353,7 +353,7 @@ int MPIDI_Win_get_info(MPID_Win *win, MPID_Info **info_used) if (win->info_args.no_locks) mpi_errno = MPIR_Info_set_impl(*info_used, "no_locks", "true"); else - mpi_errno = MPIR_Info_set_impl(*info_used, "no_locks", ""); + mpi_errno = MPIR_Info_set_impl(*info_used, "no_locks", "false"); if (mpi_errno != MPI_SUCCESS) { MPIU_ERR_POP(mpi_errno); } @@ -386,7 +386,7 @@ int MPIDI_Win_get_info(MPID_Win *win, MPID_Info **info_used) if (win->info_args.alloc_shared_noncontig) mpi_errno = MPIR_Info_set_impl(*info_used, "alloc_shared_noncontig", "true"); else - mpi_errno = MPIR_Info_set_impl(*info_used, "alloc_shared_noncontig", ""); + mpi_errno = MPIR_Info_set_impl(*info_used, "alloc_shared_noncontig", "false"); if (mpi_errno != MPI_SUCCESS) { MPIU_ERR_POP(mpi_errno); } } @@ -394,7 +394,7 @@ int MPIDI_Win_get_info(MPID_Win *win, MPID_Info **info_used) if (win->info_args.same_size) mpi_errno = MPIR_Info_set_impl(*info_used, "same_size", "true"); else - mpi_errno = MPIR_Info_set_impl(*info_used, "same_size", ""); + mpi_errno = MPIR_Info_set_impl(*info_used, "same_size", "false"); if (mpi_errno != MPI_SUCCESS) { MPIU_ERR_POP(mpi_errno); } } ----------------------------------------------------------------------- Summary of changes: src/mpid/ch3/src/ch3u_win_fns.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- MPICH primary repository
participants (1)
-
noreply@mpich.org