rsync.git
23 years agoIgnore generated files that are not stored in CVS.
Martin Pool [Mon, 8 Jan 2001 03:39:32 +0000 (03:39 +0000)]
Ignore generated files that are not stored in CVS.

23 years agoTypo fix from Jim Meyering
Martin Pool [Mon, 8 Jan 2001 01:10:58 +0000 (01:10 +0000)]
Typo fix from Jim Meyering

23 years agoBetter explain how the --blocking-io option works.
David Dykstra [Fri, 5 Jan 2001 17:57:11 +0000 (17:57 +0000)]
Better explain how the --blocking-io option works.

23 years agoAdd comments.
Martin Pool [Wed, 15 Nov 2000 05:53:45 +0000 (05:53 +0000)]
Add comments.

23 years agoDoc.
Martin Pool [Wed, 15 Nov 2000 03:16:06 +0000 (03:16 +0000)]
Doc.

23 years agoIn --version, say whether we have socketpair() or not
Martin Pool [Fri, 10 Nov 2000 03:41:47 +0000 (03:41 +0000)]
In --version, say whether we have socketpair() or not

23 years agoIgnore dummy output file
Martin Pool [Fri, 10 Nov 2000 03:41:17 +0000 (03:41 +0000)]
Ignore dummy output file

23 years agoIf an error occurs, print an explanatory string rather
Martin Pool [Fri, 10 Nov 2000 03:28:15 +0000 (03:28 +0000)]
If an error occurs, print an explanatory string rather
than just an RERR code.

23 years agoDoc.
Martin Pool [Fri, 10 Nov 2000 03:17:08 +0000 (03:17 +0000)]
Doc.

23 years agoDrop dead variable.
Martin Pool [Thu, 9 Nov 2000 09:45:19 +0000 (09:45 +0000)]
Drop dead variable.

23 years agoDocument getsockopt POSIX confusion.
Martin Pool [Thu, 9 Nov 2000 09:27:34 +0000 (09:27 +0000)]
Document getsockopt POSIX confusion.

23 years agoPrint a warning message in the version if the platform cannot support 32-bit ints
Martin Pool [Thu, 9 Nov 2000 09:05:14 +0000 (09:05 +0000)]
Print a warning message in the version if the platform cannot support 32-bit ints

23 years agoBetter error messages
Martin Pool [Thu, 9 Nov 2000 09:02:16 +0000 (09:02 +0000)]
Better error messages

23 years agoBetter error messages when unlink fails
Martin Pool [Wed, 8 Nov 2000 09:45:16 +0000 (09:45 +0000)]
Better error messages when unlink fails

23 years agoBetter error messages when unlink fails
Martin Pool [Wed, 8 Nov 2000 09:32:11 +0000 (09:32 +0000)]
Better error messages when unlink fails

23 years agoBetter error messages when unlink fails
Martin Pool [Wed, 8 Nov 2000 09:32:10 +0000 (09:32 +0000)]
Better error messages when unlink fails

23 years agoCorrect license name. Note new address of pserver. Correct documentation.
Martin Pool [Thu, 2 Nov 2000 11:38:13 +0000 (11:38 +0000)]
Correct license name.  Note new address of pserver.  Correct documentation.

23 years agoAdd some comments.
Martin Pool [Thu, 2 Nov 2000 11:37:34 +0000 (11:37 +0000)]
Add some comments.

23 years agofix bug in handling of :
Andrew Tridgell [Tue, 31 Oct 2000 10:59:50 +0000 (10:59 +0000)]
fix bug in handling of :

23 years agoDisplay a warning about pointlessly using --rsh with clientserver mode.
Martin Pool [Tue, 31 Oct 2000 01:05:42 +0000 (01:05 +0000)]
Display a warning about pointlessly using --rsh with clientserver mode.

23 years agoDraft documentation of the client-server protocol.
Martin Pool [Thu, 26 Oct 2000 08:05:36 +0000 (08:05 +0000)]
Draft documentation of the client-server protocol.

23 years agoPrint strerror when a system error occurs; add a new function rsyserr
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.

23 years agoPrint strerror when a system error occurs; add a new function rsyserr
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.

23 years agoMake sure the log file is always opened before root privileges (if any)
David Dykstra [Wed, 25 Oct 2000 19:57:42 +0000 (19:57 +0000)]
Make sure the log file is always opened before root privileges (if any)
are given up.

23 years agoWhen running as --daemon in the background and using a "log file" rsyncd.conf
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.

23 years agodon't clobber argv[0], so ps shows the right thing
Andrew Tridgell [Thu, 19 Oct 2000 00:47:48 +0000 (00:47 +0000)]
don't clobber argv[0], so ps shows the right thing

23 years agoAdd note in "secrets file" section to see "strict modes".
David Dykstra [Fri, 13 Oct 2000 13:49:31 +0000 (13:49 +0000)]
Add note in "secrets file" section to see "strict modes".

23 years agoClear up conditions for running as root.
Martin Pool [Fri, 13 Oct 2000 03:28:12 +0000 (03:28 +0000)]
Clear up conditions for running as root.

23 years agoOops: manpage updates should go into the yodl source.
Martin Pool [Fri, 13 Oct 2000 03:25:07 +0000 (03:25 +0000)]
Oops: manpage updates should go into the yodl source.

23 years agoQuick list of things to do.
Martin Pool [Wed, 11 Oct 2000 00:57:27 +0000 (00:57 +0000)]
Quick list of things to do.

23 years agoClearer "nothing to do" message.
Martin Pool [Tue, 10 Oct 2000 01:26:55 +0000 (01:26 +0000)]
Clearer "nothing to do" message.

23 years agoGet rid of const modifiers; they're problematic with old compilers.
Martin Pool [Mon, 9 Oct 2000 03:48:47 +0000 (03:48 +0000)]
Get rid of const modifiers; they're problematic with old compilers.

23 years agoinclude/exclude cluestick: with -vv, print out whether files are
Martin Pool [Mon, 9 Oct 2000 03:46:38 +0000 (03:46 +0000)]
include/exclude cluestick: with -vv, print out whether files are
included or excluded and why.

23 years agoAdded provision for packaging for Linux Standards Base compliant Linux systems.
John H Terpstra [Mon, 11 Sep 2000 18:04:35 +0000 (18:04 +0000)]
Added provision for packaging for Linux Standards Base compliant Linux systems.

23 years agoneater getconf test
Andrew Tridgell [Wed, 6 Sep 2000 07:15:37 +0000 (07:15 +0000)]
neater getconf test

23 years agopreparing for release of 2.4.6 v2.4.6
rsync-bugs [Wed, 6 Sep 2000 02:47:00 +0000 (02:47 +0000)]
preparing for release of 2.4.6

23 years agoREADME update
Andrew Tridgell [Wed, 6 Sep 2000 02:39:45 +0000 (02:39 +0000)]
README update

23 years agoadded --modify-window option from David Bolen <db3l@fitlinxx.com>
Andrew Tridgell [Wed, 6 Sep 2000 02:12:13 +0000 (02:12 +0000)]
added --modify-window option from David Bolen <db3l@fitlinxx.com>

23 years agominor man page update
Andrew Tridgell [Wed, 6 Sep 2000 01:27:46 +0000 (01:27 +0000)]
minor man page update

23 years agoremoved spurious error message
Andrew Tridgell [Wed, 6 Sep 2000 00:48:52 +0000 (00:48 +0000)]
removed spurious error message

23 years agoadded LFS support for Solaris 8
Andrew Tridgell [Tue, 5 Sep 2000 23:21:27 +0000 (23:21 +0000)]
added LFS support for Solaris 8

23 years agoa simple fix to the memory problems with the string pool patch. The
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.

23 years agomake sure we don't chew too much CPU when the outgoing fd is full
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

23 years agosome string_area cleanups
Andrew Tridgell [Tue, 29 Aug 2000 04:47:39 +0000 (04:47 +0000)]
some string_area cleanups

23 years agodetect list_only a bit earlier
Andrew Tridgell [Tue, 29 Aug 2000 04:46:50 +0000 (04:46 +0000)]
detect list_only a bit earlier

23 years agothe 2nd half of the hack
Andrew Tridgell [Tue, 29 Aug 2000 04:46:27 +0000 (04:46 +0000)]
the 2nd half of the hack

23 years agoa hack to make listing remote sites (by leaving off a target) more
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

23 years agogot rid of some unused variables
Andrew Tridgell [Sat, 19 Aug 2000 15:25:05 +0000 (15:25 +0000)]
got rid of some unused variables

23 years agopreparing for release of 2.4.5 v2.4.5
rsync-bugs [Sat, 19 Aug 2000 13:10:57 +0000 (13:10 +0000)]
preparing for release of 2.4.5

23 years agoman page updates
Andrew Tridgell [Sat, 19 Aug 2000 13:04:48 +0000 (13:04 +0000)]
man page updates

23 years agoallow 0.0.0.0/0 syntax in hosts allow/deny
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>

23 years agoadded msleep() function
Andrew Tridgell [Sat, 19 Aug 2000 12:53:51 +0000 (12:53 +0000)]
added msleep() function

23 years agosleep for a smaller time while waiting for a process to exit
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

23 years agoadded "ignore nonreadable" option (useful for hiding files in public archives)
Andrew Tridgell [Sat, 19 Aug 2000 12:53:00 +0000 (12:53 +0000)]
added "ignore nonreadable" option (useful for hiding files in public archives)

23 years agoadded an explicit noexcludes flag to make_file()
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)

23 years agoadded an explicit noexcludes flag to make_file()
Andrew Tridgell [Sat, 19 Aug 2000 12:51:26 +0000 (12:51 +0000)]
added an explicit noexcludes flag to make_file()

23 years agoI don't like automatic header dependencies
Andrew Tridgell [Sat, 19 Aug 2000 12:51:00 +0000 (12:51 +0000)]
I don't like automatic header dependencies

23 years agoadded MacOS support to config.guess (from wsanchez@apple.com)
Andrew Tridgell [Sat, 19 Aug 2000 12:09:52 +0000 (12:09 +0000)]
added MacOS support to config.guess (from wsanchez@apple.com)

23 years agofixed backup_dir bug introduced with recent memory handling patches
Andrew Tridgell [Sat, 19 Aug 2000 11:06:04 +0000 (11:06 +0000)]
fixed backup_dir bug introduced with recent memory handling patches

23 years agofixed timing problem with cleanup and io_flush() by using non-blocking
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()

23 years agoUndo last setting of blocking_io. I hadn't reviewed the code well enough;
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.

23 years agoTurn on blocking_io when starting client of rsync server daemon.
David Dykstra [Fri, 4 Aug 2000 21:18:23 +0000 (21:18 +0000)]
Turn on blocking_io when starting client of rsync server daemon.

23 years agoEnable --compare-dest to work in combination with --always-checksum.
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).

23 years agopreparing for release of 2.4.4 v2.4.4
rsync-bugs [Sat, 29 Jul 2000 05:05:38 +0000 (05:05 +0000)]
preparing for release of 2.4.4

23 years agofix from T.J.Adye@rl.ac.uk for final goodbye message with new protocol
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

23 years agooptimisations from Rich Salz <rsalz@caveosystems.com>
Andrew Tridgell [Sat, 29 Jul 2000 04:52:05 +0000 (04:52 +0000)]
optimisations from Rich Salz <rsalz@caveosystems.com>

23 years agoadded blocking-io docs
Andrew Tridgell [Sat, 29 Jul 2000 04:41:19 +0000 (04:41 +0000)]
added blocking-io docs

23 years agoadded *.bz2 and *.tbz to default dont compress list
Andrew Tridgell [Sat, 24 Jun 2000 13:20:21 +0000 (13:20 +0000)]
added *.bz2 and *.tbz to default dont compress list

23 years agoadded insure debug support
Andrew Tridgell [Sat, 24 Jun 2000 13:19:53 +0000 (13:19 +0000)]
added insure debug support

23 years agoif the remote shell is rsh then use blocking IO
Andrew Tridgell [Sat, 24 Jun 2000 13:19:25 +0000 (13:19 +0000)]
if the remote shell is rsh then use blocking IO

23 years agoadded some comments on blocking-io
Andrew Tridgell [Fri, 23 Jun 2000 13:54:29 +0000 (13:54 +0000)]
added some comments on blocking-io

23 years agoget rid of annoying symlink error messages
Andrew Tridgell [Fri, 23 Jun 2000 13:54:08 +0000 (13:54 +0000)]
get rid of annoying symlink error messages

23 years agoadded --blocking-io option
Andrew Tridgell [Fri, 23 Jun 2000 13:50:18 +0000 (13:50 +0000)]
added --blocking-io option

23 years agoAdd --bwlimit option contributed by Matthew Demicco and Jamie Gritton.
David Dykstra [Tue, 6 Jun 2000 21:13:05 +0000 (21:13 +0000)]
Add --bwlimit option contributed by Matthew Demicco and Jamie Gritton.

23 years agoDo better job at describing exclude/include in man page. Based on suggestions
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>.

24 years agofixed bug in replacement inet_aton()
Andrew Tridgell [Wed, 19 Apr 2000 05:49:15 +0000 (05:49 +0000)]
fixed bug in replacement inet_aton()

24 years agotest was the wrong way around
Andrew Tridgell [Wed, 19 Apr 2000 05:44:43 +0000 (05:44 +0000)]
test was the wrong way around

24 years agoautoconf test for broken solaris inet_aton()
Andrew Tridgell [Wed, 19 Apr 2000 05:33:39 +0000 (05:33 +0000)]
autoconf test for broken solaris inet_aton()

24 years agoby default don't gzip .iso images
Andrew Tridgell [Wed, 19 Apr 2000 05:33:06 +0000 (05:33 +0000)]
by default don't gzip .iso images

24 years agopreparing for release of 2.4.3 v2.4.3
rsync-bugs [Sun, 9 Apr 2000 02:53:57 +0000 (02:53 +0000)]
preparing for release of 2.4.3

24 years agouse 1 second sleeps in the sleep loop as some OSes (NT for example)
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.

24 years agodon't pprint the IO timeout message if we are a server or daemon (can
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)

24 years agoa very simple fix - if I'd only thought if it last week :)
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.

24 years agopreparing for release of 2.4.2 v2.4.2
rsync-bugs [Thu, 30 Mar 2000 14:24:37 +0000 (14:24 +0000)]
preparing for release of 2.4.2

24 years agowent back to non-blokcing IO
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

24 years agoadd a --ignore-errors option
Andrew Tridgell [Tue, 21 Mar 2000 04:06:04 +0000 (04:06 +0000)]
add a --ignore-errors option

24 years agoDescribe symbolic link handling when writing to a "use chroot = no" module.
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.

24 years agoSomebody was confused into thinking that "Here are some examples" in the
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".

24 years agoChange socketpair test to verify that it works rather than just exists,
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.

24 years agoMove the checking for -lsocket -lnsl ahead of the checking for most of
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>

24 years agopreparing for release of 2.4.1 v2.4.1
rsync-bugs [Sun, 30 Jan 2000 01:02:59 +0000 (01:02 +0000)]
preparing for release of 2.4.1

24 years agopatch from Jim Delahanty <mail_us@swbell.net> to ensure files are
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

24 years agoanother hang-at-end fix. It looks like we are more sensiitive to
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

24 years agodamn.
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

24 years agopreparing for release of 2.4.0 v2.4.0
rsync-bugs [Sat, 29 Jan 2000 11:35:39 +0000 (11:35 +0000)]
preparing for release of 2.4.0

24 years agochange version to 2.4.0pre2
Andrew Tridgell [Sat, 29 Jan 2000 05:25:53 +0000 (05:25 +0000)]
change version to 2.4.0pre2

24 years agouse full buffer length, not strlen
Andrew Tridgell [Sat, 29 Jan 2000 05:16:13 +0000 (05:16 +0000)]
use full buffer length, not strlen

24 years agomove the read only daemon test to after the protocol setup
Andrew Tridgell [Sat, 29 Jan 2000 05:02:23 +0000 (05:02 +0000)]
move the read only daemon test to after the protocol setup

24 years agodamn!
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.

24 years agoI've decided that this release will be 2.4.0, updated version to 2.4.0pre1
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