rsync.git
9 years agoRemove duplication for -x option.
Wayne Davison [Thu, 26 Aug 2010 14:58:22 +0000 (07:58 -0700)]
Remove duplication for -x option.

9 years agoA couple more NEWS items.
Wayne Davison [Sat, 3 Jul 2010 16:30:44 +0000 (09:30 -0700)]
A couple more NEWS items.

9 years agoAlways use lchmod() if it is available.
Wayne Davison [Thu, 31 Dec 2009 22:10:38 +0000 (14:10 -0800)]
Always use lchmod() if it is available.

9 years agoMention what -XX (repeated --xattrs) does.
Wayne Davison [Sat, 6 Feb 2010 21:32:47 +0000 (13:32 -0800)]
Mention what -XX (repeated --xattrs) does.

9 years agoDocument the "copy-some-dirlinks" trick in the man page.
Matt McCutchen [Sun, 4 Oct 2009 05:24:50 +0000 (01:24 -0400)]
Document the "copy-some-dirlinks" trick in the man page.

Originally explained at:

http://lists.samba.org/archive/rsync/2006-February/014838.html

9 years agoFix erroneous "--fake-user" in the rsyncd.conf(5) man page.
Matt McCutchen [Mon, 8 Feb 2010 02:00:02 +0000 (21:00 -0500)]
Fix erroneous "--fake-user" in the rsyncd.conf(5) man page.

9 years agoIn "ignoring unsafe symlink" messages, show only the file-list path.
Matt McCutchen [Wed, 17 Mar 2010 04:53:42 +0000 (00:53 -0400)]
In "ignoring unsafe symlink" messages, show only the file-list path.

Rsync was showing the full destination path, which was confusing because
nothing is created at that path and was especially bogus in combination
with the source name of a solo file.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506830

9 years agoMore NEWS.
Wayne Davison [Sat, 3 Jul 2010 15:56:09 +0000 (08:56 -0700)]
More NEWS.

9 years agoIf a module has no path setting, return an error.
Wayne Davison [Sat, 3 Jul 2010 15:54:40 +0000 (08:54 -0700)]
If a module has no path setting, return an error.

9 years agoMention latest changes.
Wayne Davison [Sat, 3 Jul 2010 15:49:46 +0000 (08:49 -0700)]
Mention latest changes.

9 years agoRefer to the right lsetxattr() caller in a error message.
Wayne Davison [Sat, 3 Jul 2010 15:14:02 +0000 (08:14 -0700)]
Refer to the right lsetxattr() caller in a error message.

9 years agoFix compression-ignoring of upper-case suffixes.
Wayne Davison [Sat, 19 Jun 2010 16:47:00 +0000 (09:47 -0700)]
Fix compression-ignoring of upper-case suffixes.
Fixes bug 7512.

9 years agoFix a couple socketpair_tcp() issues (see bug 7514).
Wayne Davison [Sat, 19 Jun 2010 16:29:42 +0000 (09:29 -0700)]
Fix a couple socketpair_tcp() issues (see bug 7514).

9 years agoFix a typo that Andrea Gelmini pointed out.
Wayne Davison [Sat, 27 Mar 2010 19:06:45 +0000 (12:06 -0700)]
Fix a typo that Andrea Gelmini pointed out.

9 years agoGet rid of trailing whitespace.
Wayne Davison [Sat, 27 Mar 2010 19:05:01 +0000 (12:05 -0700)]
Get rid of trailing whitespace.

9 years agoMan page description of --xattrs should not assume a push.
Matt McCutchen [Wed, 17 Mar 2010 05:08:28 +0000 (01:08 -0400)]
Man page description of --xattrs should not assume a push.

9 years agoMore manpage improvements.
Wayne Davison [Sat, 26 Jun 2010 17:52:04 +0000 (10:52 -0700)]
More manpage improvements.

9 years agoAmplify the man page description of --hard-links (see bug 3693), and
Matt McCutchen [Thu, 19 Nov 2009 05:18:23 +0000 (00:18 -0500)]
Amplify the man page description of --hard-links (see bug 3693), and
improve that of --inplace while I'm at it.

9 years agoReject passing an arg to an option that doesn't take one (bug 6915).
Wayne Davison [Sat, 3 Jul 2010 15:27:38 +0000 (08:27 -0700)]
Reject passing an arg to an option that doesn't take one (bug 6915).
Based on a patch by Matt, but further tweaked to deal with -q=foo.

9 years agoMention 2010 in the main copyright.
Wayne Davison [Sat, 3 Jul 2010 15:24:58 +0000 (08:24 -0700)]
Mention 2010 in the main copyright.

9 years agoMake an empty-string dest-dir the same as "." again.
Wayne Davison [Sat, 3 Jul 2010 15:23:31 +0000 (08:23 -0700)]
Make an empty-string dest-dir the same as "." again.

9 years agoSetup for 3.0.8dev.
Wayne Davison [Wed, 30 Jun 2010 16:04:21 +0000 (09:04 -0700)]
Setup for 3.0.8dev.

9 years agoFixed inconsistencies reported by packaging/var-checker.
Wayne Davison [Wed, 30 Jun 2010 15:58:40 +0000 (08:58 -0700)]
Fixed inconsistencies reported by packaging/var-checker.

9 years agoUpdate support/rrsync and some packaging/* scripts.
Wayne Davison [Wed, 30 Jun 2010 15:22:59 +0000 (08:22 -0700)]
Update support/rrsync and some packaging/* scripts.

9 years agoRename configure.in to configure.ac, the current autoconf standard.
Matt McCutchen [Tue, 9 Feb 2010 01:45:39 +0000 (20:45 -0500)]
Rename configure.in to configure.ac, the current autoconf standard.

9 years agoWrite out the right compat_flags value into the batch file.
Wayne Davison [Sat, 26 Jun 2010 23:14:15 +0000 (16:14 -0700)]
Write out the right compat_flags value into the batch file.

9 years agoTurn some asserts into descriptive errors.
Wayne Davison [Sat, 26 Jun 2010 23:13:58 +0000 (16:13 -0700)]
Turn some asserts into descriptive errors.

9 years agoMake sure our use of idev_find() hashtable is right
Wayne Davison [Sat, 26 Jun 2010 23:13:20 +0000 (16:13 -0700)]
Make sure our use of idev_find() hashtable is right
while also supporting older rsyncs that send dev == 0.

9 years agoMake sure that the code doesn't try to use an illegal key.
Wayne Davison [Sat, 26 Jun 2010 18:32:14 +0000 (11:32 -0700)]
Make sure that the code doesn't try to use an illegal key.

9 years agoFix daemon-filter crash issue (bug 7489).
Wayne Davison [Sat, 5 Jun 2010 06:10:47 +0000 (23:10 -0700)]
Fix daemon-filter crash issue (bug 7489).

9 years agoRemoving now-redundant path-size check from send_if_directory().
Wayne Davison [Wed, 31 Mar 2010 21:56:52 +0000 (14:56 -0700)]
Removing now-redundant path-size check from send_if_directory().

9 years agoFix directory-length overflow bug (7057).
Wayne Davison [Fri, 26 Mar 2010 23:56:40 +0000 (16:56 -0700)]
Fix directory-length overflow bug (7057).

9 years agoPreparing for release of 3.0.7 v3.0.7
Wayne Davison [Thu, 31 Dec 2009 21:08:07 +0000 (13:08 -0800)]
Preparing for release of 3.0.7

9 years agoAllow any gcc to make use of __builtin_alloca for alloca.
Wayne Davison [Thu, 31 Dec 2009 03:58:57 +0000 (19:58 -0800)]
Allow any gcc to make use of __builtin_alloca for alloca.

9 years agoConfigure check for -Wno-unused-parameter now tries to link too.
Wayne Davison [Thu, 31 Dec 2009 03:57:47 +0000 (19:57 -0800)]
Configure check for -Wno-unused-parameter now tries to link too.

9 years agoFixed the passing of a '/' modifier for an absolute-path filter rule.
Wayne Davison [Wed, 30 Dec 2009 20:25:33 +0000 (12:25 -0800)]
Fixed the passing of a '/' modifier for an absolute-path filter rule.

9 years agoPreparing for release of 3.0.7pre2 v3.0.7pre2
Wayne Davison [Thu, 24 Dec 2009 16:31:37 +0000 (08:31 -0800)]
Preparing for release of 3.0.7pre2

9 years agoRevert to having the receiver handle timeouts on the receiving side.
Wayne Davison [Wed, 23 Dec 2009 19:31:28 +0000 (11:31 -0800)]
Revert to having the receiver handle timeouts on the receiving side.
This will give 3.0.7 the standard timeout handling with just a few
improvements: a fix for the detection of recent sender I/O, the use
of MSG_DATA for really old rsync versions, and better setting of
select_timeout for shorter timeout settings.

9 years agoPreparing for release of 3.0.7pre1 v3.0.7pre1
Wayne Davison [Tue, 22 Dec 2009 02:25:00 +0000 (18:25 -0800)]
Preparing for release of 3.0.7pre1

9 years agoEnsure that the generator gets notified about an I/O error for the dir
Wayne Davison [Mon, 21 Dec 2009 22:27:55 +0000 (14:27 -0800)]
Ensure that the generator gets notified about an I/O error for the dir
that generated the error.  This ensures that a --delete-during avoids
deleting in a newly transferred inc-recurse directory.  Requires 3.0.7
or greater on both sides of the transfer.

9 years agoDefer forwarding messages during the forwarding of flist data.
Wayne Davison [Mon, 21 Dec 2009 21:48:44 +0000 (13:48 -0800)]
Defer forwarding messages during the forwarding of flist data.

9 years agoMention the compress fix.
Wayne Davison [Mon, 21 Dec 2009 18:52:54 +0000 (10:52 -0800)]
Mention the compress fix.

9 years agoMention latest --timeout fixes.
Wayne Davison [Mon, 21 Dec 2009 18:25:15 +0000 (10:25 -0800)]
Mention latest --timeout fixes.

9 years agoDon't die if inflate() returns Z_BUF_ERROR in see_deflate_token().
Wayne Davison [Mon, 21 Dec 2009 18:13:52 +0000 (10:13 -0800)]
Don't die if inflate() returns Z_BUF_ERROR in see_deflate_token().

9 years agoImprove --timeout method to take into account all socket I/O that is
Wayne Davison [Sat, 19 Dec 2009 21:38:25 +0000 (13:38 -0800)]
Improve --timeout method to take into account all socket I/O that is
going on.  The receiving side also switches timeout handling from the
receiver to the generator.  Given this setup, all keep-alive messages
are now sent as empty MSG_DATA messages, with MSG_NOOP messages only
being understood and (when necessary) acted upon to forward a keep-alive
event to an older receiver.  This is both safer and more compatible with
older versions.

9 years agoAdded an am_receiver variable.
Wayne Davison [Sat, 19 Dec 2009 18:14:49 +0000 (10:14 -0800)]
Added an am_receiver variable.

9 years agoUse 0-length MSG_DATA when MSG_NOOP is not available
Wayne Davison [Wed, 16 Dec 2009 21:32:03 +0000 (13:32 -0800)]
Use 0-length MSG_DATA when MSG_NOOP is not available
(is both safer and supports older rsyncs).

9 years agoAvoid -u option to id since solaris doesn't support it.
Wayne Davison [Mon, 14 Dec 2009 02:15:09 +0000 (18:15 -0800)]
Avoid -u option to id since solaris doesn't support it.

9 years agoGet rid of some unused externs.
Wayne Davison [Sun, 13 Dec 2009 06:43:51 +0000 (22:43 -0800)]
Get rid of some unused externs.

9 years agoInclude info on who is exiting.
Wayne Davison [Sun, 13 Dec 2009 06:42:35 +0000 (22:42 -0800)]
Include info on who is exiting.

9 years agoMention the newly cherry-picked changes.
Wayne Davison [Sun, 13 Dec 2009 01:05:03 +0000 (17:05 -0800)]
Mention the newly cherry-picked changes.

9 years agoUse seteuid() (if available) when using setuid().
Wayne Davison [Sun, 13 Dec 2009 00:43:13 +0000 (16:43 -0800)]
Use seteuid() (if available) when using setuid().

9 years agoBeginning work on a 3.0.7 release.
Wayne Davison [Sun, 13 Dec 2009 00:20:54 +0000 (16:20 -0800)]
Beginning work on a 3.0.7 release.

9 years agoDon't (wrongly) retouch dir permissions with --fake-super.
Wayne Davison [Sun, 29 Nov 2009 05:46:42 +0000 (21:46 -0800)]
Don't (wrongly) retouch dir permissions with --fake-super.
(Patch from Matt.)

9 years agoAdd IPv6 detection on cygwin.
Wayne Davison [Thu, 26 Nov 2009 23:17:49 +0000 (15:17 -0800)]
Add IPv6 detection on cygwin.

9 years agoSave first filename and linenum in case exit_cleanup() recurses.
Wayne Davison [Sun, 8 Nov 2009 08:12:33 +0000 (00:12 -0800)]
Save first filename and linenum in case exit_cleanup() recurses.

9 years agoMoved some --iconv text that was supposed to be in --files-from.
Wayne Davison [Sat, 24 Oct 2009 07:23:21 +0000 (00:23 -0700)]
Moved some --iconv text that was supposed to be in --files-from.

9 years agoMake sure daemon's io_timeout is used as a maximum value.
Wayne Davison [Tue, 20 Oct 2009 22:05:15 +0000 (15:05 -0700)]
Make sure daemon's io_timeout is used as a maximum value.

9 years agoFix some man page problems Scott Kostyshak pointed out.
Wayne Davison [Sat, 17 Oct 2009 18:06:49 +0000 (11:06 -0700)]
Fix some man page problems Scott Kostyshak pointed out.

9 years agoAvoid type-punned compiler warnings for the byteorder.h macros
Wayne Davison [Wed, 14 Oct 2009 04:07:46 +0000 (21:07 -0700)]
Avoid type-punned compiler warnings for the byteorder.h macros
by using inline functions for the 4-char <-> uint32 conversions.

9 years agoImprove the "--delete does not work without -r or -d" message.
Wayne Davison [Mon, 7 Sep 2009 21:22:59 +0000 (14:22 -0700)]
Improve the "--delete does not work without -r or -d" message.

9 years agoImprove error handling and get rid of a lingering fprintf().
Wayne Davison [Sat, 5 Sep 2009 17:25:42 +0000 (10:25 -0700)]
Improve error handling and get rid of a lingering fprintf().

9 years agoFix daemon's conveyance of io_error value from sender.
Wayne Davison [Sat, 5 Sep 2009 16:40:53 +0000 (09:40 -0700)]
Fix daemon's conveyance of io_error value from sender.

9 years agoAvoid an dry-run error trying to stat a prior hard-link
Wayne Davison [Sat, 5 Sep 2009 15:16:22 +0000 (08:16 -0700)]
Avoid an dry-run error trying to stat a prior hard-link
file that hasn't really been created.

9 years agoRebuild proto.h if config.h changes.
Wayne Davison [Wed, 2 Sep 2009 15:52:41 +0000 (08:52 -0700)]
Rebuild proto.h if config.h changes.

9 years agoFix the chmod-temp-dir test if /var/tmp doesn't exist.
Wayne Davison [Sat, 22 Aug 2009 16:33:55 +0000 (09:33 -0700)]
Fix the chmod-temp-dir test if /var/tmp doesn't exist.
Fixes bug 6569.

9 years agoGet section reference right. Fixes bug #6573.
Wayne Davison [Sat, 1 Aug 2009 18:28:45 +0000 (11:28 -0700)]
Get section reference right.  Fixes bug #6573.

9 years agoAdded solaris IPv6 checking to configure. Fixes #6438.
Wayne Davison [Fri, 5 Jun 2009 19:56:15 +0000 (12:56 -0700)]
Added solaris IPv6 checking to configure.  Fixes #6438.
Patch from Tim Spriggs.

9 years agoMention that --whole-file is not the default for a local transfer when
Wayne Davison [Mon, 1 Jun 2009 16:09:09 +0000 (09:09 -0700)]
Mention that --whole-file is not the default for a local transfer when
writing a batch file.

9 years agoSupport an older AIX system that doesn't have ENOTSUP.
Wayne Davison [Thu, 14 May 2009 18:23:38 +0000 (11:23 -0700)]
Support an older AIX system that doesn't have ENOTSUP.

9 years agoSwitch from inet_aton() to inet_pton() (since we supply a compatibility
Wayne Davison [Thu, 14 May 2009 18:22:37 +0000 (11:22 -0700)]
Switch from inet_aton() to inet_pton() (since we supply a compatibility
function for the latter, it will always exist).

9 years agoAllow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests.
Wayne Davison [Fri, 10 Apr 2009 15:19:16 +0000 (08:19 -0700)]
Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests.

10 years agoFix a bogus free in uncache_tmp_xattrs().
Wayne Davison [Fri, 14 Aug 2009 14:04:24 +0000 (07:04 -0700)]
Fix a bogus free in uncache_tmp_xattrs().

10 years agoPreparing for release of 3.0.6 v3.0.6
Wayne Davison [Fri, 8 May 2009 17:07:14 +0000 (10:07 -0700)]
Preparing for release of 3.0.6

10 years agoFix typo pointed out by Chris Pepper.
Wayne Davison [Thu, 7 May 2009 15:02:17 +0000 (08:02 -0700)]
Fix typo pointed out by Chris Pepper.

10 years agoMove the description of include/exclude modifiers to a better place
Matt McCutchen [Tue, 5 May 2009 02:30:47 +0000 (22:30 -0400)]
Move the description of include/exclude modifiers to a better place
in the man page.

10 years agoClarify which options are transfer rules, and what that means.
Wayne Davison [Mon, 27 Apr 2009 14:21:56 +0000 (07:21 -0700)]
Clarify which options are transfer rules, and what that means.

10 years agoChange sending/receiving/storing of the rdev value for special files.
Wayne Davison [Sun, 26 Apr 2009 14:49:00 +0000 (07:49 -0700)]
Change sending/receiving/storing of the rdev value for special files.
Since the value is not needed, the (superfluous) sending of the value
is optimized so that a valid rdev value is sent as efficiently as
possible.  The receiver no longer caches an rdev value for special
files, and the generator will always pass a 0 rdev value to do_mknod()
for special files. Fixes bug #6280.

10 years agoClarify the read-batch fix.
Wayne Davison [Mon, 13 Apr 2009 14:42:20 +0000 (07:42 -0700)]
Clarify the read-batch fix.

10 years agoPreparing for release of 3.0.6pre1 v3.0.6pre1
Wayne Davison [Sun, 12 Apr 2009 22:28:34 +0000 (15:28 -0700)]
Preparing for release of 3.0.6pre1

10 years agoChanged the commands used to "make gen" without any stoppage.
Wayne Davison [Sun, 12 Apr 2009 22:18:33 +0000 (15:18 -0700)]
Changed the commands used to "make gen" without any stoppage.

10 years agoDon't allow --remove-s*-files with --read-batch.
Wayne Davison [Sun, 12 Apr 2009 19:57:31 +0000 (12:57 -0700)]
Don't allow --remove-s*-files with --read-batch.

10 years agoFixed the use of --xattrs with --only-write-batch.
Wayne Davison [Sun, 12 Apr 2009 19:48:59 +0000 (12:48 -0700)]
Fixed the use of --xattrs with --only-write-batch.

10 years agoAllow a "make reconfigure" to continue, even if the Makefile changes.
Wayne Davison [Fri, 10 Apr 2009 23:24:12 +0000 (16:24 -0700)]
Allow a "make reconfigure" to continue, even if the Makefile changes.

10 years agoFixed an ACL/xattr corruption issue where the --backup option could cause
Wayne Davison [Fri, 10 Apr 2009 23:09:39 +0000 (16:09 -0700)]
Fixed an ACL/xattr corruption issue where the --backup option could cause
rsync to associate the wrong ACL/xattr information with received files.

10 years agoDon't try to simplify an ACL that has a mask w/o any named values.
Wayne Davison [Fri, 10 Apr 2009 05:49:24 +0000 (22:49 -0700)]
Don't try to simplify an ACL that has a mask w/o any named values.

10 years agoSome improvements to the rsync.yo manpage:
Wayne Davison [Tue, 7 Apr 2009 14:32:35 +0000 (07:32 -0700)]
Some improvements to the rsync.yo manpage:
- Mention the switch from MD4 to MD5.
- Mention the default for the --log-file-format option.

10 years agoMake sure that config.h.in is up-to-date before allowing the
Wayne Davison [Sat, 4 Apr 2009 14:44:00 +0000 (07:44 -0700)]
Make sure that config.h.in is up-to-date before allowing the
Makefile-updating rule to run ./config.status.

10 years agoFixed --dry-run with --read-batch:
Wayne Davison [Sat, 4 Apr 2009 14:37:51 +0000 (07:37 -0700)]
Fixed --dry-run with --read-batch:
- Avoid sending MSG_NO_SEND to the generator.
- Check if the file is wanted before discarding the batched data.

10 years agoFixed improper deletion of mount-point hierarchies.
Wayne Davison [Wed, 1 Apr 2009 03:15:42 +0000 (20:15 -0700)]
Fixed improper deletion of mount-point hierarchies.
Fixes bug #6240.

10 years agoFixed a word ending that Jesse Weinstein and revamp some of the text
Wayne Davison [Tue, 31 Mar 2009 21:34:31 +0000 (14:34 -0700)]
Fixed a word ending that Jesse Weinstein and revamp some of the text
to make it clearer.

10 years agoMake symlink iconv work for a local copy.
Wayne Davison [Sun, 29 Mar 2009 20:23:56 +0000 (13:23 -0700)]
Make symlink iconv work for a local copy.
Fixes issue mention in bug #5615.

10 years agoGive a meaningful error message when we fail to write to a batch file.
Matt McCutchen [Sat, 31 Jan 2009 06:14:17 +0000 (01:14 -0500)]
Give a meaningful error message when we fail to write to a batch file.

10 years agoSimplify an "if" in ssh-basic.test. Fixes bug #6169;
Wayne Davison [Fri, 6 Mar 2009 15:07:43 +0000 (07:07 -0800)]
Simplify an "if" in ssh-basic.test.  Fixes bug #6169;

10 years agoMention the fix to --safe-links/--copy-unsafe-links.
Wayne Davison [Tue, 3 Mar 2009 16:58:58 +0000 (08:58 -0800)]
Mention the fix to --safe-links/--copy-unsafe-links.

10 years agoImproved the unsafe_symlink() code to not get fooled by extra '/' chars
Wayne Davison [Tue, 3 Mar 2009 16:43:17 +0000 (08:43 -0800)]
Improved the unsafe_symlink() code to not get fooled by extra '/' chars
in the symlink's path.  Added test cases.  This fixes bug #6151.

10 years agoMake the backup code call unsafe_symlink() correctly.
Wayne Davison [Tue, 3 Mar 2009 16:42:56 +0000 (08:42 -0800)]
Make the backup code call unsafe_symlink() correctly.

10 years agoMention vanishing-directory fix.
Wayne Davison [Sat, 14 Feb 2009 16:38:24 +0000 (08:38 -0800)]
Mention vanishing-directory fix.

10 years agoHandle a link_stat() failure with errno ENOENT as a vanished file.
Wayne Davison [Sat, 14 Feb 2009 16:35:57 +0000 (08:35 -0800)]
Handle a link_stat() failure with errno ENOENT as a vanished file.

10 years agoMention the latest configure fixes.
Wayne Davison [Sat, 14 Feb 2009 16:03:11 +0000 (08:03 -0800)]
Mention the latest configure fixes.