rsync/rsync.git
15 years agoFixed a hang in the inc_recurse batch-reading code.
Wayne Davison [Sat, 17 Jan 2009 21:54:52 +0000 (13:54 -0800)]
Fixed a hang in the inc_recurse batch-reading code.

15 years agoHandle simultaneous arrival of multiple connections.
Matt McCutchen [Tue, 13 Jan 2009 17:42:54 +0000 (09:42 -0800)]
Handle simultaneous arrival of multiple connections.

15 years agoAvoid a server-side problem with -e is at the start of the short options.
Wayne Davison [Thu, 8 Jan 2009 00:38:56 +0000 (16:38 -0800)]
Avoid a server-side problem with -e is at the start of the short options.
(Bug #6020)

15 years agoFixed bug #6011: use of target in configure.
Wayne Davison [Sun, 4 Jan 2009 04:50:54 +0000 (20:50 -0800)]
Fixed bug #6011: use of target in configure.

15 years agoUpdate the copyright year.
Wayne Davison [Sat, 3 Jan 2009 18:57:14 +0000 (10:57 -0800)]
Update the copyright year.

15 years agoBeginning work on a 3.0.6 release.
Wayne Davison [Sat, 17 Jan 2009 21:36:34 +0000 (13:36 -0800)]
Beginning work on a 3.0.6 release.

15 years agoPreparing for release of 3.0.5
Wayne Davison [Mon, 29 Dec 2008 02:02:17 +0000 (18:02 -0800)]
Preparing for release of 3.0.5

15 years agoAvoid a hang when using at least 3 --verbose options on a transfer with
Wayne Davison [Mon, 29 Dec 2008 01:51:36 +0000 (17:51 -0800)]
Avoid a hang when using at least 3 --verbose options on a transfer with
a client sender (which includes local copying).

15 years agoAllow opendir() in send_directory() to fail with ENOENT.
Wayne Davison [Sat, 27 Dec 2008 19:07:57 +0000 (11:07 -0800)]
Allow opendir() in send_directory() to fail with ENOENT.

15 years agoMake it clearer which configure files changed.
Wayne Davison [Sat, 15 Nov 2008 23:31:38 +0000 (15:31 -0800)]
Make it clearer which configure files changed.

15 years agoMention a few NEWS items that hadn't been mentioned yet.
Wayne Davison [Sat, 15 Nov 2008 23:25:30 +0000 (15:25 -0800)]
Mention a few NEWS items that hadn't been mentioned yet.

15 years agoPreparing for release of 3.0.5pre2
Wayne Davison [Sat, 15 Nov 2008 22:55:30 +0000 (14:55 -0800)]
Preparing for release of 3.0.5pre2

15 years agoAn ftruncate() failure should result in FERROR_XFER.
Wayne Davison [Sat, 15 Nov 2008 22:49:28 +0000 (14:49 -0800)]
An ftruncate() failure should result in FERROR_XFER.

15 years agoTweaked the month guess in OLDNEWS.
Wayne Davison [Sat, 15 Nov 2008 22:38:14 +0000 (14:38 -0800)]
Tweaked the month guess in OLDNEWS.

15 years agoChange clean_fname() to keep "//" at the start for cygwin.
Wayne Davison [Sat, 15 Nov 2008 22:17:49 +0000 (14:17 -0800)]
Change clean_fname() to keep "//" at the start for cygwin.

15 years agoChange some size_t vars to ints.
Wayne Davison [Wed, 12 Nov 2008 02:06:11 +0000 (18:06 -0800)]
Change some size_t vars to ints.

15 years agoMake sparse_seek an OFF_T (pointed out by Pedro Valasco).
Wayne Davison [Wed, 12 Nov 2008 02:05:27 +0000 (18:05 -0800)]
Make sparse_seek an OFF_T (pointed out by Pedro Valasco).

15 years agoA "make reconfigure" doesn't stop if configure changes.
Wayne Davison [Tue, 11 Nov 2008 23:51:03 +0000 (15:51 -0800)]
A "make reconfigure" doesn't stop if configure changes.

15 years agoMention Matt's -K --delete fix.
Wayne Davison [Mon, 10 Nov 2008 15:48:00 +0000 (07:48 -0800)]
Mention Matt's -K --delete fix.

15 years agoAdd flist_find_ignore_dirness() and change delete_in_dir() to use it.
Matt McCutchen [Mon, 10 Nov 2008 14:44:01 +0000 (06:44 -0800)]
Add flist_find_ignore_dirness() and change delete_in_dir() to use it.
This fixes an issue with -K noticed by eric casteleijn, avoids some
inconsistent itemizing when a file/dir is replaced by a dir/file,
and removes a now-obsolete chunk of code from make_file().

15 years agoMention the fix for --files-from dot/./paths.
Wayne Davison [Mon, 10 Nov 2008 05:40:54 +0000 (21:40 -0800)]
Mention the fix for --files-from dot/./paths.

15 years agoFixed the use of a dot-dir path (foo/./bar) inside of a files-from file.
Wayne Davison [Mon, 10 Nov 2008 05:37:04 +0000 (21:37 -0800)]
Fixed the use of a dot-dir path (foo/./bar) inside of a files-from file.

15 years agoFixed a bunch of "warn_unused_result" compiler warnings.
Wayne Davison [Mon, 10 Nov 2008 02:55:14 +0000 (18:55 -0800)]
Fixed a bunch of "warn_unused_result" compiler warnings.

15 years agoMention hang fix in the NEWS.
Wayne Davison [Mon, 10 Nov 2008 02:07:30 +0000 (18:07 -0800)]
Mention hang fix in the NEWS.

15 years agoAvoid a potential hang when --remove-*-files is active.
Wayne Davison [Mon, 10 Nov 2008 01:59:11 +0000 (17:59 -0800)]
Avoid a potential hang when --remove-*-files is active.

15 years agoThe protect filter automatically added with --backup is not perishable
Matt McCutchen [Mon, 3 Nov 2008 01:46:08 +0000 (20:46 -0500)]
The protect filter automatically added with --backup is not perishable
(see f41152d39396f0672a97268739c333537579404a), so remove the inaccurate
"p" from the man page.  Noticed by Jacob Balazer:

http://lists.samba.org/archive/rsync/2008-November/022022.html

15 years agoMention the getnameinfo() fix in the NEWS.
Wayne Davison [Sat, 25 Oct 2008 16:47:08 +0000 (09:47 -0700)]
Mention the getnameinfo() fix in the NEWS.

15 years agoMention rsync's definition of client and server.
Wayne Davison [Sat, 25 Oct 2008 16:43:50 +0000 (09:43 -0700)]
Mention rsync's definition of client and server.

15 years agoFixed our supplied getnameinfo()'s ability to do a reverse lookup,
Wayne Davison [Sat, 25 Oct 2008 15:39:41 +0000 (08:39 -0700)]
Fixed our supplied getnameinfo()'s ability to do a reverse lookup,
as reported in bug 5851.

15 years agoAdded another file-list filter to handle odd-ball systems that don't
Wayne Davison [Tue, 14 Oct 2008 14:27:56 +0000 (07:27 -0700)]
Added another file-list filter to handle odd-ball systems that don't
seem to size their sprintf() fields correctly.

15 years agoPreparing for release of 3.0.5pre1
Wayne Davison [Sat, 11 Oct 2008 18:41:05 +0000 (11:41 -0700)]
Preparing for release of 3.0.5pre1

15 years agoMention the latest NEWS.
Wayne Davison [Sat, 11 Oct 2008 18:40:40 +0000 (11:40 -0700)]
Mention the latest NEWS.

15 years agoFixed a glitch when using -s with a remote-shell daemon.
Wayne Davison [Sat, 11 Oct 2008 18:11:10 +0000 (11:11 -0700)]
Fixed a glitch when using -s with a remote-shell daemon.

15 years agoDon't lookup address "0.0.0.0" when we're a remote-shell daemon.
Wayne Davison [Sat, 11 Oct 2008 18:00:51 +0000 (11:00 -0700)]
Don't lookup address "0.0.0.0" when we're a remote-shell daemon.
Gets rid of a DNS delay waiting for a lookup failure.

15 years agoFixed send_protected_args() to send "." in place of an empty arg.
Wayne Davison [Sat, 11 Oct 2008 17:16:47 +0000 (10:16 -0700)]
Fixed send_protected_args() to send "." in place of an empty arg.

15 years agoAdded a fully atomic update if the user has setup a symlink
Wayne Davison [Sat, 11 Oct 2008 16:29:23 +0000 (09:29 -0700)]
Added a fully atomic update if the user has setup a symlink
to a *-1 or *-2 directory.  A few other minor improvements.

15 years agoFix the error message on one of the rename operations.
Wayne Davison [Fri, 10 Oct 2008 13:55:21 +0000 (06:55 -0700)]
Fix the error message on one of the rename operations.

15 years agoRemove bogus "non-empty" qualifier in '*' discussion.
Wayne Davison [Sat, 27 Sep 2008 04:47:53 +0000 (21:47 -0700)]
Remove bogus "non-empty" qualifier in '*' discussion.

15 years agoProperly ignore source args on a --read-batch command.
Wayne Davison [Sat, 27 Sep 2008 04:34:40 +0000 (21:34 -0700)]
Properly ignore source args on a --read-batch command.

15 years agoFixed skipping of unneeded updates in a batch file when incremental
Wayne Davison [Sat, 27 Sep 2008 04:32:43 +0000 (21:32 -0700)]
Fixed skipping of unneeded updates in a batch file when incremental
recursion is active.  Added a test for this.  Made batch-mode handle
redos properly (and without hanging).

15 years agoMoved the flist_ndx_{push,pop}() routines from io.c into util.c.
Wayne Davison [Sat, 27 Sep 2008 04:21:52 +0000 (21:21 -0700)]
Moved the flist_ndx_{push,pop}() routines from io.c into util.c.

15 years agoFix the %P logfile escape inside a chroot.
Wayne Davison [Sat, 27 Sep 2008 04:19:51 +0000 (21:19 -0700)]
Fix the %P logfile escape inside a chroot.

15 years agoInitialize xattr data in a couple spots in the hlink code, which avoids
Wayne Davison [Sat, 27 Sep 2008 04:10:58 +0000 (21:10 -0700)]
Initialize xattr data in a couple spots in the hlink code, which avoids
a crash when the xattr pointer's memory happens to start out non-zero.
Also fixed the itemizing of an alt-dest file's xattrs when hard-linking.

15 years agoDon't send a bogus "-" option to an older server if there were
Wayne Davison [Sat, 27 Sep 2008 04:09:41 +0000 (21:09 -0700)]
Don't send a bogus "-" option to an older server if there were
no short options specified.

15 years agoBeginning work on a 3.0.5 release.
Wayne Davison [Sat, 27 Sep 2008 04:07:56 +0000 (21:07 -0700)]
Beginning work on a 3.0.5 release.

15 years agoPreparing for release of 3.0.4
Wayne Davison [Sat, 6 Sep 2008 16:32:26 +0000 (09:32 -0700)]
Preparing for release of 3.0.4

15 years agoA few more improvements and a mention of the latest fix.
Wayne Davison [Sat, 6 Sep 2008 15:03:52 +0000 (08:03 -0700)]
A few more improvements and a mention of the latest fix.

15 years agoChanged some "rsync" commands into proper "$RSYNC" commands.
Wayne Davison [Wed, 3 Sep 2008 19:14:13 +0000 (12:14 -0700)]
Changed some "rsync" commands into proper "$RSYNC" commands.

15 years agoMade human_num() and human_dnum() able to output negative numbers.
Wayne Davison [Mon, 1 Sep 2008 20:08:23 +0000 (13:08 -0700)]
Made human_num() and human_dnum() able to output negative numbers.

15 years agoGot rid of the check_for_io_err code, as it could cause a hang.
Wayne Davison [Sun, 31 Aug 2008 14:27:11 +0000 (07:27 -0700)]
Got rid of the check_for_io_err code, as it could cause a hang.
The io_error issue will be fixed in a better way in 3.1.0.

15 years agoSome minor improvements to the flushing code to try to make it
Wayne Davison [Sun, 24 Aug 2008 19:53:22 +0000 (12:53 -0700)]
Some minor improvements to the flushing code to try to make it
even more solid.

15 years agoMake the !flist_eof assumption explicit before the check_for_io_err
Wayne Davison [Sun, 24 Aug 2008 19:33:22 +0000 (12:33 -0700)]
Make the !flist_eof assumption explicit before the check_for_io_err
code calls wait_for_receiver().

15 years agoAdded /support/savetransfer to .gitignore.
Wayne Davison [Sun, 17 Aug 2008 16:28:06 +0000 (09:28 -0700)]
Added /support/savetransfer to .gitignore.

15 years agoAn improved RERR_PARTIAL message.
Wayne Davison [Sun, 17 Aug 2008 16:20:50 +0000 (09:20 -0700)]
An improved RERR_PARTIAL message.

15 years agoChanged flist_for_ndx() to optionally die with an error
Wayne Davison [Thu, 14 Aug 2008 14:32:18 +0000 (07:32 -0700)]
Changed flist_for_ndx() to optionally die with an error
if the index isn't found.

15 years agoMade an error of readlink_stat() use the right function name.
Wayne Davison [Sun, 10 Aug 2008 14:31:45 +0000 (07:31 -0700)]
Made an error of readlink_stat() use the right function name.

15 years agoMake sure that the hlink node->data allocation doesn't fail.
Wayne Davison [Fri, 8 Aug 2008 14:47:31 +0000 (07:47 -0700)]
Make sure that the hlink node->data allocation doesn't fail.

15 years agoImproved a couple NEWS items.
Wayne Davison [Wed, 6 Aug 2008 01:43:51 +0000 (18:43 -0700)]
Improved a couple NEWS items.

15 years agoPreparing for release of 3.0.4pre2
Wayne Davison [Sat, 2 Aug 2008 21:06:31 +0000 (14:06 -0700)]
Preparing for release of 3.0.4pre2

15 years agoTweaked the symlink iconv buffer size and fixed a comment.
Wayne Davison [Sat, 2 Aug 2008 20:45:15 +0000 (13:45 -0700)]
Tweaked the symlink iconv buffer size and fixed a comment.

15 years agoWhen using --iconv, if a server-side receiver can't convert a filename,
Wayne Davison [Sat, 2 Aug 2008 17:25:17 +0000 (10:25 -0700)]
When using --iconv, if a server-side receiver can't convert a filename,
it now outputs the name back to the client without mangling the charset.

15 years agoRefer to the symlink's contents as "symlink data", not "symlink name".
Wayne Davison [Sat, 2 Aug 2008 17:18:10 +0000 (10:18 -0700)]
Refer to the symlink's contents as "symlink data", not "symlink name".

15 years agoAdded logic to the receiving side to ensure that the --delete-during
Wayne Davison [Sat, 2 Aug 2008 16:03:49 +0000 (09:03 -0700)]
Added logic to the receiving side to ensure that the --delete-during
code will not delete in a directory prior to receiving an I/O error
for that directory (or not receiving it, as the case may be).

15 years agoSkip new symlink conversion step if the remote rsync is not
Wayne Davison [Sat, 2 Aug 2008 14:04:54 +0000 (07:04 -0700)]
Skip new symlink conversion step if the remote rsync is not
new enough to do symlink content conversions.

15 years agoThe --iconv option now converts the content of a symlink too.
Wayne Davison [Sat, 2 Aug 2008 02:12:33 +0000 (19:12 -0700)]
The --iconv option now converts the content of a symlink too.

15 years agoFixed a problem with checking for the '.' dir in the first file
Wayne Davison [Sat, 2 Aug 2008 02:00:21 +0000 (19:00 -0700)]
Fixed a problem with checking for the '.' dir in the first file
list that is transferred.  This fixes a glitch where a failed
--iconv conversion on the receiving side could prevent deletions
from happening in the root-dir of the transfer.

15 years agoFixed a couple minor problems in util.c:
Wayne Davison [Sat, 2 Aug 2008 01:00:18 +0000 (18:00 -0700)]
Fixed a couple minor problems in util.c:
- Make sure that handle_partial_dir() never returns a truncated fname.
- Make robust_rename() return that it failed to do a cross-device
  copy if the partial-dir could not be created.

15 years agoProperly handle a failure to create a partial directory, which is
Wayne Davison [Sat, 2 Aug 2008 00:53:43 +0000 (17:53 -0700)]
Properly handle a failure to create a partial directory, which is
especially important for --delay-updates, particularly when
--remove-source-files was also specified.

15 years agoOutput an FERROR* for a general io_error, and an FWARNING for other
Wayne Davison [Thu, 31 Jul 2008 14:55:59 +0000 (07:55 -0700)]
Output an FERROR* for a general io_error, and an FWARNING for other
io_error flags.

15 years agoMention a missing sender-side hash improvment that went out in 3.0.0.
Wayne Davison [Wed, 30 Jul 2008 15:33:35 +0000 (08:33 -0700)]
Mention a missing sender-side hash improvment that went out in 3.0.0.

15 years agoMake hard-linking work when a device has an st_dev of 0.
Wayne Davison [Wed, 30 Jul 2008 00:59:08 +0000 (17:59 -0700)]
Make hard-linking work when a device has an st_dev of 0.

15 years agoMention some mount options that can interfere with --link-dest.
Wayne Davison [Tue, 29 Jul 2008 01:24:25 +0000 (18:24 -0700)]
Mention some mount options that can interfere with --link-dest.

15 years agoBack-porting some manpage improvements.
Wayne Davison [Tue, 29 Jul 2008 00:07:38 +0000 (17:07 -0700)]
Back-porting some manpage improvements.

15 years agoPreparing for release of 3.0.4pre1
Wayne Davison [Fri, 25 Jul 2008 00:03:26 +0000 (17:03 -0700)]
Preparing for release of 3.0.4pre1

15 years agoFixed the --fake-super test in the xattrs testsuite when there are
Wayne Davison [Thu, 24 Jul 2008 14:46:16 +0000 (07:46 -0700)]
Fixed the --fake-super test in the xattrs testsuite when there are
root-level xattrs on the files (e.g. selinux values).

15 years agoFixed the timeout/flush loop-check logic to work properly with
Wayne Davison [Thu, 24 Jul 2008 06:37:11 +0000 (23:37 -0700)]
Fixed the timeout/flush loop-check logic to work properly with
incremental recursion.

15 years agoDon't interrupt the make if a generated build file didn't really change.
Wayne Davison [Thu, 24 Jul 2008 06:28:57 +0000 (23:28 -0700)]
Don't interrupt the make if a generated build file didn't really change.

15 years agoA couple xattr fixes for --fake-super.
Wayne Davison [Thu, 24 Jul 2008 06:12:39 +0000 (23:12 -0700)]
A couple xattr fixes for --fake-super.

15 years agoIf the user specifies --protocol=29, rsync will avoid sending an -e
Wayne Davison [Thu, 24 Jul 2008 06:09:15 +0000 (23:09 -0700)]
If the user specifies --protocol=29, rsync will avoid sending an -e
option to the server (which is only useful for protocols 30 and above
anyway).  This gives the user an easy way to talk to a restricted
server that has overly restrictive option-checking.

15 years agoPass --branch option to patch-update script.
Wayne Davison [Thu, 24 Jul 2008 00:03:03 +0000 (17:03 -0700)]
Pass --branch option to patch-update script.

15 years agoWe only need to deal with local patch branches now.
Wayne Davison [Wed, 23 Jul 2008 21:32:58 +0000 (14:32 -0700)]
We only need to deal with local patch branches now.

15 years agoFixed a potential alignment issue in the IRIX ACL code when allocating
Wayne Davison [Wed, 23 Jul 2008 04:35:21 +0000 (21:35 -0700)]
Fixed a potential alignment issue in the IRIX ACL code when allocating
the initial struct acl object.  Also, cast mallocs to avoid warnings.

15 years agoFixed a bug in match_hard_links() where an empty directory would try
Wayne Davison [Wed, 23 Jul 2008 04:34:20 +0000 (21:34 -0700)]
Fixed a bug in match_hard_links() where an empty directory would try
to allocate 0 bytes of memory (which can fail on some OSes).

15 years agoAllow a release from a non-master branch.
Wayne Davison [Tue, 22 Jul 2008 16:11:34 +0000 (09:11 -0700)]
Allow a release from a non-master branch.

15 years agoStart the 3.0.4 branch.
Wayne Davison [Tue, 22 Jul 2008 16:05:00 +0000 (09:05 -0700)]
Start the 3.0.4 branch.

15 years agoPreparing for release of 3.0.3
Wayne Davison [Mon, 30 Jun 2008 03:15:37 +0000 (20:15 -0700)]
Preparing for release of 3.0.3

15 years agoMention the addition of the deny-rsync script, and tweak some comments.
Wayne Davison [Sat, 28 Jun 2008 17:12:57 +0000 (10:12 -0700)]
Mention the addition of the deny-rsync script, and tweak some comments.

15 years agoFixed a problem with a file descriptor being left open in the
Wayne Davison [Thu, 26 Jun 2008 15:14:11 +0000 (08:14 -0700)]
Fixed a problem with a file descriptor being left open in the
generator when handling an empty file.

15 years agoSome deny-rsync fixes:
Wayne Davison [Tue, 24 Jun 2008 06:05:07 +0000 (23:05 -0700)]
Some deny-rsync fixes:
- Fixed messages longer than 63 chars.
- Don't require the presence of a "bc" program.
- Append a newline to the message to make the script easier to call.
- Make extra sure the message outputs without escape interpretation.
- Stick around long enough for a client to reliably get the message.

15 years agoThe deny-rsync script from bug 3945.
Matt McCutchen [Tue, 24 Jun 2008 05:56:13 +0000 (22:56 -0700)]
The deny-rsync script from bug 3945.

15 years agoFixed the sending of large files with older rsync versions by
Wayne Davison [Mon, 23 Jun 2008 15:02:46 +0000 (08:02 -0700)]
Fixed the sending of large files with older rsync versions by
handling the old block-size limit for protocols < 29.

15 years agoPreparing for release of 3.0.3pre3
Wayne Davison [Mon, 23 Jun 2008 02:03:46 +0000 (19:03 -0700)]
Preparing for release of 3.0.3pre3

15 years agoThe sender now sets IOERR_GENERAL in more skipped-file instances.
Matt McCutchen [Mon, 23 Jun 2008 02:00:51 +0000 (19:00 -0700)]
The sender now sets IOERR_GENERAL in more skipped-file instances.

15 years agoMention more fixes in the NEWS.
Wayne Davison [Mon, 23 Jun 2008 01:45:07 +0000 (18:45 -0700)]
Mention more fixes in the NEWS.

15 years agoImproved the build rules for rsync.1 and rsyncd.conf.5 when building
Wayne Davison [Mon, 23 Jun 2008 01:26:15 +0000 (18:26 -0700)]
Improved the build rules for 1 and rsyncd.conf.5 when building
in a separate build directory from the source.

15 years agoAvoid problems with timestamp rounding that cp -p and touch -r may do.
Wayne Davison [Tue, 17 Jun 2008 22:59:47 +0000 (15:59 -0700)]
Avoid problems with timestamp rounding that cp -p and touch -r may do.

15 years agoFix the problem with setting xattrs on a directory that has an
Wayne Davison [Fri, 13 Jun 2008 06:08:43 +0000 (23:08 -0700)]
Fix the problem with setting xattrs on a directory that has an
identical match found in a --link-dest/--copy-dest hierarchy.

15 years agoCast the datum_len value to a long for rprintf().
Wayne Davison [Thu, 12 Jun 2008 13:59:51 +0000 (06:59 -0700)]
Cast the datum_len value to a long for rprintf().

15 years agoHandle a solo_file of a directory for --delete-during.
Wayne Davison [Mon, 9 Jun 2008 14:42:03 +0000 (07:42 -0700)]
Handle a solo_file of a directory for --delete-during.

15 years agoA couple more xattr improvements:
Wayne Davison [Mon, 9 Jun 2008 04:07:30 +0000 (21:07 -0700)]
A couple more xattr improvements:
- Made the XSTATE_* defines avoid using 0.
- Call !XATTR_ABBREV() in recv_xattr_request().
- Improved the "internal abbrev" error message.
- Fixed the potential for a directory time glitch in xattrs.diff.