Andrew Tridgell [Wed, 6 Sep 2000 07:15:37 +0000 (07:15 +0000)]
neater getconf test
rsync-bugs [Wed, 6 Sep 2000 02:47:00 +0000 (02:47 +0000)]
preparing for release of 2.4.6
Andrew Tridgell [Wed, 6 Sep 2000 02:39:45 +0000 (02:39 +0000)]
README update
Andrew Tridgell [Wed, 6 Sep 2000 02:12:13 +0000 (02:12 +0000)]
added --modify-window option from David Bolen <db3l@fitlinxx.com>
Andrew Tridgell [Wed, 6 Sep 2000 01:27:46 +0000 (01:27 +0000)]
minor man page update
Andrew Tridgell [Wed, 6 Sep 2000 00:48:52 +0000 (00:48 +0000)]
removed spurious error message
Andrew Tridgell [Tue, 5 Sep 2000 23:21:27 +0000 (23:21 +0000)]
added LFS support for Solaris 8
Andrew Tridgell [Thu, 31 Aug 2000 23:01:28 +0000 (23:01 +0000)]
a simple fix to the memory problems with the string pool patch. The
string pools conflict with the lastdir memory saving tricks.
Andrew Tridgell [Tue, 29 Aug 2000 05:07:08 +0000 (05:07 +0000)]
make sure we don't chew too much CPU when the outgoing fd is full
Andrew Tridgell [Tue, 29 Aug 2000 04:47:39 +0000 (04:47 +0000)]
some string_area cleanups
Andrew Tridgell [Tue, 29 Aug 2000 04:46:50 +0000 (04:46 +0000)]
detect list_only a bit earlier
Andrew Tridgell [Tue, 29 Aug 2000 04:46:27 +0000 (04:46 +0000)]
the 2nd half of the hack
Andrew Tridgell [Tue, 29 Aug 2000 04:45:49 +0000 (04:45 +0000)]
a hack to make listing remote sites (by leaving off a target) more
useful
Andrew Tridgell [Sat, 19 Aug 2000 15:25:05 +0000 (15:25 +0000)]
got rid of some unused variables
rsync-bugs [Sat, 19 Aug 2000 13:10:57 +0000 (13:10 +0000)]
preparing for release of 2.4.5
Andrew Tridgell [Sat, 19 Aug 2000 13:04:48 +0000 (13:04 +0000)]
man page updates
Andrew Tridgell [Sat, 19 Aug 2000 13:04:29 +0000 (13:04 +0000)]
allow 0.0.0.0/0 syntax in hosts allow/deny
patch from Charles Levert <charles@comm.polymtl.ca>
Andrew Tridgell [Sat, 19 Aug 2000 12:53:51 +0000 (12:53 +0000)]
added msleep() function
Andrew Tridgell [Sat, 19 Aug 2000 12:53:24 +0000 (12:53 +0000)]
sleep for a smaller time while waiting for a process to exit
Andrew Tridgell [Sat, 19 Aug 2000 12:53:00 +0000 (12:53 +0000)]
added "ignore nonreadable" option (useful for hiding files in public archives)
Andrew Tridgell [Sat, 19 Aug 2000 12:52:39 +0000 (12:52 +0000)]
added an explicit noexcludes flag to make_file()
this fixes a bug with --backup-dir and -x
added "ignore nonreadable" option (useful for hiding files in public archives)
Andrew Tridgell [Sat, 19 Aug 2000 12:51:26 +0000 (12:51 +0000)]
added an explicit noexcludes flag to make_file()
Andrew Tridgell [Sat, 19 Aug 2000 12:51:00 +0000 (12:51 +0000)]
I don't like automatic header dependencies
Andrew Tridgell [Sat, 19 Aug 2000 12:09:52 +0000 (12:09 +0000)]
added MacOS support to config.guess (from wsanchez@apple.com)
Andrew Tridgell [Sat, 19 Aug 2000 11:06:04 +0000 (11:06 +0000)]
fixed backup_dir bug introduced with recent memory handling patches
Andrew Tridgell [Wed, 16 Aug 2000 08:34:18 +0000 (08:34 +0000)]
fixed timing problem with cleanup and io_flush() by using non-blocking
waitpid()
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:18:23 +0000 (21:18 +0000)]
Turn on blocking_io when starting client of rsync server daemon.
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).
rsync-bugs [Sat, 29 Jul 2000 05:05:38 +0000 (05:05 +0000)]
preparing for release of 2.4.4
Andrew Tridgell [Sat, 29 Jul 2000 04:58:24 +0000 (04:58 +0000)]
fix from T.J.Adye@rl.ac.uk for final goodbye message with new protocol
Andrew Tridgell [Sat, 29 Jul 2000 04:52:05 +0000 (04:52 +0000)]
optimisations from Rich Salz <rsalz@caveosystems.com>
Andrew Tridgell [Sat, 29 Jul 2000 04:41:19 +0000 (04:41 +0000)]
added blocking-io docs
Andrew Tridgell [Sat, 24 Jun 2000 13:20:21 +0000 (13:20 +0000)]
added *.bz2 and *.tbz to default dont compress list
Andrew Tridgell [Sat, 24 Jun 2000 13:19:53 +0000 (13:19 +0000)]
added insure debug support
Andrew Tridgell [Sat, 24 Jun 2000 13:19:25 +0000 (13:19 +0000)]
if the remote shell is rsh then use blocking IO
Andrew Tridgell [Fri, 23 Jun 2000 13:54:29 +0000 (13:54 +0000)]
added some comments on blocking-io
Andrew Tridgell [Fri, 23 Jun 2000 13:54:08 +0000 (13:54 +0000)]
get rid of annoying symlink error messages
Andrew Tridgell [Fri, 23 Jun 2000 13:50:18 +0000 (13:50 +0000)]
added --blocking-io option
David Dykstra [Tue, 6 Jun 2000 21:13:05 +0000 (21:13 +0000)]
Add --bwlimit option contributed by Matthew Demicco and Jamie Gritton.
David Dykstra [Fri, 19 May 2000 14:58:28 +0000 (14:58 +0000)]
Do better job at describing exclude/include in man page. Based on suggestions
from Harry Putnam <reader@newsguy.com>.
Andrew Tridgell [Wed, 19 Apr 2000 05:49:15 +0000 (05:49 +0000)]
fixed bug in replacement inet_aton()
Andrew Tridgell [Wed, 19 Apr 2000 05:44:43 +0000 (05:44 +0000)]
test was the wrong way around
Andrew Tridgell [Wed, 19 Apr 2000 05:33:39 +0000 (05:33 +0000)]
autoconf test for broken solaris inet_aton()
Andrew Tridgell [Wed, 19 Apr 2000 05:33:06 +0000 (05:33 +0000)]
by default don't gzip .iso images
rsync-bugs [Sun, 9 Apr 2000 02:53:57 +0000 (02:53 +0000)]
preparing for release of 2.4.3
Andrew Tridgell [Sun, 9 Apr 2000 02:32:57 +0000 (02:32 +0000)]
use 1 second sleeps in the sleep loop as some OSes (NT for example)
don't get interrupted during a sleep.
Andrew Tridgell [Sun, 9 Apr 2000 02:32:18 +0000 (02:32 +0000)]
don't pprint the IO timeout message if we are a server or daemon (can
cause recursive error messages)
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.
rsync-bugs [Thu, 30 Mar 2000 14:24:37 +0000 (14:24 +0000)]
preparing for release of 2.4.2
Andrew Tridgell [Thu, 30 Mar 2000 14:15:00 +0000 (14:15 +0000)]
went back to non-blokcing IO
it looks like ssh is willing to accept a non-blocking fd when used as
a transport, this seems to avoid the Solaris socketpair bug
Andrew Tridgell [Tue, 21 Mar 2000 04:06:04 +0000 (04:06 +0000)]
add a --ignore-errors option
David Dykstra [Fri, 25 Feb 2000 17:02:45 +0000 (17:02 +0000)]
Describe symbolic link handling when writing to a "use chroot = no" module.
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>
rsync-bugs [Sun, 30 Jan 2000 01:02:59 +0000 (01:02 +0000)]
preparing for release of 2.4.1
Andrew Tridgell [Sun, 30 Jan 2000 00:56:43 +0000 (00:56 +0000)]
patch from Jim Delahanty <mail_us@swbell.net> to ensure files are
deleted after being backed up in a rename operation
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 23:49:36 +0000 (23:49 +0000)]
damn.
with the new error handling code it is possible for rsync to get stuck
on the final transaction, leaving it hung.
looks like 2.4.1 will be pretty soon
rsync-bugs [Sat, 29 Jan 2000 11:35:39 +0000 (11:35 +0000)]
preparing for release of 2.4.0
Andrew Tridgell [Sat, 29 Jan 2000 05:25:53 +0000 (05:25 +0000)]
change version to 2.4.0pre2
Andrew Tridgell [Sat, 29 Jan 2000 05:16:13 +0000 (05:16 +0000)]
use full buffer length, not strlen
Andrew Tridgell [Sat, 29 Jan 2000 05:02:23 +0000 (05:02 +0000)]
move the read only daemon test to after the protocol setup
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 [Sat, 29 Jan 2000 03:11:07 +0000 (03:11 +0000)]
I've decided that this release will be 2.4.0, updated version to 2.4.0pre1
Andrew Tridgell [Sat, 29 Jan 2000 02:56:36 +0000 (02:56 +0000)]
don't need PIPE_BUF any more
Andrew Tridgell [Sat, 29 Jan 2000 02:49:03 +0000 (02:49 +0000)]
fixed some logcode warnings
Andrew Tridgell [Sat, 29 Jan 2000 02:39:52 +0000 (02:39 +0000)]
fixed a bug in test suite that I introduced yesterday
Andrew Tridgell [Sat, 29 Jan 2000 02:35:01 +0000 (02:35 +0000)]
runtime detect fnmatch() bug if ** is used.
its all too common to compile with a working libc and run on a broken
one.
Andrew Tridgell [Fri, 28 Jan 2000 15:35:08 +0000 (15:35 +0000)]
changed version to 2.3.3pre2
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 [Fri, 28 Jan 2000 12:37:58 +0000 (12:37 +0000)]
switch to using socketpair instead of pipe if possible. This fixes the
ssh clag problems as long as you also fix the same problem in sshd
removed all the old read buffering code from io.c as this was only
there to try to reduce the chance of clagging up sshd.
Andrew Tridgell [Thu, 27 Jan 2000 04:54:02 +0000 (04:54 +0000)]
report exit code when failing a test
Andrew Tridgell [Thu, 27 Jan 2000 04:53:39 +0000 (04:53 +0000)]
fixed the error code problem with test.sh
(was a minor bug in send_file_list)
Andrew Tridgell [Thu, 27 Jan 2000 02:45:56 +0000 (02:45 +0000)]
patch from James Delahanty <jimd@gie.com> to make --backup-dir work
cross-filesystem
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.
hacked it so it does compile
Andrew Tridgell [Tue, 25 Jan 2000 13:16:42 +0000 (13:16 +0000)]
fix segv bug in --progress handling
Andrew Tridgell [Tue, 25 Jan 2000 06:39:33 +0000 (06:39 +0000)]
patch from David Murn to make sure the final 100% is always printed
when using --progress
Andrew Tridgell [Tue, 25 Jan 2000 01:33:05 +0000 (01:33 +0000)]
updated version.h
Andrew Tridgell [Mon, 24 Jan 2000 13:12:20 +0000 (13:12 +0000)]
updated config.guess from latest autoconf CVS tree
Andrew Tridgell [Mon, 24 Jan 2000 12:28:45 +0000 (12:28 +0000)]
updated --password-file docs
Andrew Tridgell [Mon, 24 Jan 2000 12:23:39 +0000 (12:23 +0000)]
reinstated the MAX_READ_BUFFER code. Its a nasty tradeoff - using lots
of memory vs. ssh bugs. uggh.
Andrew Tridgell [Mon, 24 Jan 2000 12:22:58 +0000 (12:22 +0000)]
updated a debug message
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
Andrew Tridgell [Mon, 24 Jan 2000 11:41:08 +0000 (11:41 +0000)]
fixed a rare SEGV that can happen when a file disappears (due to
another program) during an update
Andrew Tridgell [Mon, 24 Jan 2000 11:20:25 +0000 (11:20 +0000)]
moved file deletion to before the fork() to prevent a race condition
pointed out by byrnes@curl.com
Andrew Tridgell [Mon, 24 Jan 2000 09:19:44 +0000 (09:19 +0000)]
don't use stderr after we become a daemon
Andrew Tridgell [Mon, 24 Jan 2000 09:13:39 +0000 (09:13 +0000)]
I can't believe it - solaris allows unlink of a non-empty directory as
root, leaving a corrupt filesystem. Are those guys on drugs?
try to avoid the problem as best we can.
Andrew Tridgell [Mon, 24 Jan 2000 08:16:57 +0000 (08:16 +0000)]
added some more debug info to the "buffer overflow in
receive_file_entry" message
Andrew Tridgell [Mon, 24 Jan 2000 05:52:44 +0000 (05:52 +0000)]
-a now implies -o and -D whether you are root or not
Andrew Tridgell [Mon, 24 Jan 2000 04:58:53 +0000 (04:58 +0000)]
added --backup-dir option from Bob Edwards
this is very useful for incremental backups
Andrew Tridgell [Sun, 23 Jan 2000 13:16:30 +0000 (13:16 +0000)]
removed Daves include-only optimisation. One of the bug reports turned
out to be caused by it and it seems rather a lot of extra effort for
what must really be a minor optimisation in most cases
Andrew Tridgell [Sun, 23 Jan 2000 12:30:34 +0000 (12:30 +0000)]
fix a problem with files > 2GB
(thanks to T.J.Adye@rl.ac.uk)
Andrew Tridgell [Sun, 23 Jan 2000 11:43:04 +0000 (11:43 +0000)]
added --max-delete option
Andrew Tridgell [Sun, 23 Jan 2000 11:26:10 +0000 (11:26 +0000)]
fixed mdfour code on Cray (64 bit problems)
Thanks to roebel@kgw.tu-berlin.de
Andrew Tridgell [Sun, 23 Jan 2000 07:38:20 +0000 (07:38 +0000)]
removed u_sleep() as it is no longer used anywhere
Andrew Tridgell [Sun, 23 Jan 2000 07:36:56 +0000 (07:36 +0000)]
added some really ugly code to allow errors to propogate to
clients when writing to a rsync server
it works like this:
- we have an extra pipe from the receiver to the generator
- the server always runs with multiplexing on
- errors from the generator go down the multiplexed connection
- errors from the receiver go over the pipe, and from there to
the multiplexed conn
it required some incredibly ugly code. damn.
Andrew Tridgell [Sun, 23 Jan 2000 03:00:27 +0000 (03:00 +0000)]
open on paths starting with // fails on win32
Andrew Tridgell [Sun, 23 Jan 2000 02:16:51 +0000 (02:16 +0000)]
handle systems that don't take a 2nd argument to gettimeofday()