rsync.git
19 years agoAdd --link-dest option from J.W. Schultz.
David Dykstra [Thu, 29 Aug 2002 14:44:55 +0000 (14:44 +0000)]
Add --link-dest option from J.W. Schultz.

19 years agoPatch from J.W. Schultz to have --include-from and --exclude-from on
David Dykstra [Thu, 29 Aug 2002 14:37:20 +0000 (14:37 +0000)]
Patch from J.W. Schultz to have --include-from and --exclude-from on
filename "-" read from standard input.

19 years ago* Don't call getnameinfo() if we've already populated the addr_buf.
Wayne Davison [Fri, 2 Aug 2002 17:11:39 +0000 (17:11 +0000)]
* Don't call getnameinfo() if we've already populated the addr_buf.
* Moved some structures in client_name() so that they remain in-scope for
  the entire function (since we set pointers to their storage location).
* Allow the dot-counting loop to increment to 4 instead of stopping at 3.

19 years agoPut in better method of checking whether or not daemon over --rsh mode is
David Dykstra [Fri, 2 Aug 2002 15:39:43 +0000 (15:39 +0000)]
Put in better method of checking whether or not daemon over --rsh mode is
in place: simply check the "am_server" global variable, which is not set
true when the daemon is listening for connections (daemon_main is not
called in main.c if am_server is set).

19 years agoFix client_name to work on when INET6 is enabled but using a 4-part IPv4
David Dykstra [Fri, 2 Aug 2002 15:05:03 +0000 (15:05 +0000)]
Fix client_name to work on when INET6 is enabled but using a 4-part IPv4
IP address.  Tested on Linux, but only with an IPv4 ssh.  Somebody who has
IPv6 enabled on ssh needs to test it yet.

19 years agoFix last change to use correct IPv6 structure names when using INET6.
David Dykstra [Thu, 1 Aug 2002 21:57:23 +0000 (21:57 +0000)]
Fix last change to use correct IPv6 structure names when using INET6.
Doesn't yet look up names correctly on Linux with INET6 enabled, however;
needs further work but I don't have time right now.

19 years agoDon't pass "-l user" to the remote shell if we're starting a server-daemon
Wayne Davison [Thu, 1 Aug 2002 20:46:59 +0000 (20:46 +0000)]
Don't pass "-l user" to the remote shell if we're starting a server-daemon
and the command already has a "-l user" option.

19 years agoFix to correctly identify remote IP address and host name when using
David Dykstra [Thu, 1 Aug 2002 19:17:00 +0000 (19:17 +0000)]
Fix to correctly identify remote IP address and host name when using
-e ssh and :: together.  Uses $SSH_CLIENT to locate the IP address
(was attempting to before but it didn't always work) and then uses
inet_pton() on that and getnameinfo() to find the name.

19 years agoDocumented that the rsync:// URL syntax is now legal in the destination.
Wayne Davison [Thu, 1 Aug 2002 17:55:40 +0000 (17:55 +0000)]
Documented that the  URL syntax is now legal in the destination.

19 years agoMention the new rsync:// URL-in-the-destination syntax.
Wayne Davison [Thu, 1 Aug 2002 17:55:11 +0000 (17:55 +0000)]
Mention the new  URL-in-the-destination syntax.

19 years agoAllow the rsync:// URL syntax in the destination field.
Wayne Davison [Thu, 1 Aug 2002 17:53:38 +0000 (17:53 +0000)]
Allow the  URL syntax in the destination field.

19 years agoDocument more recent changes.
Wayne Davison [Thu, 1 Aug 2002 17:53:07 +0000 (17:53 +0000)]
Document more recent changes.

19 years agoMention the recent commits.
Wayne Davison [Thu, 1 Aug 2002 16:50:46 +0000 (16:50 +0000)]
Mention the recent commits.

19 years agoSlight change to refer to the section CONNECTING TO AN RSYNC SERVER OVER A
David Dykstra [Thu, 1 Aug 2002 16:21:20 +0000 (16:21 +0000)]
Slight change to refer to the section CONNECTING TO AN RSYNC SERVER OVER A
REMOTE SHELL PROGRAM from within the --rsh option.

19 years agoThe function passed to start_accept_loop() now takes 2 fd ints (for
Wayne Davison [Thu, 1 Aug 2002 00:37:08 +0000 (00:37 +0000)]
The function passed to start_accept_loop() now takes 2 fd ints (for
the daemon via remote-shell support).

19 years agoDocument the new server-daemon via remote-shell mode.
Wayne Davison [Thu, 1 Aug 2002 00:37:06 +0000 (00:37 +0000)]
Document the new server-daemon via remote-shell mode.

19 years agoIf daemon_over_rsh is set, we limit the generated options to just
Wayne Davison [Thu, 1 Aug 2002 00:37:01 +0000 (00:37 +0000)]
If daemon_over_rsh is set, we limit the generated options to just
--server and --daemon.

19 years agoHandle the new server-daemon via remote-shell mode.
Wayne Davison [Thu, 1 Aug 2002 00:36:59 +0000 (00:36 +0000)]
Handle the new server-daemon via remote-shell mode.

19 years agoMoved the end of start_socket_client() into a new function called
Wayne Davison [Thu, 1 Aug 2002 00:36:56 +0000 (00:36 +0000)]
Moved the end of start_socket_client() into a new function called
start_inband_exchange() and made several functions take two fds
(for the daemon via remote-shell support).  The start_daemon()
function is no longer static and now works on non-socket fds.

19 years agoChanged auth_server() to take two fds (for the daemon via remote-shell
Wayne Davison [Thu, 1 Aug 2002 00:36:54 +0000 (00:36 +0000)]
Changed auth_server() to take two fds (for the daemon via remote-shell
support).

19 years agoStefan Nehlsen's fix of a timeout problem on large files.
Wayne Davison [Wed, 31 Jul 2002 21:20:07 +0000 (21:20 +0000)]
Stefan Nehlsen's fix of a timeout problem on large files.
(Modified to work with the latest CVS source.)

19 years agoMention the popt upgrade.
Wayne Davison [Sat, 27 Jul 2002 18:33:54 +0000 (18:33 +0000)]
Mention the popt upgrade.

19 years agoCheck for the float.h header file (for popt).
Wayne Davison [Sat, 27 Jul 2002 18:33:30 +0000 (18:33 +0000)]
Check for the float.h header file (for popt).

19 years agoUpdated to version 1.6.4.
Wayne Davison [Sat, 27 Jul 2002 18:32:25 +0000 (18:32 +0000)]
Updated to version 1.6.4.

19 years ago- Fixed a crash in flist_find() when the last item in the flist has
Wayne Davison [Sat, 27 Jul 2002 18:01:21 +0000 (18:01 +0000)]
- Fixed a crash in flist_find() when the last item in the flist has
  been removed as a duplicate.
- Got rid of a compiler warning about mixed signed/unsigned types in a
  conditional expression.

19 years agoDocument in --owner and "use chroot" that --numeric-ids is implied when
David Dykstra [Thu, 27 Jun 2002 17:51:25 +0000 (17:51 +0000)]
Document in --owner and "use chroot" that --numeric-ids is implied when
use chroot is yes.

19 years agoAdded Solaris PkgInfo build script from Jens Apel <jens.apel@web.de>
John H Terpstra [Sat, 22 Jun 2002 16:52:15 +0000 (16:52 +0000)]
Added Solaris PkgInfo build script from Jens Apel <jens.apel@web.de>

19 years agoClose previously opened file descriptor when mkstemp fails in recv_files().
David Dykstra [Tue, 28 May 2002 15:42:51 +0000 (15:42 +0000)]
Close previously opened file descriptor when mkstemp fails in recv_files().
Every other failure condition in that function was alreadying doing this,
and I saw a case with a lot of "mkstemp...No space left on device" messages
started becoming "mkstemp...Too many open files" messages because of this
bug.  Not that it makes a whole lot of difference, since nothing gets copied
because the disk was out of space.

19 years agoClarify the relationship of max connections and lock file.
David Dykstra [Thu, 16 May 2002 21:07:23 +0000 (21:07 +0000)]
Clarify the relationship of max connections and lock file.

19 years agoBetter notes about handling IPv6 on old machines
Martin Pool [Tue, 14 May 2002 05:44:51 +0000 (05:44 +0000)]
Better notes about handling IPv6 on old machines

19 years agoFix little mistake
Martin Pool [Tue, 14 May 2002 05:31:11 +0000 (05:31 +0000)]
Fix little mistake

19 years agoNote about lchmod.
Martin Pool [Tue, 14 May 2002 05:25:46 +0000 (05:25 +0000)]
Note about lchmod.

19 years agoFix the rsync home page URL to drop a trailing "/rsync".
David Dykstra [Mon, 13 May 2002 18:34:37 +0000 (18:34 +0000)]
Fix the rsync home page URL to drop a trailing "/rsync".

19 years agoClarify that exclude/include options in rsyncd.conf apply only to files
David Dykstra [Mon, 13 May 2002 18:22:28 +0000 (18:22 +0000)]
Clarify that exclude/include options in rsyncd.conf apply only to files
sent from the server or deleted on the server.

19 years agoNote that using the old sockets API probably will not work
Martin Pool [Mon, 13 May 2002 07:54:47 +0000 (07:54 +0000)]
Note that using the old sockets API probably will not work
sufficiently on some ipv6 systems.

19 years agoMake the -e text a little less chatty, and mention the legality of
Wayne Davison [Sat, 11 May 2002 08:31:55 +0000 (08:31 +0000)]
Make the -e text a little less chatty, and mention the legality of
command-line options in the RSYNC_RSH section.

19 years agoMention that the -e COMMAND can contain options.
Wayne Davison [Fri, 10 May 2002 19:56:23 +0000 (19:56 +0000)]
Mention that the -e COMMAND can contain options.

19 years agoSubmit enhancement from Michael Zimmerman to allow --suffix to be used
David Dykstra [Thu, 9 May 2002 21:44:46 +0000 (21:44 +0000)]
Submit enhancement from Michael Zimmerman to allow --suffix to be used
with --backup-dir.

19 years agoIndicate that the exclude options in rsyncd.conf only apply when receiving
David Dykstra [Thu, 9 May 2002 19:03:40 +0000 (19:03 +0000)]
Indicate that the exclude options in rsyncd.conf only apply when receiving
files to a server and not when sending files to it.

19 years agoTweaked the --rsh option's description.
Wayne Davison [Mon, 6 May 2002 19:05:05 +0000 (19:05 +0000)]
Tweaked the --rsh option's description.

19 years ago- Improved the references to rsh to better indicate that rsync may be
Wayne Davison [Mon, 6 May 2002 19:02:44 +0000 (19:02 +0000)]
- Improved the references to rsh to better indicate that rsync may be
  configured to use some other remote shell by default.
- Fixed the mention of ssh's preferred IO-blocking mode.

19 years agoMention that --delete-after now implies --delete.
Wayne Davison [Mon, 6 May 2002 18:47:57 +0000 (18:47 +0000)]
Mention that --delete-after now implies --delete.

19 years agoMade the --delete-after option imply --delete.
Wayne Davison [Fri, 3 May 2002 22:59:17 +0000 (22:59 +0000)]
Made the --delete-after option imply --delete.

19 years agoMentioned that --delete-after and --delete-excluded imply --delete.
Wayne Davison [Fri, 3 May 2002 22:58:01 +0000 (22:58 +0000)]
Mentioned that --delete-after and --delete-excluded imply --delete.

19 years agoAdd note about resolving Debian gid problem.
Martin Pool [Fri, 26 Apr 2002 00:55:34 +0000 (00:55 +0000)]
Add note about resolving Debian gid problem.

19 years agoNotes about handling machines lacking getaddrinfo().
Martin Pool [Wed, 24 Apr 2002 01:13:26 +0000 (01:13 +0000)]
Notes about handling machines lacking getaddrinfo().

19 years agoNote from Alberto Accomazzi that rsync urls are broken for upload
Martin Pool [Fri, 19 Apr 2002 05:33:36 +0000 (05:33 +0000)]
Note from Alberto Accomazzi that rsync urls are broken for upload

19 years agoDoc.
Martin Pool [Tue, 16 Apr 2002 01:38:21 +0000 (01:38 +0000)]
Doc.

19 years agoWhen -e is specified along with an rsyncd url, the client should get a
Martin Pool [Mon, 15 Apr 2002 07:50:18 +0000 (07:50 +0000)]
When -e is specified along with an rsyncd url, the client should get a
warning but it should not be treated as an error.  (Bill Nottingham)

  http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62489

19 years ago--no-blocking-io might be broken in the same way as --no-whole-file;
Martin Pool [Mon, 15 Apr 2002 05:05:57 +0000 (05:05 +0000)]
--no-blocking-io might be broken in the same way as --no-whole-file;
  somebody needs to check.

19 years agoNote about testing "refuse options"
Martin Pool [Sat, 13 Apr 2002 12:17:47 +0000 (12:17 +0000)]
Note about testing "refuse options"

19 years ago*** empty log message ***
Martin Pool [Sat, 13 Apr 2002 03:52:48 +0000 (03:52 +0000)]
*** empty log message ***

19 years agoNotes on testing, release, and todo items from the Debian paper.
Martin Pool [Fri, 12 Apr 2002 05:05:44 +0000 (05:05 +0000)]
Notes on testing, release, and todo items from the Debian paper.

19 years agoreformat
Martin Pool [Fri, 12 Apr 2002 04:22:52 +0000 (04:22 +0000)]
reformat

19 years agoNote about manual revision.
Martin Pool [Thu, 11 Apr 2002 02:35:25 +0000 (02:35 +0000)]
Note about manual revision.

19 years agoTry to fix ctype issues by always calling these functions as
Martin Pool [Thu, 11 Apr 2002 02:25:53 +0000 (02:25 +0000)]
Try to fix ctype issues by always calling these functions as

if (!isdigit(* (unsigned char *) p)) {

so that the argument is always in the range of unsigned char when
coerced to an int.

(See digit 1.)

19 years agoDoc.
Martin Pool [Thu, 11 Apr 2002 02:21:41 +0000 (02:21 +0000)]
Doc.

19 years agoDoxygen
Martin Pool [Thu, 11 Apr 2002 02:18:51 +0000 (02:18 +0000)]
Doxygen

19 years agoReceiving an @ERROR line from the server is (I think) always fatal, so
Martin Pool [Thu, 11 Apr 2002 02:16:34 +0000 (02:16 +0000)]
Receiving an @ERROR line from the server is (I think) always fatal, so
the client should exit upon receiving one and not be surprised that
the socket closes.

19 years agoFix old typo.
Martin Pool [Thu, 11 Apr 2002 02:11:50 +0000 (02:11 +0000)]
Fix old typo.

19 years agoReceiving an @ERROR line from the server is (I think) always fatal, so
Martin Pool [Thu, 11 Apr 2002 01:56:35 +0000 (01:56 +0000)]
Receiving an @ERROR line from the server is (I think) always fatal, so
the client should exit upon receiving one and not be surprised that
the socket closes.

19 years agoCorrection from Nelson Beebe: argument to functions such as isspace()
Martin Pool [Tue, 9 Apr 2002 06:32:07 +0000 (06:32 +0000)]
Correction from Nelson Beebe: argument to functions such as isspace()
must be an int, not a char.  This could cause sign-extension problems.

19 years agoDoc.
Martin Pool [Tue, 9 Apr 2002 06:18:13 +0000 (06:18 +0000)]
Doc.

Correction from Nelson Beebe: argument to functions such as isspace()
must be an int, not a char.  This could cause sign-extension problems.

19 years agoCorrection from Nelson Beebe: argument to functions such as isspace()
Martin Pool [Tue, 9 Apr 2002 06:15:13 +0000 (06:15 +0000)]
Correction from Nelson Beebe: argument to functions such as isspace()
must be an int, not a char.  This could cause sign-extension problems.

19 years agolong int and signedness fix from Nelson Beebe
Martin Pool [Tue, 9 Apr 2002 06:11:06 +0000 (06:11 +0000)]
long int and signedness fix from Nelson Beebe

19 years agolong int fix from Nelson Beebe
Martin Pool [Tue, 9 Apr 2002 06:03:50 +0000 (06:03 +0000)]
long int fix from Nelson Beebe

19 years agoFix type error.
Martin Pool [Tue, 9 Apr 2002 05:32:52 +0000 (05:32 +0000)]
Fix type error.

19 years agoAdd RERR_OK == 0
Martin Pool [Tue, 9 Apr 2002 05:29:26 +0000 (05:29 +0000)]
Add RERR_OK == 0

19 years agoDoc _exit_cleanup.
Martin Pool [Tue, 9 Apr 2002 05:26:46 +0000 (05:26 +0000)]
Doc _exit_cleanup.

19 years agoDoc start_socket_client
Martin Pool [Tue, 9 Apr 2002 05:23:07 +0000 (05:23 +0000)]
Doc start_socket_client

19 years agoDoc start_socket_client
Martin Pool [Tue, 9 Apr 2002 05:20:30 +0000 (05:20 +0000)]
Doc start_socket_client

19 years agoNotes about supplementary groups and -z.
Martin Pool [Tue, 9 Apr 2002 05:14:59 +0000 (05:14 +0000)]
Notes about supplementary groups and -z.

19 years agoDoc.
Martin Pool [Tue, 9 Apr 2002 05:07:15 +0000 (05:07 +0000)]
Doc.

19 years agoDoc.
Martin Pool [Tue, 9 Apr 2002 05:03:45 +0000 (05:03 +0000)]
Doc.

19 years agoA bit more support for IO phase names.
Martin Pool [Tue, 9 Apr 2002 05:00:03 +0000 (05:00 +0000)]
A bit more support for IO phase names.

19 years agoOK, we can now get phase messages if we fail in send_file_entry
Martin Pool [Tue, 9 Apr 2002 04:50:25 +0000 (04:50 +0000)]
OK, we can now get phase messages if we fail in send_file_entry

19 years agoDoc
Martin Pool [Tue, 9 Apr 2002 04:49:42 +0000 (04:49 +0000)]
Doc

Try symlinks with an empty target

19 years agolong int fix from Nelson Beebe
Martin Pool [Tue, 9 Apr 2002 04:49:23 +0000 (04:49 +0000)]
long int fix from Nelson Beebe

19 years agoFix typo.
Martin Pool [Tue, 9 Apr 2002 04:41:03 +0000 (04:41 +0000)]
Fix typo.

Show io phase name in error message.

19 years agoRather than a loop subtracting 1e6 to convert usecs to secs/usecs, just
Martin Pool [Tue, 9 Apr 2002 04:33:32 +0000 (04:33 +0000)]
Rather than a loop subtracting 1e6 to convert usecs to secs/usecs, just
use div/mod.

19 years agoFactor out bwlimit sleep code from writefd_unbuffered into its own function.
Martin Pool [Tue, 9 Apr 2002 04:29:46 +0000 (04:29 +0000)]
Factor out bwlimit sleep code from writefd_unbuffered into its own function.

19 years agoClarify "error writing %d bytes" message.
Martin Pool [Tue, 9 Apr 2002 04:23:18 +0000 (04:23 +0000)]
Clarify "error writing %d bytes" message.

19 years agoClean up docs.
Martin Pool [Tue, 9 Apr 2002 04:20:36 +0000 (04:20 +0000)]
Clean up docs.

19 years agoChange error message "partial transfer" to "some files could not be
Martin Pool [Mon, 8 Apr 2002 09:10:50 +0000 (09:10 +0000)]
Change error message "partial transfer" to "some files could not be
transferred".

I don't generally like changing that sort of thing, but I think this
one was a persistent source of confusion.

19 years agoNote code cleanups
Martin Pool [Mon, 8 Apr 2002 09:09:03 +0000 (09:09 +0000)]
Note code cleanups

19 years agoDoc and indent only.
Martin Pool [Mon, 8 Apr 2002 09:05:26 +0000 (09:05 +0000)]
Doc and indent only.

19 years agoRemove redundant list of options. It might be nice to summarise the
Martin Pool [Mon, 8 Apr 2002 08:58:26 +0000 (08:58 +0000)]
Remove redundant list of options.  It might be nice to summarise the
most frequently-used ones in here.

Nelson Beebe pointed out that the information about bug tracking was
out of date.

19 years agoNotes on MD4 performance. This quite unnecessarily takes up 90% of
Martin Pool [Mon, 8 Apr 2002 08:39:03 +0000 (08:39 +0000)]
Notes on MD4 performance.  This quite unnecessarily takes up 90% of
CPU on a local transfer, without achieving anything useful.

19 years agoDoc
Martin Pool [Mon, 8 Apr 2002 08:35:30 +0000 (08:35 +0000)]
Doc

19 years agoDoc file
Martin Pool [Mon, 8 Apr 2002 08:34:03 +0000 (08:34 +0000)]
Doc file

19 years agoDoc match_sums.
Martin Pool [Mon, 8 Apr 2002 08:33:13 +0000 (08:33 +0000)]
Doc match_sums.

19 years agoDoc sum_update
Martin Pool [Mon, 8 Apr 2002 08:29:04 +0000 (08:29 +0000)]
Doc sum_update

19 years agoAdd manual prototype for maintainer-mode function
Martin Pool [Mon, 8 Apr 2002 08:24:59 +0000 (08:24 +0000)]
Add manual prototype for maintainer-mode function

19 years agoDocument the perversely-named matched() function, which is called even
Martin Pool [Mon, 8 Apr 2002 08:23:50 +0000 (08:23 +0000)]
Document the perversely-named matched() function, which is called even
if we have not matched!

19 years agoWith -vv, show state of --whole-file once at the start of the transfer.
Martin Pool [Mon, 8 Apr 2002 08:06:18 +0000 (08:06 +0000)]
With -vv, show state of --whole-file once at the start of the transfer.

19 years agoDoc.
Martin Pool [Mon, 8 Apr 2002 08:02:08 +0000 (08:02 +0000)]
Doc.

19 years agoDoc rsync_panic_handler()
Martin Pool [Mon, 8 Apr 2002 07:46:34 +0000 (07:46 +0000)]
Doc rsync_panic_handler()

19 years agoClean up prototype.
Martin Pool [Mon, 8 Apr 2002 07:42:54 +0000 (07:42 +0000)]
Clean up prototype.

Drop unused variables.

19 years agoFix prototype.
Martin Pool [Mon, 8 Apr 2002 07:39:56 +0000 (07:39 +0000)]
Fix prototype.

19 years agoShow panic_action in --version.
Martin Pool [Mon, 8 Apr 2002 07:36:05 +0000 (07:36 +0000)]
Show panic_action in --version.