Wayne Davison [Fri, 30 Dec 2005 07:12:48 +0000 (07:12 +0000)]
- Added a new public function, iwildmatch(), which will treat all
upper-case letters in the "text" as lower-case.
- Renamed variable "ch" -> "p_ch" and "prev" -> "prev_ch".
- Added variable "t_ch" to hold the current *text value.
- Return ABORT_ALL if we reach the end of the text string with
more pattern to match.
Wayne Davison [Sun, 18 Dec 2005 19:40:50 +0000 (19:40 +0000)]
Added a comment, improved a comment, tweaked the recursive function's
name, tweaked the arg names to wildmatch(), and tweaked the style of
the "else" statements when they follow a brace.
Wayne Davison [Fri, 16 Dec 2005 17:18:29 +0000 (17:18 +0000)]
If the user specifies --backup with --delete (but without --backup-dir
and --delete-excluded), append a protect-filter rule onto the list of
filter rules. We run this on both the client and server side so that
an older client talking to a newer server still gets the protection
rule. (This rule will not cause compatibility problems with older
versions of rsync due to the graceful way that a protect rule turns
into an exclude rule if it needs to be sent to an older server.)
Wayne Davison [Fri, 16 Dec 2005 16:57:26 +0000 (16:57 +0000)]
- Added a comment about configure figuring out the default user
and group to use in daemon mode.
- Belatedly updated the version of popt that comes with rsync.
- Updated the Mac OS X info.
Wayne Davison [Thu, 15 Dec 2005 23:00:02 +0000 (23:00 +0000)]
When compare-dest/link-dest/copy-dest are in effect, we now check
if the file we're about to hard-link to the leader is present in
one of the dest dirs -- if it is, we adjust the text we output
accordingly.
Wayne Davison [Thu, 15 Dec 2005 22:59:56 +0000 (22:59 +0000)]
Improved the compare-dest/link-dest/copy-dest code to make it more
readable, to make it output properly in double-verbose mode, and
to allow the hard-linking of symlinks and devices (if supported by
the OS).
Wayne Davison [Tue, 15 Nov 2005 06:35:27 +0000 (06:35 +0000)]
Changed -h to be an alias for --human-readable (getting rid of -m).
Also added backward-compatibility code so that "rsync -h" shows the
help page on stdout like it would in older versions.
Wayne Davison [Sat, 12 Nov 2005 19:53:26 +0000 (19:53 +0000)]
Output the stats and the end-of-run verbose output using the new
human_num() and human_dnum() functions, which both honor the
new --human-readable option.
Wayne Davison [Thu, 10 Nov 2005 06:01:55 +0000 (06:01 +0000)]
In make_file(), only compute the checksum when we're the sender.
This stops computing useless checksums during the delete scan
when --checksum (-c) was specified.
Wayne Davison [Thu, 3 Nov 2005 19:38:14 +0000 (19:38 +0000)]
Improved the output of the transferred-file count and the position
in the flist (which was changed to a countdown of files to check)
so that it's clearer what the numbers mean.
Wayne Davison [Tue, 1 Nov 2005 20:09:41 +0000 (20:09 +0000)]
Decreased the amount of stack needed for each level of directory
recursion by eliminating the need for a MAXPATHLEN buffer in
send_if_directory(). Also improved a few variable names in
send_file_list().
Wayne Davison [Wed, 26 Oct 2005 15:53:04 +0000 (15:53 +0000)]
- Changed the "status" variables into "exit_code" variables.
- Added an error message to wait_process_with_flush() that
reports the errno we get when waitpid() fails.
- Increased the value of MAXCHILDPROCS.
Wayne Davison [Mon, 24 Oct 2005 21:03:47 +0000 (21:03 +0000)]
Changed wait_process() into a simpler, yet more versatile function,
and used it in the new wait_process_with_flush() function (the old
function's new name). Made wait_process() public.
Wayne Davison [Sat, 15 Oct 2005 19:08:31 +0000 (19:08 +0000)]
If we're sanitizing paths with --relative enabled, we need to
preserve the first /./ dir so that we can use its position to
trim the implied directories.