rsync.git
17 years agoDocument patch merge. cvs/branch-merge-rsync+-2.4.7
Martin Pool [Mon, 6 Aug 2001 08:51:33 +0000 (08:51 +0000)]
Document patch merge.

17 years agoThis time for sure :-): merge the rsync+ 2.4.6 patch onto the head.
Martin Pool [Mon, 6 Aug 2001 08:21:40 +0000 (08:21 +0000)]
This time for sure :-): merge the rsync+ 2.4.6 patch onto the head.
The changes are just to accomodate other code which had been added in
conflicting regions, and to update the option-handling code to use
popt rather than getopt.

17 years agoSummarize all the changes since 2.4.6 so we have them in one place.
Martin Pool [Mon, 6 Aug 2001 04:31:05 +0000 (04:31 +0000)]
Summarize all the changes since 2.4.6 so we have them in one place.

17 years agoupdated config scripts from subversion
Andrew Tridgell [Sun, 22 Jul 2001 02:39:06 +0000 (02:39 +0000)]
updated config scripts from subversion

17 years agoreap children in sigchld handler
Andrew Tridgell [Tue, 17 Jul 2001 10:48:31 +0000 (10:48 +0000)]
reap children in sigchld handler

17 years agoprevent nasty error msgs when listing shares
Andrew Tridgell [Tue, 17 Jul 2001 10:45:54 +0000 (10:45 +0000)]
prevent nasty error msgs when listing shares

17 years agoremoved remnant test code for cray
Andrew Tridgell [Thu, 28 Jun 2001 05:07:15 +0000 (05:07 +0000)]
removed remnant test code for cray

17 years agofixed md4 on 64 bit boxes
Andrew Tridgell [Tue, 26 Jun 2001 03:09:14 +0000 (03:09 +0000)]
fixed md4 on 64 bit boxes

17 years agoapplied simple nohang patch from Wayne Davison
Andrew Tridgell [Tue, 26 Jun 2001 01:20:42 +0000 (01:20 +0000)]
applied simple nohang patch from Wayne Davison

17 years agoImprove the description of --with-default-rsync.
David Dykstra [Fri, 22 Jun 2001 20:36:43 +0000 (20:36 +0000)]
Improve the description of --with-default-rsync.

17 years agoallow shell wildcards in auth users lines
Andrew Tridgell [Fri, 22 Jun 2001 10:16:04 +0000 (10:16 +0000)]
allow shell wildcards in auth users lines

17 years agoIf binding to a low-numbered port fails with EACCES, then the error
Martin Pool [Thu, 21 Jun 2001 06:19:00 +0000 (06:19 +0000)]
If binding to a low-numbered port fails with EACCES, then the error
message should explain that you probably need to be root.

(Why leave off the final S?  Kernighan must have been a *really* slow
typist.)

17 years agoFix from Wayne Davison:
Martin Pool [Thu, 21 Jun 2001 06:15:34 +0000 (06:15 +0000)]
Fix from Wayne Davison:

  The --cvs-exclude option is broken in the CVS version of rsync
  because of a cut-and-paste-induced bug in exclude.c:

  This bug could cause the sending rsync to crash when it dereferenced
  a NULL pointer.

17 years agoSimplify the --with-rsync-path option implementation. Can directly pass
David Dykstra [Wed, 13 Jun 2001 16:47:22 +0000 (16:47 +0000)]
Simplify the --with-rsync-path option implementation.  Can directly pass
the double-quotes to AC_DEFINE_UNQUOTED instead of having a separate step.

17 years agoUse 3rd parameter in AC_DEFINE and AC_DEFINE_UNQUOTED to avoid having to
David Dykstra [Tue, 12 Jun 2001 21:35:26 +0000 (21:35 +0000)]
Use 3rd parameter in AC_DEFINE and AC_DEFINE_UNQUOTED to avoid having to
manually put the defines into acconfig.h.

17 years agoAdd --with-rsync-path option.
David Dykstra [Tue, 12 Jun 2001 19:33:41 +0000 (19:33 +0000)]
Add --with-rsync-path option.

17 years agoMake --whole-file the default when source and target are on the local machine.
David Dykstra [Tue, 29 May 2001 14:37:54 +0000 (14:37 +0000)]
Make --whole-file the default when source and target are on the local machine.

18 years agoRan rsync.yo through yodl2man to produce rsync.1. I found that the string
David Dykstra [Thu, 24 May 2001 18:01:56 +0000 (18:01 +0000)]
Ran yo through yodl2man to produce rsync.1.  I found that the string
"file(s)" in rsync.yo was being improperly translated by yodl2man so I
changed it to just "files".

18 years agoAdd --ignore-errors documentation.
David Dykstra [Tue, 22 May 2001 14:33:38 +0000 (14:33 +0000)]
Add --ignore-errors documentation.

18 years agoforgot 1 place that used slprintf
Andrew Tridgell [Mon, 7 May 2001 08:59:48 +0000 (08:59 +0000)]
forgot 1 place that used slprintf

18 years agoimported new snprintf.c from samba, got rid of slprintf
Andrew Tridgell [Mon, 7 May 2001 06:59:37 +0000 (06:59 +0000)]
imported new snprintf.c from samba, got rid of slprintf

18 years agono space after -I or Tru64 barfs
Andrew Tridgell [Sun, 6 May 2001 13:25:11 +0000 (13:25 +0000)]
no space after -I or Tru64 barfs

18 years agouse _S_IFLNK not S_IFLNK
Andrew Tridgell [Wed, 2 May 2001 11:13:21 +0000 (11:13 +0000)]
use _S_IFLNK not S_IFLNK

18 years agouse mkstemp on systems where it is secure
Andrew Tridgell [Wed, 2 May 2001 08:33:18 +0000 (08:33 +0000)]
use mkstemp on systems where it is secure

18 years agobetter pid file location
Andrew Tridgell [Wed, 2 May 2001 05:05:12 +0000 (05:05 +0000)]
better pid file location

18 years agouse %.0f instead of %ld
Andrew Tridgell [Fri, 13 Apr 2001 12:25:19 +0000 (12:25 +0000)]
use %.0f instead of %ld

18 years agoAdd the words "on destination machine" to the --compare-dist description
David Dykstra [Fri, 23 Mar 2001 15:12:52 +0000 (15:12 +0000)]
Add the words "on destination machine" to the --compare-dist description
in rsync.yo.  Re-ran yodl2man which I see pulled in a few other changes
from rsync.yo that hadn't yet made it into rsync.1.

18 years ago"rsync error" is better than "transfer error", especially for -h
Andrew Tridgell [Fri, 23 Mar 2001 03:46:56 +0000 (03:46 +0000)]
"rsync error" is better than "transfer error", especially for -h

18 years agogot rid of dependency on alloca in popt
Andrew Tridgell [Fri, 23 Mar 2001 03:44:50 +0000 (03:44 +0000)]
got rid of dependency on alloca in popt

18 years agoimproved error handling again. Now we report messages for the remote
Andrew Tridgell [Fri, 23 Mar 2001 01:26:04 +0000 (01:26 +0000)]
improved error handling again. Now we report messages for the remote
shell failing and propogate errors in a better fashion

18 years agonew error handling system
Andrew Tridgell [Thu, 22 Mar 2001 07:36:51 +0000 (07:36 +0000)]
new error handling system

we now give a non-0 exit code if *any* of the files we have been asked
to transfer fail to transfer

18 years agobetter error msg for "invalid uid" and "invalid gid"
Andrew Tridgell [Wed, 21 Mar 2001 23:44:48 +0000 (23:44 +0000)]
better error msg for "invalid uid" and "invalid gid"

18 years agoi hate makefiles that automatically run configure
Andrew Tridgell [Wed, 21 Mar 2001 23:36:23 +0000 (23:36 +0000)]
i hate makefiles that automatically run configure
:)

18 years agoI came up with a new way of avoiding the error handling lockup bug in
Andrew Tridgell [Wed, 21 Mar 2001 13:12:44 +0000 (13:12 +0000)]
I came up with a new way of avoiding the error handling lockup bug in
rsync. It isn't pretty, but it does work and should completely avoid
that class of lockup.

18 years agoCheck for alloca.h and mcheck.h, as included popt needs to know about
Martin Pool [Tue, 20 Mar 2001 05:26:27 +0000 (05:26 +0000)]
Check for alloca.h and mcheck.h, as included popt needs to know about
them.

18 years agoOops, fix edit mistake.
Martin Pool [Mon, 19 Mar 2001 08:19:11 +0000 (08:19 +0000)]
Oops, fix edit mistake.

18 years agoMore accurately, the uid/gid is set to -2, not "nobody".
Martin Pool [Sat, 17 Mar 2001 01:35:59 +0000 (01:35 +0000)]
More accurately, the uid/gid is set to -2, not "nobody".

18 years agoAdd some todo comments.
Martin Pool [Sat, 17 Mar 2001 01:34:22 +0000 (01:34 +0000)]
Add some todo comments.

18 years agoDon't unconditionally define _LARGEFILE_SOURCE, but instead include
Martin Pool [Sat, 17 Mar 2001 01:06:34 +0000 (01:06 +0000)]
Don't unconditionally define _LARGEFILE_SOURCE, but instead include
some autoconf-2.13 macros that make the appropriate settings.  Thanks
to Albert Chin <china@thewrittenword.com> and Paul Eggert
<eggert@twinsun.com>.

18 years agoDefine _LARGE_FILES to turn on LFS support on AIX (and some others?).
Martin Pool [Fri, 16 Mar 2001 05:23:33 +0000 (05:23 +0000)]
Define _LARGE_FILES to turn on LFS support on AIX (and some others?).

See http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lrg_files.htm

Thanks to Todd Willeat <TWilleat@MHP.SMHS.com>

18 years agoDoc.
Martin Pool [Fri, 16 Mar 2001 02:11:53 +0000 (02:11 +0000)]
Doc.

18 years agoAdd my name and a suggestion to read the FAQ for unanswered questions.
Martin Pool [Tue, 27 Feb 2001 01:49:19 +0000 (01:49 +0000)]
Add my name and a suggestion to read the FAQ for unanswered questions.

18 years agoExplain that the mktemp warning is harmless.
Martin Pool [Tue, 27 Feb 2001 01:46:34 +0000 (01:46 +0000)]
Explain that the mktemp warning is harmless.

If the autoconf inputs are changed, then try to reconfigure.  Don't
worry if we can't do it, though.

18 years agoAdd some brief notes on how to install.
Martin Pool [Sat, 24 Feb 2001 01:45:21 +0000 (01:45 +0000)]
Add some brief notes on how to install.

18 years agopopt-1.5 is const-correct.
Martin Pool [Sat, 24 Feb 2001 01:39:19 +0000 (01:39 +0000)]
popt-1.5 is const-correct.

18 years agoUpgrade from including popt1.2 to a version of popt1.5 trimmed down to
Martin Pool [Sat, 24 Feb 2001 01:37:48 +0000 (01:37 +0000)]
Upgrade from including popt1.2 to a version of popt1.5 trimmed down to
include only source and build from our Makefile.
Don't scan for libpopt if we're using our own; this makes
autoconf confused.

18 years agoUpgrade from popt 1.2 to a cut-down 1.5
Martin Pool [Sat, 24 Feb 2001 01:32:22 +0000 (01:32 +0000)]
Upgrade from popt 1.2 to a cut-down 1.5

18 years agoDoc.
Martin Pool [Fri, 23 Feb 2001 01:45:46 +0000 (01:45 +0000)]
Doc.

18 years agoChange from getopt to popt -- requires const-correctness on arguments.
Martin Pool [Fri, 23 Feb 2001 01:44:56 +0000 (01:44 +0000)]
Change from getopt to popt -- requires const-correctness on arguments.

18 years agoChange from getopt to popt.
Martin Pool [Fri, 23 Feb 2001 01:44:04 +0000 (01:44 +0000)]
Change from getopt to popt.
Add comments.
Show listening port number in startup log message.

18 years agoChange from getopt to popt.
Martin Pool [Fri, 23 Feb 2001 01:02:55 +0000 (01:02 +0000)]
Change from getopt to popt.
Add comment.

18 years agoChange from getopt to popt.
Martin Pool [Fri, 23 Feb 2001 01:02:31 +0000 (01:02 +0000)]
Change from getopt to popt.
Include more details in --version output: say whether symlinks and
hardlinks are supported.
When hardlink support is missing, explain whether the problem is on
the client or server.
When a bad option is encountered, don't just print it to stderr but
send it to the rsync log mechanism.  (However, server errors currently
seem to get lost in transit because of bugs in logging.)

18 years agoChange from getopt to popt.
Martin Pool [Fri, 23 Feb 2001 00:48:11 +0000 (00:48 +0000)]
Change from getopt to popt.
Automatically build included libpopt if there is none on the system,
or if --with-included-popt is specified.
Add --enable-debug.

18 years agoChange from getopt to popt.
Martin Pool [Fri, 23 Feb 2001 00:47:09 +0000 (00:47 +0000)]
Change from getopt to popt.
Automatically build included libpopt if there is none on the system.

18 years agoChange from getopt to popt.
Martin Pool [Fri, 23 Feb 2001 00:45:07 +0000 (00:45 +0000)]
Change from getopt to popt.

18 years agoAdd comments.
Martin Pool [Thu, 22 Feb 2001 13:02:39 +0000 (13:02 +0000)]
Add comments.
Better error message in the case of eof on read_timeout.

18 years agoNote about multiplexing.
Martin Pool [Thu, 22 Feb 2001 13:01:27 +0000 (13:01 +0000)]
Note about multiplexing.

18 years agoCheck in built-in copy of libpopt in preparation for switching
Martin Pool [Thu, 22 Feb 2001 13:01:09 +0000 (13:01 +0000)]
Check in built-in copy of libpopt in preparation for switching
from getopt

18 years agoDoc.
Martin Pool [Wed, 21 Feb 2001 08:25:07 +0000 (08:25 +0000)]
Doc.

18 years agoMore explanation of return values.
Martin Pool [Wed, 21 Feb 2001 08:16:45 +0000 (08:16 +0000)]
More explanation of return values.

18 years agoBetter message grammar.
Martin Pool [Wed, 21 Feb 2001 07:18:50 +0000 (07:18 +0000)]
Better message grammar.

18 years agoCall this 2.4.6dev so that we don't get bug reports claiming to be
Martin Pool [Wed, 14 Feb 2001 22:59:03 +0000 (22:59 +0000)]
Call this 2.4.6dev so that we don't get bug reports claiming to be
about 2.4.6.

18 years agoAdd table of exit values, from errcode.h.
Martin Pool [Wed, 14 Feb 2001 22:47:28 +0000 (22:47 +0000)]
Add table of exit values, from errcode.h.

18 years agoDocument shortcoming of "unrecognised option" message.
Martin Pool [Thu, 8 Feb 2001 03:28:19 +0000 (03:28 +0000)]
Document shortcoming of "unrecognised option" message.

18 years agoInclude strerror message when there's a socket error.
Martin Pool [Mon, 8 Jan 2001 10:25:00 +0000 (10:25 +0000)]
Include strerror message when there's a socket error.

18 years agoImproved error message.
Martin Pool [Mon, 8 Jan 2001 03:39:53 +0000 (03:39 +0000)]
Improved error message.

18 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.

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

18 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.

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

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

18 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

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

18 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.

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

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

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

18 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

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

18 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

18 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

18 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

18 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.

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

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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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

18 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".

18 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.

18 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.

18 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.

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

18 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.

18 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.

18 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.