rsync/rsync.git
14 years agoMy version of Matt's improvements related to missing source args: hacks/missing-args-b3.0.x
Wayne Davison [Fri, 13 Mar 2009 16:33:51 +0000 (09:33 -0700)]
My version of Matt's improvements related to missing source args:
- Implement --ignore-missing-args.
- In the absence of --*-missing-args, a missing source arg is an
  FERROR_XFER, but doesn't need to be an IOERR_GENERAL.
- Revise the man page.

14 years agoMake missing args governed by protect filters, not hide.
Wayne Davison [Fri, 13 Mar 2009 15:49:53 +0000 (08:49 -0700)]
Make missing args governed by protect filters, not hide.

14 years agoMade --list-only output missing args as a "*missing" line.
Wayne Davison [Sat, 7 Mar 2009 06:42:13 +0000 (22:42 -0800)]
Made --list-only output missing args as a "*missing" line.

Backported to rsync v3.0.6 by Matt McCutchen, 2009-11-12.

14 years agoDon't let --chmod tweak a 0 mode value (which marks a missing arg).
Wayne Davison [Sat, 7 Mar 2009 06:41:23 +0000 (22:41 -0800)]
Don't let --chmod tweak a 0 mode value (which marks a missing arg).

14 years agoAdded the --delete-missing-args option to delete specified
Wayne Davison [Sat, 28 Feb 2009 17:22:51 +0000 (09:22 -0800)]
Added the --delete-missing-args option to delete specified
files on the receiver that don't exist on the sender.

Backported to rsync v3.0.6 by Matt McCutchen, 2009-11-12.

14 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().

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 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;

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

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

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

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

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

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

15 years agoAdded --disable-iconv-open option for configure to turn off all use
Wayne Davison [Sat, 14 Feb 2009 15:50:09 +0000 (07:50 -0800)]
Added --disable-iconv-open option for configure to turn off all use
of the iconv_open() function.  Implies --disable-iconv (which turns
off the --iconv option).  Fixes bug #6107.

15 years agoMoved the --disable-debug check sooner in configure.in so that it
Wayne Davison [Sat, 14 Feb 2009 15:46:39 +0000 (07:46 -0800)]
Moved the --disable-debug check sooner in configure.in so that it
happens prior to checking for the compiler.  Switched no-debug code
to setting ac_cv_prog_cc_g=no.  Fixes bug #6106.

15 years agoEnsure that the sender turns off any msg_fd_in use earlier.
Wayne Davison [Thu, 5 Feb 2009 02:07:58 +0000 (18:07 -0800)]
Ensure that the sender turns off any msg_fd_in use earlier.
This avoids a problem where an extra message from the sender
could give the generator time to start sending data that will
not be understood by the sender's use of read_msg_fd().

15 years agoDo not try to send a symlink with a 0-length value.
Wayne Davison [Wed, 4 Feb 2009 15:53:35 +0000 (07:53 -0800)]
Do not try to send a symlink with a 0-length value.
This avoids a transfer error in the receiver.

15 years agoA few more improvements to the hostspec-parsing code.
Wayne Davison [Thu, 29 Jan 2009 07:17:46 +0000 (23:17 -0800)]
A few more improvements to the hostspec-parsing code.

15 years agoFixed the parsing of IPv6 literal addresses with a username
Wayne Davison [Wed, 28 Jan 2009 23:55:41 +0000 (15:55 -0800)]
Fixed the parsing of IPv6 literal addresses with a username
prefixed.  Fixes bug #6067.

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.