Martin Pool [Thu, 26 Oct 2000 07:31:29 +0000 (07:31 +0000)]
Print strerror when a system error occurs; add a new function rsyserr
to do this. This is not used in every case yet -- I've just changed a
few cases that were causing trouble. Please convert others as you see them.
Martin Pool [Thu, 26 Oct 2000 07:24:18 +0000 (07:24 +0000)]
Print strerror when a system error occurs; add a new function rsyserr
to do this. This is not used in every case yet -- I've just changed a
few cases that were causing trouble. Please convert others as you see them.
David Dykstra [Tue, 24 Oct 2000 18:50:08 +0000 (18:50 +0000)]
When running as --daemon in the background and using a "log file" rsyncd.conf
directive, close the log file every time it is open when going to sleep on
the socket. This allows the log file to get cleaned out by another process.
David Dykstra [Fri, 4 Aug 2000 21:26:17 +0000 (21:26 +0000)]
Undo last setting of blocking_io. I hadn't reviewed the code well enough;
turns out that when client is talking to a server daemon it never executes
this leg of code. Oops. The people who said it made a difference when
they changed the code must have been wrong.
David Dykstra [Fri, 4 Aug 2000 21:11:46 +0000 (21:11 +0000)]
Enable --compare-dest to work in combination with --always-checksum.
Problem and suggested patch from Dean Scothern dino@cricinfo.com (although
I re-wrote the patch).
Andrew Tridgell [Sun, 9 Apr 2000 02:16:42 +0000 (02:16 +0000)]
a very simple fix - if I'd only thought if it last week :)
rsh relies on stdin being blocking
ssh relies on stdout being non-blocking
what we've done before is to set both stdin and stdout to either
blocking or non-blocking. Now I set stdin to blocking and stdout to
non-blocking. This seems to fix all cases I've tested.
David Dykstra [Tue, 22 Feb 2000 19:47:44 +0000 (19:47 +0000)]
Somebody was confused into thinking that "Here are some examples" in the
section on exclude/include was supposed to be about "+/-" so I changed
the statement to "Here are some exclude/include examples".
David Dykstra [Tue, 22 Feb 2000 15:55:40 +0000 (15:55 +0000)]
Change socketpair test to verify that it works rather than just exists,
because I have an obscure system (Amdahl's UTS 2.1.2) in which socketpair()
exists but is broken.
David Dykstra [Tue, 15 Feb 2000 22:44:18 +0000 (22:44 +0000)]
Move the checking for -lsocket -lnsl ahead of the checking for most of
the functions, especially "socketpair" so that socket-related functions will
be properly discovered on SVR4-based systems such as Solaris. Problem
discovered by Kenji Miyake <kenji@miyake.org>
Andrew Tridgell [Sun, 30 Jan 2000 00:50:19 +0000 (00:50 +0000)]
another hang-at-end fix. It looks like we are more sensiitive to
these with socketpairs. The receiver now sleeps until it gets a signal
to tell it to exit
also fixed test.sh to use the current version remotely
Andrew Tridgell [Sat, 29 Jan 2000 04:50:01 +0000 (04:50 +0000)]
damn!
the last pre-release had a bug that didn't setup the multiplexing
correctly. This means that pre-release will get "unexpected tag -7"
whenm talking to the fixed code.
Andrew Tridgell [Fri, 28 Jan 2000 15:29:59 +0000 (15:29 +0000)]
- switched on multiplexing for all connections, not just daemon
connections (this fixes the stderr/stdout problem). Upped
protocol version for backward compat
- use multiplexing on error fd
- upped minimal protocol version
- got rid of some ugly code in the write buffering
Andrew Tridgell [Tue, 25 Jan 2000 14:17:21 +0000 (14:17 +0000)]
the convoluted nest of #ifdefs that is fnmatch.c caught us again. On
my system the LIBC tests meant it never compiled and we used the
broken system one.
Andrew Tridgell [Mon, 24 Jan 2000 12:02:44 +0000 (12:02 +0000)]
make the replacement inet_aton() function independent of
inet_addr(). Some systems were detecting a missing inet_aton(), but
actually had it and inet_addr() called it, causing infinite recursion