Wayne Davison [Fri, 8 May 2009 18:13:37 +0000 (11:13 -0700)]
Adding release info for 3.0.6 to the trunk.
Wayne Davison [Thu, 7 May 2009 15:02:17 +0000 (08:02 -0700)]
Fix typo pointed out by Chris Pepper.
Wayne Davison [Thu, 7 May 2009 14:34:42 +0000 (07:34 -0700)]
Enhance name_to_{u,g}id() to optionally parse numbers and rename
to {user,group}_to_*(). Based on a patch by Matt McCutchen.
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.
Wayne Davison [Mon, 27 Apr 2009 14:21:56 +0000 (07:21 -0700)]
Clarify which options are transfer rules, and what that means.
Wayne Davison [Sun, 26 Apr 2009 14:28:55 +0000 (07:28 -0700)]
Change sending/receiving/storing of the rdev value for special files.
Since the value is not needed, protocol 31 no longer sends it, while
older protocols are optimized so the sender just sends a valid rdev
value 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.
Wayne Davison [Tue, 14 Apr 2009 04:07:12 +0000 (21:07 -0700)]
Use upper-case HLINK in a --debug setting to avoid a really weird bug
in the strncasecmp() of OpenSUSE 10.2 (x86_64).
Wayne Davison [Mon, 13 Apr 2009 14:37:49 +0000 (07:37 -0700)]
Switch to upper-case in the {debug,info}_verbosity arrays.
Wayne Davison [Sun, 12 Apr 2009 22:18:33 +0000 (15:18 -0700)]
Changed the commands used to "make gen" without any stoppage.
Wayne Davison [Sun, 12 Apr 2009 19:57:31 +0000 (12:57 -0700)]
Don't allow --remove-s*-files with --read-batch.
Wayne Davison [Sun, 12 Apr 2009 19:51:20 +0000 (12:51 -0700)]
Fixed the use of --xattrs with --only-write-batch.
Wayne Davison [Sun, 12 Apr 2009 00:31:13 +0000 (17:31 -0700)]
The suffix must be non-empty if the backup-dir is the same as the dest
dir.
Wayne Davison [Sat, 11 Apr 2009 18:31:31 +0000 (11:31 -0700)]
More backup improvements:
- Changed get_backup_name() to verify the backup path, and make any
missing directories. This avoids accidental use of a symlink as a dir
in a backup path, and gets rid of any other non-dirs that are in the
way. It also avoids the need for various operations to retry after
calling make_bak_dir(), simplifying several pices of code.
- Changed create_directory_path() to make_path(), giving it flags that
lets the caller decide if it should skip a leading slash or drop the
trailing filename.
- Mention when we create the backup directory, so the user is not caught
unaware when rsync uses a directory they didn't expect.
- Got rid of some dir-moving backup code that is not used.
- Added a little more backup-debug output.
Wayne Davison [Sat, 11 Apr 2009 13:32:25 +0000 (06:32 -0700)]
Fix "just in case" unlink. Prefer renaming of normal files
if hard-linking fails.
Wayne Davison [Sat, 11 Apr 2009 06:16:41 +0000 (23:16 -0700)]
Improved link_or_rename() to handle prefer_rename better.
Wayne Davison [Sat, 11 Apr 2009 06:14:06 +0000 (23:14 -0700)]
Don't try to backup a file being removed from the backup area.
Wayne Davison [Fri, 10 Apr 2009 23:24:12 +0000 (16:24 -0700)]
Allow a "make reconfigure" to continue, even if the Makefile changes.
Wayne Davison [Fri, 10 Apr 2009 23:22:44 +0000 (16:22 -0700)]
Fixed an ACL/xattr corruption issue where the --backup option could cause
rsync to associate the wrong ACL/xattr information with received files.
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.
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.
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.
Wayne Davison [Sat, 4 Apr 2009 14:42:48 +0000 (07:42 -0700)]
Make sure that config.h.in is up-to-date before allowing the
Makefile-updating rule to run ./config.status.
Wayne Davison [Sat, 4 Apr 2009 14:24:38 +0000 (07:24 -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.
Wayne Davison [Wed, 1 Apr 2009 03:15:42 +0000 (20:15 -0700)]
Fixed improper deletion of mount-point hierarchies.
Fixes bug #6240.
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.
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.
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.
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.
Wayne Davison [Fri, 13 Mar 2009 15:49:53 +0000 (08:49 -0700)]
Make missing args governed by protect filters, not hide.
Wayne Davison [Sat, 7 Mar 2009 06:42:13 +0000 (22:42 -0800)]
Made --list-only output missing args as a "*missing" line.
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).
Wayne Davison [Fri, 6 Mar 2009 15:07:43 +0000 (07:07 -0800)]
Simplify an "if" in ssh-basic.test. Fixes bug #6169;
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.
Wayne Davison [Tue, 3 Mar 2009 16:42:56 +0000 (08:42 -0800)]
Make the backup code call unsafe_symlink() correctly.
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.
Wayne Davison [Sat, 28 Feb 2009 16:02:25 +0000 (08:02 -0800)]
Made --progress use ir-chk instead of to-chk when the incremental
recursion scan is still active. Mention the output change more
prominently in the NEWS file. Updated the --progress output in
the manpage, with mention of the new "ir-chk" string's meaning.
Wayne Davison [Fri, 20 Feb 2009 07:09:20 +0000 (23:09 -0800)]
Properly indent some lines.
Wayne Davison [Fri, 20 Feb 2009 07:02:03 +0000 (23:02 -0800)]
Added a way for supplementary groups to be specified in the rsyncd.conf
file. Also made explicitly-set uid/gid values no longer ignored by a
daemon that was not run by a super-user.
Wayne Davison [Tue, 17 Feb 2009 21:22:28 +0000 (13:22 -0800)]
Adding a way for log-format numbers to become more human readable.
Wayne Davison [Mon, 16 Feb 2009 18:31:58 +0000 (10:31 -0800)]
Mention that only the first line of a password-file is used.
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.
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.
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.
Wayne Davison [Fri, 6 Feb 2009 15:27:18 +0000 (07:27 -0800)]
Made copy_section() and string_set() simpler, getting rid of a
"FIXME" comment that we don't need to fix.
Wayne Davison [Thu, 5 Feb 2009 15:31:51 +0000 (07:31 -0800)]
Combine Globals and Locals into a Vars struct that parallels Defaults,
shortening some code. Improve comments and make other minor cleanups.
Based on a patch that Matt McCutchen posted to the mailing list.
Wayne Davison [Thu, 5 Feb 2009 02:14:15 +0000 (18:14 -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().
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.
Wayne Davison [Thu, 29 Jan 2009 07:41:17 +0000 (23:41 -0800)]
We only need to send --stats to a remote receiver now.
Wayne Davison [Thu, 29 Jan 2009 07:17:46 +0000 (23:17 -0800)]
A few more improvements to the hostspec-parsing code.
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.
Wayne Davison [Mon, 19 Jan 2009 06:57:43 +0000 (22:57 -0800)]
Check the right flist_num in gen_wants_ndx().
Wayne Davison [Mon, 19 Jan 2009 06:40:58 +0000 (22:40 -0800)]
Added a "Defaults" structure with both globals and locals in it.
Initialize both the Globals and Locals back to their default values
when reading the config. This fixes a bug where locals set in the
global section were not getting reset to their default value if the
config item was removed from the file.
Wayne Davison [Mon, 19 Jan 2009 06:40:17 +0000 (22:40 -0800)]
A couple minor function-call tweaks.
Wayne Davison [Mon, 19 Jan 2009 06:39:57 +0000 (22:39 -0800)]
Renamed some typedefs:
- global -> global_vars
- section -> local_vars
- global_and_section -> all_vars
Wayne Davison [Mon, 19 Jan 2009 06:39:20 +0000 (22:39 -0800)]
Renamed sDefault to Locals.
Wayne Davison [Wed, 14 Jan 2009 18:18:47 +0000 (10:18 -0800)]
Use a varint when sending the error_code.
Wayne Davison [Sat, 17 Jan 2009 22:46:42 +0000 (14:46 -0800)]
Fixed the delete statistics with --delete-delay and --delete-after.
Wayne Davison [Sat, 17 Jan 2009 21:54:52 +0000 (13:54 -0800)]
Fixed a hang in the inc_recurse batch-reading code.
Wayne Davison [Thu, 15 Jan 2009 08:14:51 +0000 (00:14 -0800)]
Change some args from "char *" to "const char *" in order to get rid of
a compiler warning that was just introduced. Also avoids changing the
host string to lower-case in access.c (by using iwildmatch()).
Matt McCutchen [Thu, 15 Jan 2009 08:07:05 +0000 (00:07 -0800)]
Added the "reverse lookup" daemon-config parameter.
Wayne Davison [Wed, 14 Jan 2009 15:38:37 +0000 (07:38 -0800)]
Send the --stats option for proper del-stats operation.
Wayne Davison [Tue, 13 Jan 2009 22:40:35 +0000 (14:40 -0800)]
Use "use warnings" rather than -w on the #! line.
Wayne Davison [Tue, 13 Jan 2009 21:53:01 +0000 (13:53 -0800)]
Adding recent release info from the 3.0.x branch.
Matt McCutchen [Tue, 13 Jan 2009 19:15:08 +0000 (11:15 -0800)]
Fixed recv_add_uid() to properly differentiate users and groups.
Matt McCutchen [Tue, 13 Jan 2009 17:42:54 +0000 (09:42 -0800)]
Handle simultaneous arrival of multiple connections.
Wayne Davison [Fri, 9 Jan 2009 01:01:38 +0000 (17:01 -0800)]
Tweaked the --delete-* option summaries.
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)
Wayne Davison [Thu, 8 Jan 2009 00:38:06 +0000 (16:38 -0800)]
Tweaked s### and m## to avoid vim highlighting issues.
Wayne Davison [Sun, 4 Jan 2009 04:50:54 +0000 (20:50 -0800)]
Fixed bug #6011: use of target in configure.
Wayne Davison [Sat, 3 Jan 2009 20:00:02 +0000 (12:00 -0800)]
Improved the backup code:
- Backups do not interfere with an atomic update (when possible).
- Backing up a file will remove a directory that is in the way
and visa versa.
- Unify the backup-dir and non-backup-dir code in backup.c.
- Improved the backup tests a little bit.
Wayne Davison [Sat, 3 Jan 2009 18:57:14 +0000 (10:57 -0800)]
Update the copyright year.
Wayne Davison [Sat, 3 Jan 2009 18:52:50 +0000 (10:52 -0800)]
Make delete_item() public, moving it into delete.c.
Wayne Davison [Sat, 3 Jan 2009 16:53:59 +0000 (08:53 -0800)]
Added init_stat_x() to avoid duplication of acl/xattr init code.
Wayne Davison [Sat, 27 Dec 2008 19:07:57 +0000 (11:07 -0800)]
Allow opendir() in send_directory() to fail with ENOENT.
Wayne Davison [Sun, 16 Nov 2008 02:30:47 +0000 (18:30 -0800)]
Mention the mapfrom/mapto scripts and how they work.
Wayne Davison [Sun, 16 Nov 2008 02:08:55 +0000 (18:08 -0800)]
Adding the --usermap/--groupmap/--chown options.
Wayne Davison [Sat, 15 Nov 2008 23:31:38 +0000 (15:31 -0800)]
Make it clearer which configure files changed.
Wayne Davison [Sat, 15 Nov 2008 22:49:28 +0000 (14:49 -0800)]
An ftruncate() failure should result in FERROR_XFER.
Wayne Davison [Sat, 15 Nov 2008 22:17:49 +0000 (14:17 -0800)]
Change clean_fname() to keep "//" at the start for cygwin.
Wayne Davison [Wed, 12 Nov 2008 02:06:11 +0000 (18:06 -0800)]
Change some size_t vars to ints.
Wayne Davison [Wed, 12 Nov 2008 02:05:27 +0000 (18:05 -0800)]
Make sparse_seek an OFF_T (pointed out by Pedro Valasco).
Wayne Davison [Tue, 11 Nov 2008 23:51:03 +0000 (15:51 -0800)]
A "make reconfigure" doesn't stop if configure changes.
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().
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.
Wayne Davison [Mon, 10 Nov 2008 02:46:55 +0000 (18:46 -0800)]
Fixed a bunch of "warn_unused_result" compiler warnings.
Wayne Davison [Mon, 10 Nov 2008 01:59:11 +0000 (17:59 -0800)]
Avoid a potential hang when --remove-*-files is active.
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
Wayne Davison [Sat, 25 Oct 2008 16:43:50 +0000 (09:43 -0700)]
Mention rsync's definition of client and server.
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.
Wayne Davison [Wed, 15 Oct 2008 14:49:14 +0000 (07:49 -0700)]
Adding hashtable debugging output (--debug=hash).
Wayne Davison [Sat, 11 Oct 2008 18:11:10 +0000 (11:11 -0700)]
Fixed a glitch when using -s with 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.
Wayne Davison [Sat, 11 Oct 2008 17:27:16 +0000 (10:27 -0700)]
Fixed send_protected_args() to send "." in place of an empty arg.
Wayne Davison [Sat, 11 Oct 2008 16:30:26 +0000 (09:30 -0700)]
Added a fully atomic update if the user has setup a symlink
to a *-1 or *-2 directory. A few other minor improvements.
Wayne Davison [Tue, 30 Sep 2008 04:54:49 +0000 (21:54 -0700)]
Fix the error message on one of the rename operations.
Wayne Davison [Sat, 27 Sep 2008 04:55:44 +0000 (21:55 -0700)]
Enhanced the --stats output:
- Mention how many files were created (protocol >= 29).
- Mention how many files were deleted (new in protocol 31).
- Follow the file-count, created-count, and deleted-count
with a break-out list of each count by type.
Wayne Davison [Sat, 27 Sep 2008 03:45:49 +0000 (20:45 -0700)]
Properly ignore source args on a --read-batch command.
Wayne Davison [Sat, 27 Sep 2008 03:21:27 +0000 (20:21 -0700)]
More batch-mode fixes to handle redos properly (and without hanging).
Wayne Davison [Sat, 27 Sep 2008 02:45:08 +0000 (19:45 -0700)]
Moved the flist_ndx_{push,pop}() routines from io.c into util.c.
Wayne Davison [Wed, 24 Sep 2008 03:15:19 +0000 (20:15 -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.