[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1rc1-45-gbe75c78
mysql vizuser
noreply at mpich.org
Sat Nov 16 11:31:55 CST 2013
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 be75c78623e48ac96c11fbe33c3b513fc435dafd (commit)
from 53640e262bc9f35d9729530c3af80773098bc34d (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/be75c78623e48ac96c11fbe33c3b513fc435dafd
commit be75c78623e48ac96c11fbe33c3b513fc435dafd
Author: Antonio J. Pena <apenya at mcs.anl.gov>
Date: Sat Nov 16 11:28:11 2013 -0600
Hotfix for 53640e26
The commented-out variable in 53640e26 is in fact hiddenly used by the macro
MPIU_ERR_SET1, only if HAVE_ERROR_CHECKING is defined. That macro assumes the
variable is declared and does not take it from its arguments. This hotfix
declares the FCNAME[] variable if HAVE_ERROR_CHECKING is defined.
diff --git a/src/nameserv/file/file_nameserv.c b/src/nameserv/file/file_nameserv.c
index 327a487..3483dbc 100644
--- a/src/nameserv/file/file_nameserv.c
+++ b/src/nameserv/file/file_nameserv.c
@@ -172,10 +172,12 @@ int MPID_NS_Publish( MPID_NS_Handle handle, const MPID_Info *info_ptr,
int MPID_NS_Lookup( MPID_NS_Handle handle, const MPID_Info *info_ptr,
const char service_name[], char port[] )
{
- /* static const char FCNAME[] = "MPID_NS_Lookup"; */
FILE *fp;
char filename[MAXPATHLEN];
int mpi_errno = MPI_SUCCESS;
+#ifdef HAVE_ERROR_CHECKING
+ static const char FCNAME[] = "MPID_NS_Lookup";
+#endif
/* Determine file and directory name. The file name is from
the service name */
-----------------------------------------------------------------------
Summary of changes:
src/nameserv/file/file_nameserv.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list