Bug 8356 - cygwin socketpair "The parameter is incorrect"
cygwin socketpair "The parameter is incorrect"
Product: rsync
Classification: Unclassified
Component: core
All All
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2011-08-06 04:34 UTC by Roland Schulz
Modified: 2011-09-03 22:28 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Roland Schulz 2011-08-06 04:34:08 UTC
The usage of socketpair in fd_pair on cygwin can cause the error "The parameter is incorrect" when trying to use a different rsh. This has been reported before at http://lists.samba.org/archive/rsync/2002-October/003820.html

Usage of pipe instead of socketpair fixes this. I suggest to use pipe instead of socketpair by default for cygwin.
Comment 1 Wayne Davison 2011-09-03 19:09:57 UTC
I checked in a fix for this a little while back.  Thanks for the report!
Comment 2 Roland Schulz 2011-09-03 20:11:30 UTC
starting which which version is it fixed?
Comment 3 Wayne Davison 2011-09-03 22:28:23 UTC
It will be in 3.0.9.