From 9e2e7a1b2d921a56cbf8f8a76d6fdc12af8d07f8 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 25 Dec 2013 14:20:52 -0800 Subject: Restoring use of socketpair on cygwin. Use of socketpair is much faster on cygwin, and some folks report fewer hangs using the modern socketpair implementation vs pipes. --- configure.ac | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configure.ac b/configure.ac index 99a2dab1..f66e5ef8 100644 --- a/configure.ac +++ b/configure.ac @@ -739,11 +739,7 @@ AC_TRY_RUN([ main() { int fd[2]; -#ifdef __CYGWIN__ - exit(1); -#else exit((socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1); -#endif }], rsync_cv_HAVE_SOCKETPAIR=yes,rsync_cv_HAVE_SOCKETPAIR=no,rsync_cv_HAVE_SOCKETPAIR=cross)]) if test x"$rsync_cv_HAVE_SOCKETPAIR" = x"yes"; then -- cgit v1.2.1