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 dc1ed4a29881962ee5a87c40f1ecf8de9561cd45 (commit) from 692a280f5d46d68b0d699310abb5a5aa99692047 (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/dc1ed4a29881962ee5a87c40f1ecf8de95... commit dc1ed4a29881962ee5a87c40f1ecf8de9561cd45 Author: Wesley Bland <[email protected]> Date: Wed Aug 7 22:46:37 2013 -0500 Fixes #1923 - Incorrect error message. The error message in MPID_nem_tcp_bind line 580 was incorrectly reporting the port that was being attempted due to incrementing the variable at the end of the for loop and not accounting for that in the error message. This patch subtracts one if the port was not succesfully bound when printing out the value for the error message. Thanks to Yauheni Zelenko for reporting this error. Signed-off-by: Huiwei Lu <[email protected]> diff --git a/src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_init.c b/src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_init.c index 1863ba0..6c4e4fb 100644 --- a/src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_init.c +++ b/src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_init.c @@ -577,7 +577,7 @@ int MPID_nem_tcp_bind (int sockfd) MPIU_ERR_CHKANDJUMP3 (errno != EADDRINUSE && errno != EADDRNOTAVAIL, mpi_errno, MPI_ERR_OTHER, "**sock|poll|bind", "**sock|poll|bind %d %d %s", port, errno, MPIU_Strerror (errno)); } /* check if an available port was found */ - MPIU_ERR_CHKANDJUMP3 (ret == -1, mpi_errno, MPI_ERR_OTHER, "**sock|poll|bind", "**sock|poll|bind %d %d %s", port, errno, MPIU_Strerror (errno)); + MPIU_ERR_CHKANDJUMP3 (ret == -1, mpi_errno, MPI_ERR_OTHER, "**sock|poll|bind", "**sock|poll|bind %d %d %s", port-1, errno, MPIU_Strerror (errno)); fn_exit: /* if (ret == 0) */ ----------------------------------------------------------------------- Summary of changes: .../ch3/channels/nemesis/netmod/tcp/tcp_init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- MPICH primary repository