Wayne Davison
f328e0f3a8
Set a maximum distance-measure that find_fuzzy() will accept.
2005-03-17 08:59:48 +00:00
Wayne Davison
6012eaa183
Fixed a problem with the stripping of the .bak/.old/.orig suffixes
...
in find_filename_suffix().
2005-03-17 08:45:36 +00:00
Wayne Davison
da2a6c1f1c
Fixed the -r kluge sent for pre-2.6.4 --list-only support.
2005-03-17 00:52:33 +00:00
Wayne Davison
0438f100ae
We need to run our post-processing activities after the end of
...
the receiver's delay-update processing.
2005-03-17 00:41:18 +00:00
Wayne Davison
b95ad9ac55
Mention one other recent change.
2005-03-16 02:50:00 +00:00
Wayne Davison
828a256123
Preparing for release of 2.6.4pre3
v2.6.4pre3
2005-03-16 01:12:44 +00:00
Wayne Davison
ebf447ac81
Changed error message for incompatible 2.6.4 pre-release versions.
2005-03-16 01:06:33 +00:00
Wayne Davison
124f349ea1
Document error messages 6 and 25.
2005-03-15 23:23:45 +00:00
Wayne Davison
26718401fb
Added the error message for RERR_LOG_FAILURE and used it when
...
the daemon can't open the log-file.
2005-03-15 23:23:41 +00:00
Wayne Davison
f463e20753
Added RERR_LOG_FAILURE define.
2005-03-15 23:23:39 +00:00
Wayne Davison
1129070514
- Made read_item_attrs() detect and reject a pre1/pre2 rsync (used
...
by both the sender and the receiver).
- Added an extra phase to the end of the transfer to better handle
delayed updates that have hard links.
2005-03-15 19:19:44 +00:00
Wayne Davison
ac3f7b81f8
Added an extra phase to the end of the transfer to handle
...
delayed updates that have hard links.
2005-03-15 19:19:41 +00:00
Wayne Davison
62f9573fb3
- Added an extra phase to the end of the transfer to better handle
...
delayed updates that have hard links.
- Send the new ITEM_DUMMY_BIT to the sender so that we can figure
out if the other side is pre1 or pre2 and let the receiver reject
it.
2005-03-15 19:19:38 +00:00
Wayne Davison
6d0e5d2e62
Added ITEM_DUMMY_BIT and moved a few other 'ITEM_*'s around.
2005-03-15 19:19:36 +00:00
Wayne Davison
8b48bf1154
Tweaked the end-of-phase code.
2005-03-15 17:30:56 +00:00
Wayne Davison
42be53201f
Handle --delay-updates at the end of the first phase.
2005-03-15 17:30:52 +00:00
Wayne Davison
c7791b8cb2
Mention the index number for an "invalid packet at end of run".
2005-03-15 17:30:50 +00:00
Wayne Davison
7e9059d60f
Fixed a just-introduced crash bug in the --fuzzy processing.
2005-03-14 22:22:42 +00:00
Wayne Davison
f3ebe1a77e
A simple test to ensure that fuzzy processing is working.
2005-03-14 22:17:25 +00:00
Wayne Davison
301fb56ce9
Split the conditional-directory sending out of send_file_name() into
...
a new function: send_if_directory(). This lets the code that is
recursively descending through the directories make its list of a
dir's contents and close the DIR handle before recursing into the
subdirs. Also, the "recurse" var is just true/false once again.
2005-03-14 17:30:15 +00:00
Wayne Davison
aa7a6e878b
The "recurse" value is back to being just 1 or 0 (true or false).
2005-03-14 17:30:13 +00:00
Wayne Davison
0a39837a62
Got rid of "fudged_recurse".
2005-03-14 17:30:10 +00:00
Wayne Davison
b2e8a9b293
Got rid of an unused extern.
2005-03-14 17:06:08 +00:00
Wayne Davison
a98ad81760
Got rid of some code in f_name_cmp() that tried to make all the
...
dirname pointers to equivalent strings have identical pointers.
2005-03-14 03:36:56 +00:00
Wayne Davison
ccc51c8331
The --fuzzy code now handles a file->dirname that has an identical
...
string as another file without being an identical pointer.
2005-03-14 03:35:40 +00:00
Wayne Davison
ee171c6da9
Document the latest %i output.
2005-03-13 05:36:13 +00:00
Wayne Davison
d5609e969d
Output a '*' at the start of the %i string when deleting.
2005-03-13 05:35:49 +00:00
Wayne Davison
927c806841
- Improved a couple error messages.
...
- Improved a function name.
2005-03-13 05:34:00 +00:00
Wayne Davison
2da9dda1c0
Some misc. improvements (I hope).
2005-03-12 23:54:05 +00:00
Wayne Davison
3117bc16a5
Improved two sentences.
2005-03-12 23:52:18 +00:00
Wayne Davison
717b04306a
Tweaked the name of a variable.
2005-03-12 23:52:08 +00:00
Wayne Davison
271220c542
Mention --copy-dest.
2005-03-11 19:23:09 +00:00
Wayne Davison
566a874141
Re-enabled the --copy-dest part of the test.
2005-03-11 17:36:05 +00:00
Wayne Davison
967866d4df
Added --copy-dest logic, and improved the updating of --compare-dest
...
and --link-dest files that are up-to-date but have differing attributes.
2005-03-11 17:36:03 +00:00
Wayne Davison
1de3e99bc5
Added --copy-dest logic.
2005-03-11 17:35:59 +00:00
Wayne Davison
3e13004b6b
Tweaked the comment on copy_file().
2005-03-11 17:35:57 +00:00
Wayne Davison
2f03ce67d6
Document --copy-dest.
2005-03-11 17:35:54 +00:00
Wayne Davison
b9232d45eb
- Fixed the reading of the fuzzy xname from the socket.
...
- Call read_item_attrs() with its new arg.
2005-03-10 00:06:01 +00:00
Wayne Davison
6087ef2a84
- Changed read_item_attrs() to return the length of the xname string.
...
- Tweaked the order of the args to write_item_attrs().
2005-03-10 00:05:58 +00:00
Wayne Davison
1f1d368ad5
- Improved the error-checking for some delete_item() calls.
...
- Move the non-regular-file delete-check above the alt-basis check
where it belongs.
- Keep track of the real statret and real stat-struct for certain
alt-basis scenarios (e.g. partial-dir and fuzzy) so that we send
the right itemized change flags.
2005-03-09 23:46:28 +00:00
Wayne Davison
dd18526e5b
Mention the latest protocol-29 changes.
2005-03-09 18:55:09 +00:00
Wayne Davison
4d53c4dd46
We now handle the reading and writing of extra basis-file info: the
...
fnamecmp_type byte, and the extra name (currently used for fuzzy
processing and hard-link status).
2005-03-09 18:54:19 +00:00
Wayne Davison
9e4a8d29b5
Got rid of the name-pipe, so we now read the fnamecmp_type data over
...
the socket for protocol >= 29, or handle it like the old days for
older protocol versions. This means that we now validate this extra
data for safety (such as the fuzzy filename).
2005-03-09 18:54:16 +00:00
Wayne Davison
ef20efcbb6
Made itemize() output the fnamecmp_type and the fuzzy name based on
...
the new ITEM_BASIS_TYPE_FOLLOWS and ITEM_XNAME_FOLLOWS flags. Got
rid of the name-pipe to the receiver.
2005-03-09 18:54:12 +00:00
Wayne Davison
c70e07d9ac
Got rid of the name-pipe from the generator to the receiver.
2005-03-09 18:54:09 +00:00
Wayne Davison
b7d4d28bb3
When itemizing, we now set ITEM_LOCAL_CHANGE and ITEM_XNAME_FOLLOWS.
2005-03-09 18:54:06 +00:00
Wayne Davison
9a6ed83f2c
- Made an overflow in read_vstring() return an error instead of dying.
...
- Got rid of a flush kluge that was needed for the name-pipe.
2005-03-09 18:54:02 +00:00
Wayne Davison
fd84673e54
Handle the new way that 'c' and 'h' get output by "%i".
2005-03-09 18:53:58 +00:00
Wayne Davison
57b12568e6
Complain if a feature that requires protocol 29 doesn't get it.
2005-03-09 18:53:55 +00:00
Wayne Davison
f9a9f54720
Made the dest_option string non-static.
2005-03-09 18:53:53 +00:00