[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1b1-19-gdd214fe

mysql vizuser noreply at mpich.org
Tue Aug 20 13:09:11 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  dd214fe7e3e2ffeaa2a81d605e724bca026dfc61 (commit)
      from  d65de57eb1651daee8c04fecade6876c26e5804f (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/dd214fe7e3e2ffeaa2a81d605e724bca026dfc61

commit dd214fe7e3e2ffeaa2a81d605e724bca026dfc61
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date:   Tue Aug 20 10:38:53 2013 -0500

    Remove Linux-isms in test code.
    
    Signed-off-by: Wesley Bland <wbland at mcs.anl.gov>

diff --git a/test/mpi/ft/die.c b/test/mpi/ft/die.c
index 9ff34c4..3c5c6d7 100644
--- a/test/mpi/ft/die.c
+++ b/test/mpi/ft/die.c
@@ -6,20 +6,17 @@
  */
 #include <mpi.h>
 #include <stdio.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <signal.h>
+#include <stdlib.h>
 
 int main(int argc, char **argv)
 {
     int rank, size;
-    pid_t pid;
 
     MPI_Init(&argc, &argv);
     MPI_Comm_rank(MPI_COMM_WORLD, &rank);
 
     if (rank == 1) {
-        _exit(0);
+        exit(0);
     }
 
     if (rank == 0) {
diff --git a/test/mpi/ft/send.c b/test/mpi/ft/send.c
index 0ff64aa..52545d4 100644
--- a/test/mpi/ft/send.c
+++ b/test/mpi/ft/send.c
@@ -6,9 +6,7 @@
  */
 #include <mpi.h>
 #include <stdio.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <signal.h>
+#include <stdlib.h>
 
 /* 
  * This test attempts communication between 2 running processes
@@ -24,7 +22,7 @@ int main(int argc, char **argv)
     MPI_Comm_rank(MPI_COMM_WORLD, &rank);
 
     if (rank == 1) {
-        _exit(0);
+        exit(0);
     }
 
     if (rank == 0) {

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

Summary of changes:
 test/mpi/ft/die.c  |    7 ++-----
 test/mpi/ft/send.c |    6 ++----
 2 files changed, 4 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list