Martin Pool [Tue, 14 Aug 2001 02:14:09 +0000 (02:14 +0000)]
Remove incorrect news message
Martin Pool [Tue, 14 Aug 2001 02:08:17 +0000 (02:08 +0000)]
Update version message to mention batch files.
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.
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.
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()
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.
Martin Pool [Mon, 6 Aug 2001 12:31:23 +0000 (12:31 +0000)]
Two more instances of socklen_t.
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.
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.)
Martin Pool [Mon, 6 Aug 2001 12:23:50 +0000 (12:23 +0000)]
Correct over-zealous edit for UNICOS.
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.
Martin Pool [Mon, 6 Aug 2001 08:51:48 +0000 (08:51 +0000)]
Document autoconf updates.
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.
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".
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.
Andrew Tridgell [Sun, 22 Jul 2001 02:39:06 +0000 (02:39 +0000)]
updated config scripts from subversion
Andrew Tridgell [Tue, 17 Jul 2001 10:48:31 +0000 (10:48 +0000)]
reap children in sigchld handler
Andrew Tridgell [Tue, 17 Jul 2001 10:45:54 +0000 (10:45 +0000)]
prevent nasty error msgs when listing shares
Andrew Tridgell [Thu, 28 Jun 2001 05:07:15 +0000 (05:07 +0000)]
removed remnant test code for cray
Andrew Tridgell [Tue, 26 Jun 2001 03:09:14 +0000 (03:09 +0000)]
fixed md4 on 64 bit boxes
Andrew Tridgell [Tue, 26 Jun 2001 01:20:42 +0000 (01:20 +0000)]
applied simple nohang patch from Wayne Davison
David Dykstra [Fri, 22 Jun 2001 20:36:43 +0000 (20:36 +0000)]
Improve the description of --with-default-rsync.
Andrew Tridgell [Fri, 22 Jun 2001 10:16:04 +0000 (10:16 +0000)]
allow shell wildcards in auth users lines
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.)
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.
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.
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.
David Dykstra [Tue, 12 Jun 2001 19:33:41 +0000 (19:33 +0000)]
Add --with-rsync-path option.
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.
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".
David Dykstra [Tue, 22 May 2001 14:33:38 +0000 (14:33 +0000)]
Add --ignore-errors documentation.
Andrew Tridgell [Mon, 7 May 2001 08:59:48 +0000 (08:59 +0000)]
forgot 1 place that used slprintf
Andrew Tridgell [Mon, 7 May 2001 06:59:37 +0000 (06:59 +0000)]
imported new snprintf.c from samba, got rid of slprintf
Andrew Tridgell [Sun, 6 May 2001 13:25:11 +0000 (13:25 +0000)]
no space after -I or Tru64 barfs
Andrew Tridgell [Wed, 2 May 2001 11:13:21 +0000 (11:13 +0000)]
use _S_IFLNK not S_IFLNK
Andrew Tridgell [Wed, 2 May 2001 08:33:18 +0000 (08:33 +0000)]
use mkstemp on systems where it is secure
Andrew Tridgell [Wed, 2 May 2001 05:05:12 +0000 (05:05 +0000)]
better pid file location
Andrew Tridgell [Fri, 13 Apr 2001 12:25:19 +0000 (12:25 +0000)]
use %.0f instead of %ld
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.
Andrew Tridgell [Fri, 23 Mar 2001 03:46:56 +0000 (03:46 +0000)]
"rsync error" is better than "transfer error", especially for -h
Andrew Tridgell [Fri, 23 Mar 2001 03:44:50 +0000 (03:44 +0000)]
got rid of dependency on alloca in popt
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
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
Andrew Tridgell [Wed, 21 Mar 2001 23:44:48 +0000 (23:44 +0000)]
better error msg for "invalid uid" and "invalid gid"
Andrew Tridgell [Wed, 21 Mar 2001 23:36:23 +0000 (23:36 +0000)]
i hate makefiles that automatically run configure
:)
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.
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.
Martin Pool [Mon, 19 Mar 2001 08:19:11 +0000 (08:19 +0000)]
Oops, fix edit mistake.
Martin Pool [Sat, 17 Mar 2001 01:35:59 +0000 (01:35 +0000)]
More accurately, the uid/gid is set to -2, not "nobody".
Martin Pool [Sat, 17 Mar 2001 01:34:22 +0000 (01:34 +0000)]
Add some todo comments.
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>.
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>
Martin Pool [Fri, 16 Mar 2001 02:11:53 +0000 (02:11 +0000)]
Doc.
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.
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.
Martin Pool [Sat, 24 Feb 2001 01:45:21 +0000 (01:45 +0000)]
Add some brief notes on how to install.
Martin Pool [Sat, 24 Feb 2001 01:39:19 +0000 (01:39 +0000)]
popt-1.5 is const-correct.
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.
Martin Pool [Sat, 24 Feb 2001 01:32:22 +0000 (01:32 +0000)]
Upgrade from popt 1.2 to a cut-down 1.5
Martin Pool [Fri, 23 Feb 2001 01:45:46 +0000 (01:45 +0000)]
Doc.
Martin Pool [Fri, 23 Feb 2001 01:44:56 +0000 (01:44 +0000)]
Change from getopt to popt -- requires const-correctness on arguments.
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.
Martin Pool [Fri, 23 Feb 2001 01:02:55 +0000 (01:02 +0000)]
Change from getopt to popt.
Add comment.
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.)
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.
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.
Martin Pool [Fri, 23 Feb 2001 00:45:07 +0000 (00:45 +0000)]
Change from getopt to popt.
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.
Martin Pool [Thu, 22 Feb 2001 13:01:27 +0000 (13:01 +0000)]
Note about multiplexing.
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
Martin Pool [Wed, 21 Feb 2001 08:25:07 +0000 (08:25 +0000)]
Doc.
Martin Pool [Wed, 21 Feb 2001 08:16:45 +0000 (08:16 +0000)]
More explanation of return values.
Martin Pool [Wed, 21 Feb 2001 07:18:50 +0000 (07:18 +0000)]
Better message grammar.
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.
Martin Pool [Wed, 14 Feb 2001 22:47:28 +0000 (22:47 +0000)]
Add table of exit values, from errcode.h.
Martin Pool [Thu, 8 Feb 2001 03:28:19 +0000 (03:28 +0000)]
Document shortcoming of "unrecognised option" message.
Martin Pool [Mon, 8 Jan 2001 10:25:00 +0000 (10:25 +0000)]
Include strerror message when there's a socket error.
Martin Pool [Mon, 8 Jan 2001 03:39:53 +0000 (03:39 +0000)]
Improved error message.
Martin Pool [Mon, 8 Jan 2001 03:39:32 +0000 (03:39 +0000)]
Ignore generated files that are not stored in CVS.
Martin Pool [Mon, 8 Jan 2001 01:10:58 +0000 (01:10 +0000)]
Typo fix from Jim Meyering
David Dykstra [Fri, 5 Jan 2001 17:57:11 +0000 (17:57 +0000)]
Better explain how the --blocking-io option works.
Martin Pool [Wed, 15 Nov 2000 05:53:45 +0000 (05:53 +0000)]
Add comments.
Martin Pool [Wed, 15 Nov 2000 03:16:06 +0000 (03:16 +0000)]
Doc.
Martin Pool [Fri, 10 Nov 2000 03:41:47 +0000 (03:41 +0000)]
In --version, say whether we have socketpair() or not
Martin Pool [Fri, 10 Nov 2000 03:41:17 +0000 (03:41 +0000)]
Ignore dummy output file
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.
Martin Pool [Fri, 10 Nov 2000 03:17:08 +0000 (03:17 +0000)]
Doc.
Martin Pool [Thu, 9 Nov 2000 09:45:19 +0000 (09:45 +0000)]
Drop dead variable.
Martin Pool [Thu, 9 Nov 2000 09:27:34 +0000 (09:27 +0000)]
Document getsockopt POSIX confusion.
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
Martin Pool [Thu, 9 Nov 2000 09:02:16 +0000 (09:02 +0000)]
Better error messages
Martin Pool [Wed, 8 Nov 2000 09:45:16 +0000 (09:45 +0000)]
Better error messages when unlink fails
Martin Pool [Wed, 8 Nov 2000 09:32:11 +0000 (09:32 +0000)]
Better error messages when unlink fails
Martin Pool [Wed, 8 Nov 2000 09:32:10 +0000 (09:32 +0000)]
Better error messages when unlink fails
Martin Pool [Thu, 2 Nov 2000 11:38:13 +0000 (11:38 +0000)]
Correct license name. Note new address of pserver. Correct documentation.
Martin Pool [Thu, 2 Nov 2000 11:37:34 +0000 (11:37 +0000)]
Add some comments.
Andrew Tridgell [Tue, 31 Oct 2000 10:59:50 +0000 (10:59 +0000)]
fix bug in handling of :
Martin Pool [Tue, 31 Oct 2000 01:05:42 +0000 (01:05 +0000)]
Display a warning about pointlessly using --rsh with clientserver mode.
Martin Pool [Thu, 26 Oct 2000 08:05:36 +0000 (08:05 +0000)]
Draft documentation of the client-server protocol.
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.