[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-195-g63e1d88

mysql vizuser noreply at mpich.org
Wed May 15 16:22:04 CDT 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  63e1d88fe9182bb1bc60488957624d467a68b9c8 (commit)
      from  1b5334ede0488abc04e981e53ea977780c9e28e6 (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/63e1d88fe9182bb1bc60488957624d467a68b9c8

commit 63e1d88fe9182bb1bc60488957624d467a68b9c8
Author: Rob Latham <robl at mcs.anl.gov>
Date:   Wed May 15 13:36:08 2013 -0500

    duped info in wrong branch of check for null

diff --git a/src/mpi/romio/adio/include/adioi_error.h b/src/mpi/romio/adio/include/adioi_error.h
index 3c47cc3..88a0408 100644
--- a/src/mpi/romio/adio/include/adioi_error.h
+++ b/src/mpi/romio/adio/include/adioi_error.h
@@ -168,10 +168,10 @@ then the dup operation will succeed */
     MPI_Info dupinfo;                           \
     int tmp_err = MPI_SUCCESS;                  \
     if (info == MPI_INFO_NULL) {                \
-	error_code = MPI_Info_dup(info, &dupinfo);  \
 	dupinfo = MPI_INFO_NULL;                    \
-    } else {                                        \
 	error_code = MPI_SUCCESS;                   \
+    } else {                                        \
+	error_code = MPI_Info_dup(info, &dupinfo);  \
     }                                               \
     MPI_Allreduce(&error_code, &tmp_err, 1, MPI_INT, MPI_MAX, comm); \
     if(tmp_err != MPI_SUCCESS) {                                            \

-----------------------------------------------------------------------

Summary of changes:
 src/mpi/romio/adio/include/adioi_error.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list