> is it a case that the source and destination directory are the same ?
> ..is that the issue at hand ?

Tom,

Doesn't matter when I try it.

Aaron, I am able to cause a premature exit by running against a source
machine's rsync that doesn't exist.  By default, openrsync will invoke
"rsync".  So if you're running

 % openrsync whatever wherever

It will look for "rsync" on the local computer.  On my machine:

% /usr/bin/openrsync --rsync-path /usr/bin/muppet -v xyzzy/ xyzzy/
io.c:224: error: unexpected end of file
io.c:247: error: io_read_nonblocking
io.c:638: error: io_read_buf
client.c:56: error: io_read_int

Is this the case with you?  You can verify by running:

% /usr/bin/openrsync --rsync-path /usr/bin/openrsync -v xyzzy/ xyzzy/
flist.c:1076: warning: xyzzy/: skipping directory
Transfer starting: 0 files
Transfer complete: 16 B sent, 17 B read, 0 B file size

Of course, if you use -a,

% /usr/bin/openrsync --rsync-path /usr/bin/openrsync -va xyzzy/ xyzzy/
Transfer starting: 64 files
Transfer complete: 16 B sent, 2.3 KB read, 290.6 KB file size

Either way, I'll cook up a patch to have an error message following the
execvp in main.c.

Best,

Kristaps

Reply via email to