rsync 2.6.2 doesn't work with GNU inetutils rsh

Wayne Davison wayned at samba.org
Fri Jun 4 18:23:03 GMT 2004


On Thu, Jun 03, 2004 at 05:43:28PM -0400, Anthony Heading wrote:
> This is the cygwin build of rsync, with the standard cygwin
> rsh (which is a fairly old GNU inetutils 1.3.2).

A few months ago cygwin switched their getopt code (when they added
getopt support to their library, I think) and this made several
utilities break like this -- e.g. it also affected ssh (but I managed
to talk them out of such a broken behavior).  I believe that having
rsh behave this way is also a cygwin bug because it is silly to have
a tool that is accepting a command-line reorder the to-run command's
options prior to the command (and the rsh utilities on other OSes
don't do this).  I'd recommend complaining to the cygwin folks about
it.

I suppose I could have rsync export the environment variable
POSIXLY_CORRECT, but that just seems to rub me the wrong way.

..wayne..


More information about the rsync mailing list