]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
Refresh of mpi-finalize
authorSean Hefty <sean.hefty@intel.com>
Thu, 26 Jul 2012 22:43:36 +0000 (15:43 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 26 Jul 2012 22:43:36 +0000 (15:43 -0700)
src/preload.c

index 996d8e019a6a7aadd374799da28499f97dcb1ce4..515cc1053aa334b54e2dd9c16ffc10b8def24d85 100644 (file)
@@ -804,6 +804,7 @@ int shutdown(int socket, int how)
 {
        int fd;
        printf("shutdown how %s\n", how == SHUT_RDWR ? "RDWR" : how == SHUT_RD ? "RD" : "WR");
+       fflush(stdout);
        return (fd_get(socket, &fd) == fd_rsocket) ?
                rshutdown(fd, how) : real.shutdown(fd, how);
 }