Wayne Davison
4d745d3cf5
The delete-during code needs to skip directories that don't exist
...
yet in --dry-run mode to avoid outputting bogus delete details.
2007-07-14 04:20:13 +00:00
Wayne Davison
8798be8e63
Mention license change.
2007-07-14 04:06:33 +00:00
Wayne Davison
42b06481c3
Made some descriptions concerning modification times clearer.
2007-07-12 14:43:26 +00:00
Wayne Davison
dbe287b701
Needed to use ndx_end in decrement_flist_in_progress().
2007-07-12 14:04:11 +00:00
Wayne Davison
8e3b627d07
Mention how --ignore-existing can be useful for restarting a copy
...
that uses --link-dest.
2007-07-10 14:49:35 +00:00
Wayne Davison
809724d7e2
- Use "filename", not "file name".
...
- Say "regular file" instead of "file" when itemizing a list of
non-directory types.
- Try to avoid "file" in its generic sense, as it is hard to figure
out when it includes dirs and when it doesn't.
2007-07-10 14:21:59 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
dc77edf218
Martin gave his approval to use GPLv3 with this code.
2007-07-09 01:24:01 +00:00
Wayne Davison
65ba6af61b
- Do directory touch-ups at the end, even in inc-recurse mode.
...
- Use the latest F_DIR_*() defines (whose names were tweaked).
2007-07-08 20:53:42 +00:00
Wayne Davison
83d5e90054
- Use the new DEV_EXTRA_CNT and DIRNODE_EXTRA_CNT defines.
...
- Use the latest F_DIR_*() defines (whose names were tweaked).
2007-07-08 20:53:38 +00:00
Wayne Davison
e434f0ebfe
Use the latest F_DIR_*() defines (whose names were tweaked).
2007-07-08 20:53:35 +00:00
Wayne Davison
a08979d564
- Define DEV_EXTRA_CNT and DIRNODE_EXTRA_CNT.
...
- Define and use ACL_BUMP(), fixing a clash between -A and -x in a
directory's data.
- Tweaked the F_DIR_*() defines to have more consistent names.
- Don't make F_SUM() return a char pointer that is const.
2007-07-08 20:53:31 +00:00
Wayne Davison
252af65bb4
Changed the spots that referred to the filter_level as filter_flags
...
to make the naming consistent.
2007-07-08 06:30:28 +00:00
Wayne Davison
d048c2f225
Added a test for --prune-empty-dirs.
2007-07-08 06:25:57 +00:00
Wayne Davison
9b9d5f89b3
Got rid of the output differences for protocol 30 since it is now
...
the same as earlier protocols.
2007-07-08 06:25:54 +00:00
Wayne Davison
e5bf3b5855
- Incremental recursion mode does not process the dirs while scanning a
...
file list's contents. Instead, it handles a parent dir prior to each
extra file list. This makes the dir-processing order the same in
protocol 30 as it is in earlier protocols.
- Moved the permission-fudging code for dirs into recv_generator() to
make the new protocol-30 dir-handling logic easier.
2007-07-08 06:25:51 +00:00
Wayne Davison
6755a7d742
If we get an ndx that is 1 entry prior to an incremental flist's
...
start, it refers to the file list's parent dir.
2007-07-08 06:25:47 +00:00
Wayne Davison
5459e693a3
- The sending side now sets the parent_ndx value in each file list.
...
- Leave a 1-entry gap between incremental file lists so that we can use
that index value to refer to the parent directory of each file list.
- Set and use the new ndx_end value in the file list. The incremental
recursion mode omits dirs in this value (except in the first list)
since the generator will be using the new "gap" ndx value to process
each parent dir.
2007-07-08 06:25:42 +00:00
Wayne Davison
24108eb854
- Increased the SUBPROTOCOL_VERSION to 4 due to the new dir-ndx logic.
...
- Added ndx_end value to struct file_list.
2007-07-08 06:25:36 +00:00
Wayne Davison
4635fb9995
Avoid the prune-empty-dir code when cleaning a file list created
...
by get_dirlist().
2007-07-07 20:43:14 +00:00
Wayne Davison
9decb4d2ef
Changed "count" to "used" in struct file_list since there can
...
be empty items that make the count inaccurate (and the name
somewhat deceiving).
2007-07-07 20:22:05 +00:00
Wayne Davison
b3b326016a
The length check in make_file() doesn't need to subtract pathname_len
...
anymore, as the sender code never concatenates the F_PATHNAME() value
with the dirname+basename string these days.
2007-07-07 16:01:59 +00:00
Wayne Davison
4bde45f60e
Make the comment even better.
2007-07-07 15:37:56 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
f92f5b166e
Tweaked a comment to remove a (really old) rsync version reference.
2007-07-07 05:25:50 +00:00
Wayne Davison
9b25ef35bd
Switch the checking of preserve_[ug]id var to checking [ug]id_ndx var
...
when the code is about to use the [ug]id_ndx value as an index (since
this saves a memory reference).
2007-07-02 22:11:23 +00:00
Wayne Davison
7c73536c25
Use module_dir instead of lp_path().
2007-07-02 22:06:48 +00:00
Wayne Davison
33cbd577ad
If a module's path is not absolute, make it absolute.
2007-07-02 22:02:14 +00:00
Wayne Davison
524eaa8245
We omit copying any user-space rsync.%FOO attributes unless the
...
user specified -X twice.
2007-07-02 21:35:14 +00:00
Wayne Davison
9742b386b3
Make option variables a little clearer by using separate FOO_ndx
...
values to index into the file-list extra-attribute array instead
of abusing the preserve_FOO variables.
2007-07-02 21:29:49 +00:00
Wayne Davison
8b498b9f1a
Decided against the last change.
2007-06-06 15:43:34 +00:00
Wayne Davison
c04af69701
Allow a NULL address to be passed to pool_free_old() to indicate that
...
it should free all old mem and reset to an empty state.
2007-06-06 15:38:31 +00:00
Wayne Davison
f87fb190b3
Check for the setacl command for Tru64 (which doesn't have setfacl).
2007-06-02 16:44:23 +00:00
Wayne Davison
a21e72c3e6
Attempting to make the mask test compatible with Solaris 8.
2007-06-02 16:30:04 +00:00
Wayne Davison
1c4ffe64db
Mention the pool_alloc changes.
2007-05-29 04:23:50 +00:00
Wayne Davison
abdcb21a7a
Unified the file-list pool used in incremental recursion mode so that
...
we use less memory, especially in small transfers. As file lists are
discarded, we use the new pool_boundary() and pool_free_old() functions
to discard pool extents that are no longer needed.
2007-05-29 04:19:47 +00:00
Wayne Davison
f5ba7bfbb6
- Changed FILE_EXTENT to NORMAL_EXTENT and HLINK_EXTENT to SMALL_EXTENT.
...
- Added a pool_boundary variable to struct file_list.
2007-05-29 04:19:44 +00:00
Wayne Davison
676e604135
Added pool_free_old() and pool_boundary() functions to add a way to
...
free all wholly affected extents older than a particular point in time.
2007-05-29 04:19:41 +00:00
Wayne Davison
3fac8ca8d1
Tweaked a variable and a label to make them less confusing.
2007-05-29 02:47:23 +00:00
Wayne Davison
33766a8daa
Improvements to increase clarity, fix misstatements, add missing
...
punctuation, and fix some typos.
2007-05-29 02:46:44 +00:00
Wayne Davison
e3d27df444
- Fixed a bug where a pool_free() on the most-recently allocated pool
...
item was trying to make that memory available to the pool, but it
failed to adjust the right variable.
- Fixed a bug in pool_free() where the return of the entire live
extent back to unallocated status did not obey POOL_CLEAR.
- Use the new() and new_array() functions instead of malloc().
- Changed the sqew variable to skew.
- Some other minor formatting tweaks.
2007-05-29 00:52:08 +00:00
Wayne Davison
6aa27a7ce5
- Do less seeking when writing a sparse file.
...
- Don't rewrite the last byte of a file in sparse mode when the
file didn't end with a null char.
2007-05-26 21:46:22 +00:00
Wayne Davison
47cffb77de
Handle EINTR in a couple places where we handle the --file-from I/O.
2007-05-26 21:44:19 +00:00
Wayne Davison
565a340b0a
Changed verbosity back from -vvvv to -vv.
2007-05-25 14:32:08 +00:00
Wayne Davison
f45b64d8dd
Improved the sort comment.
2007-05-25 14:29:35 +00:00
Wayne Davison
56ce72c447
Improved a comment.
2007-05-25 14:23:05 +00:00
Wayne Davison
898fab2577
Got rid of superfluous acl_clear_perms() call that Antti Tapaninen
...
pointed out.
2007-05-25 14:16:57 +00:00
Wayne Davison
0e5dd89866
Mention latest improvements.
2007-05-24 23:11:33 +00:00
Wayne Davison
79028af116
Changed dup-detection code to keep the first item in the user's args.
...
This is more in keeping with the way cp works, and also makes the dir-
joining code (in inc_recurse mode) easier.
2007-05-24 23:08:39 +00:00
Wayne Davison
a572e12675
- Added fsort() and fsort_tmp() that implement a mergesort routine
...
that ensures that any identical items in the file-list stay in the
same order as they had in the input. It will also obey the --qsort
option (which causes it to punt the sort to the qsort() routine).
- Changed the various places that sort the file-list to call fsort().
2007-05-24 02:50:41 +00:00