diff options
author | Wayne Davison <wayned@samba.org> | 2013-12-25 14:20:52 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2013-12-25 14:20:53 -0800 |
commit | 9e2e7a1b2d921a56cbf8f8a76d6fdc12af8d07f8 (patch) | |
tree | bfc7a2550c0d5f45d372a66db090a2271424e2a4 /configure.ac | |
parent | d34eaa8183296e3fda0d609e8cefd2c2f3d1ef9d (diff) | |
download | rsync-9e2e7a1b2d921a56cbf8f8a76d6fdc12af8d07f8.tar.gz rsync-9e2e7a1b2d921a56cbf8f8a76d6fdc12af8d07f8.tar.bz2 rsync-9e2e7a1b2d921a56cbf8f8a76d6fdc12af8d07f8.zip |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 0 insertions, 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 |