samba-bugs@samba.org
2009-Jan-07 22:25 UTC
DO NOT REPLY [Bug 6020] New: support/rrsync fails when server-side options include "-e."
https://bugzilla.samba.org/show_bug.cgi?id=6020 Summary: support/rrsync fails when server-side options include "- e." Product: rsync Version: 3.0.4 Platform: All OS/Version: Other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: gwilliam@ucar.edu QAContact: rsync-qa@samba.org When using support/rrsync (rsync-3.0.4), if server-side options look like "--server -e.<whatever>" the script fails, leading to a client-side message like this: rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(632) [sender=3.0.4] This does not appear to happen when the 'e' follows other characters on the server side. For example, "rsync -a file rem:." on the client side results in arguments that look like this on the server: "--server -logDtpre.iLs . .". In this case, everything is fine. On the other hand, if you try "rsync file rem:." on the client side, the arguments on the server look like this: "--server -e.Ls . .", and it fails. I believe the problem is on line 147 of support/rrsync. If I change it from next if /^-$short_no_arg+(e\d*\.\w*)?$/o || /^-$short_with_num\d+$/o; to next if /^-$short_no_arg*(e\d*\.\w*)?$/o || /^-$short_with_num\d+$/o; the problem appears to go away. Thanks, George -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2009-Jan-08 00:42 UTC
DO NOT REPLY [Bug 6020] support/rrsync fails when server-side short options start with "-e"
https://bugzilla.samba.org/show_bug.cgi?id=6020 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Summary|support/rrsync fails when |support/rrsync fails when |server-side options include |server-side short options |"-e." |start with "-e" ------- Comment #1 from wayned@samba.org 2009-01-07 18:42 CST ------- I've checked in a fix into the git repository. Thanks! -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.