rsync/rsync.git
22 years agoAdd a little more protocol documentation.
Martin Pool [Wed, 22 Aug 2001 04:14:05 +0000 (04:14 +0000)]
Add a little more protocol documentation.

22 years agoNote about cross-testing different versions.
Martin Pool [Wed, 22 Aug 2001 04:09:07 +0000 (04:09 +0000)]
Note about cross-testing different versions.

22 years agoReturn 1 if any tests failed so that the build farm can pick it up.
Martin Pool [Tue, 21 Aug 2001 14:06:52 +0000 (14:06 +0000)]
Return 1 if any tests failed so that the build farm can pick it up.

22 years agoChange test directory again.
Martin Pool [Tue, 21 Aug 2001 13:44:08 +0000 (13:44 +0000)]
Change test directory again.

22 years agoDon't look at $srcdir if it's not set. (Why isn't it set??)
Martin Pool [Tue, 21 Aug 2001 13:26:30 +0000 (13:26 +0000)]
Don't look at $srcdir if it's not set.  (Why isn't it set??)

22 years agoShow trace while testing.
Martin Pool [Tue, 21 Aug 2001 13:20:53 +0000 (13:20 +0000)]
Show trace while testing.

22 years agoTry again to find the right directory on both local and farm builds.
Martin Pool [Tue, 21 Aug 2001 13:10:18 +0000 (13:10 +0000)]
Try again to find the right directory on both local and farm builds.

22 years agoMore test suite stuff
Martin Pool [Tue, 21 Aug 2001 13:00:55 +0000 (13:00 +0000)]
More test suite stuff

22 years agoPrint source directory.
Martin Pool [Tue, 21 Aug 2001 12:49:23 +0000 (12:49 +0000)]
Print source directory.

22 years agoUpdate notes; add idea about rsyncsh
Martin Pool [Sat, 18 Aug 2001 23:50:27 +0000 (23:50 +0000)]
Update notes; add idea about rsyncsh

22 years agoExport autoconf settings to test scripts. Use this to cope with
Martin Pool [Fri, 17 Aug 2001 01:57:42 +0000 (01:57 +0000)]
Export autoconf settings to test scripts.  Use this to cope with
systems that don't use "echo -n".

22 years agoSet up scratch directory for tests.
Martin Pool [Fri, 17 Aug 2001 01:44:13 +0000 (01:44 +0000)]
Set up scratch directory for tests.

22 years agoDon't pause at end of tests.
Martin Pool [Fri, 17 Aug 2001 01:43:13 +0000 (01:43 +0000)]
Don't pause at end of tests.

22 years agoTry to fix "make check" directory path.
Martin Pool [Fri, 17 Aug 2001 01:34:31 +0000 (01:34 +0000)]
Try to fix "make check" directory path.

Don't wait for input at end of tests.

22 years agoFind the right directory to run the test components.
Martin Pool [Fri, 17 Aug 2001 00:58:21 +0000 (00:58 +0000)]
Find the right directory to run the test components.

22 years agoTry to get test scripts to run properly.
Martin Pool [Fri, 17 Aug 2001 00:51:20 +0000 (00:51 +0000)]
Try to get test scripts to run properly.

22 years agoShow number of passed/failed/skipped tests.
Martin Pool [Thu, 16 Aug 2001 09:37:54 +0000 (09:37 +0000)]
Show number of passed/failed/skipped tests.

22 years agoDon't print test headers unless the test is about to run.
Martin Pool [Thu, 16 Aug 2001 09:35:21 +0000 (09:35 +0000)]
Don't print test headers unless the test is about to run.

22 years agoNote test suite.
Martin Pool [Thu, 16 Aug 2001 09:16:08 +0000 (09:16 +0000)]
Note test suite.

Note autoconf2.52 is required.

22 years agoMove Phil Hand's test under the control of the master test suite.
Martin Pool [Thu, 16 Aug 2001 09:13:37 +0000 (09:13 +0000)]
Move Phil Hand's test under the control of the master test suite.

22 years agoStart to unify the "make check" and build farm test suites
Martin Pool [Thu, 16 Aug 2001 09:08:29 +0000 (09:08 +0000)]
Start to unify the "make check" and build farm test suites

22 years agoUse set -x until this script works properly.
Martin Pool [Thu, 16 Aug 2001 08:13:13 +0000 (08:13 +0000)]
Use set -x until this script works properly.

22 years agoFix typo.
Martin Pool [Thu, 16 Aug 2001 08:12:55 +0000 (08:12 +0000)]
Fix typo.

22 years agoGave directory its proper name
Martin Pool [Thu, 16 Aug 2001 07:08:26 +0000 (07:08 +0000)]
Gave directory its proper name

22 years agofix filename
Martin Pool [Thu, 16 Aug 2001 06:27:51 +0000 (06:27 +0000)]
fix filename

22 years agoUpdated directory name for rsync tests
Martin Pool [Thu, 16 Aug 2001 06:24:56 +0000 (06:24 +0000)]
Updated directory name for rsync tests

22 years agoTry to execute rsync --version as part of the test suite -- see if
Martin Pool [Thu, 16 Aug 2001 05:44:17 +0000 (05:44 +0000)]
Try to execute rsync --version as part of the test suite -- see if
this works on the farm.

22 years agoFix cast warning.
Martin Pool [Wed, 15 Aug 2001 08:52:10 +0000 (08:52 +0000)]
Fix cast warning.

22 years agoTry to get tests to run with old buildfarm clients
Martin Pool [Wed, 15 Aug 2001 08:06:26 +0000 (08:06 +0000)]
Try to get tests to run with old buildfarm clients

22 years agoCheck that gethostbyname does actually return AF_INET addresses, since
Martin Pool [Wed, 15 Aug 2001 07:52:28 +0000 (07:52 +0000)]
Check that gethostbyname does actually return AF_INET addresses, since
that's all we can handle.

Also, try a new method of handling in_addr and hostent that will
hopefully work on Cray machines without 32-bit types.

22 years agoFix a bug introduced in 1.119, whereby strings like
Martin Pool [Wed, 15 Aug 2001 07:50:07 +0000 (07:50 +0000)]
Fix a bug introduced in 1.119, whereby strings like
"mirror.aarnet.edu.au::" were not properly digested.

It wasn't even my bug! :-)

22 years agoFix another format cast.
Martin Pool [Wed, 15 Aug 2001 06:50:46 +0000 (06:50 +0000)]
Fix another format cast.

22 years agoUse socklen_t for getpeername, since we hopefully now have it defined
Martin Pool [Wed, 15 Aug 2001 06:47:40 +0000 (06:47 +0000)]
Use socklen_t for getpeername, since we hopefully now have it defined
on all platforms.

22 years agoFix casts when some variables are printed out.
Martin Pool [Wed, 15 Aug 2001 06:41:24 +0000 (06:41 +0000)]
Fix casts when some variables are printed out.

22 years agoDrop dead variables introduced in rsync+ patch.
Martin Pool [Wed, 15 Aug 2001 06:38:23 +0000 (06:38 +0000)]
Drop dead variables introduced in rsync+ patch.

22 years agoFix trace message which was missing a parameter.
Martin Pool [Wed, 15 Aug 2001 06:34:28 +0000 (06:34 +0000)]
Fix trace message which was missing a parameter.

Drop dead variable introduced in rsync+ patch.

22 years agoAdd the start of a buildfarm test suite for rsync. It doesn't do much
Martin Pool [Wed, 15 Aug 2001 05:47:57 +0000 (05:47 +0000)]
Add the start of a buildfarm test suite for   It doesn't do much
yet -- I just want to see if it runs.

22 years agoTypo. Shouldn't depend on assert().
Martin Pool [Wed, 15 Aug 2001 05:47:29 +0000 (05:47 +0000)]
Typo.  Shouldn't depend on assert().

22 years agoBetter error messages for DNS.
Martin Pool [Wed, 15 Aug 2001 05:08:07 +0000 (05:08 +0000)]
Better error messages for DNS.

22 years agoFix bug in --address handling.
Martin Pool [Wed, 15 Aug 2001 05:07:29 +0000 (05:07 +0000)]
Fix bug in --address handling.

22 years agoNote UNICOS works again
Martin Pool [Tue, 14 Aug 2001 02:28:12 +0000 (02:28 +0000)]
Note UNICOS works again

22 years agoSpec file from Jason Haar that works on RedHat 7.1. Not tested by me yet.
Martin Pool [Tue, 14 Aug 2001 02:24:09 +0000 (02:24 +0000)]
Spec file from Jason Haar that works on RedHat 7.1.  Not tested by me yet.

22 years agoCommit getconf/socklen_t/largefile patch suggested by Albert Chin.
Martin Pool [Tue, 14 Aug 2001 02:18:04 +0000 (02:18 +0000)]
Commit getconf/socklen_t/largefile patch suggested by Albert Chin.
This is tested on
  Solaris 2.5.2, 2.6, 7, 8/SPARC, HP-UX 10.20, 11.00,
  Tru64 UNIX 4.0D, 5.0A, IRIX 6.2, 6.5, AIX 4.3.2
and it works ok.

This patch *requires* autoconf 2.52.

22 years agoRemove incorrect news message
Martin Pool [Tue, 14 Aug 2001 02:14:09 +0000 (02:14 +0000)]
Remove incorrect news message

22 years agoUpdate version message to mention batch files.
Martin Pool [Tue, 14 Aug 2001 02:08:17 +0000 (02:08 +0000)]
Update version message to mention batch files.

22 years agoMerge across rsync+ patch; add a little documentation to the manpage. More documenta...
Martin Pool [Tue, 14 Aug 2001 02:04:47 +0000 (02:04 +0000)]
Merge across rsync+ patch; add a little documentation to the manpage.  More documentation would be better.

22 years agoAnother try at socklen_t: just check for it, and otherwise use int.
Martin Pool [Wed, 8 Aug 2001 10:04:40 +0000 (10:04 +0000)]
Another try at socklen_t: just check for it, and otherwise use int.
The HP manual says this will work on old HP/UX versions; I'm not sure
about other systems.  Possibly it will break on old BSD-derived
systems with 32-bit int, 64-bit size_t and no socklen_t, if there are
any such.

22 years agodon't need to lookup our own name in open_socket_in()
Andrew Tridgell [Wed, 8 Aug 2001 08:55:24 +0000 (08:55 +0000)]
don't need to lookup our own name in open_socket_in()

22 years agoTry various different types as replacements for socklen_t until we
Martin Pool [Wed, 8 Aug 2001 08:11:50 +0000 (08:11 +0000)]
Try various different types as replacements for socklen_t until we
find one that works.  This helps on platforms like HP/UX and UNICOS
where the argument to getsockopt is neither socklen_t nor int.

22 years agoTwo more instances of socklen_t.
Martin Pool [Mon, 6 Aug 2001 12:31:23 +0000 (12:31 +0000)]
Two more instances of socklen_t.

22 years agoUse socklen_t if defined, or otherwise int. This tries to fix
Martin Pool [Mon, 6 Aug 2001 12:27:04 +0000 (12:27 +0000)]
Use socklen_t if defined, or otherwise int.  This tries to fix
warnings on platforms (e.g. AIX) where this type is defined and not
int.

22 years agoTry to fix "infinite loop" warning on AIX and other compilers. (We
Martin Pool [Mon, 6 Aug 2001 12:25:45 +0000 (12:25 +0000)]
Try to fix "infinite loop" warning on AIX and other compilers.  (We
exit on a signal.)

22 years agoCorrect over-zealous edit for UNICOS.
Martin Pool [Mon, 6 Aug 2001 12:23:50 +0000 (12:23 +0000)]
Correct over-zealous edit for UNICOS.

22 years agoFix for UNICOS CC: first argument to readlink must not be const, or we
Martin Pool [Mon, 6 Aug 2001 12:16:20 +0000 (12:16 +0000)]
Fix for UNICOS CC: first argument to readlink must not be const, or we
get an error.

22 years agoDocument autoconf updates.
Martin Pool [Mon, 6 Aug 2001 08:51:48 +0000 (08:51 +0000)]
Document autoconf updates.

22 years agoFix check for ino_t to work with both autoconf2.50 and autoconf2.13.
Martin Pool [Mon, 6 Aug 2001 08:49:19 +0000 (08:49 +0000)]
Fix check for ino_t to work with both autoconf2.50 and autoconf2.13.

22 years agoFix m4 quoting to make autoconf2.50 happy. I checked it still works
Martin Pool [Mon, 6 Aug 2001 08:41:13 +0000 (08:41 +0000)]
Fix m4 quoting to make autoconf2.50 happy.  I checked it still works
on 2.13.  See "info:(autoconf)New Macros".

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

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

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

22 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

22 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

22 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

22 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

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

22 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

22 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.)

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

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

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

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

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

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

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

22 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

22 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

22 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

23 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

23 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

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

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

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

23 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

23 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

23 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

23 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

23 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"

23 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
:)

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

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

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

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

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

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

23 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>

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

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

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

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

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