Wayne Davison
f7a76b9c45
Some changes to allow an unsorted file list even if the iconv option
...
was disabled via configure.
2007-11-06 15:25:02 +00:00
Wayne Davison
7df593f21f
Got rid of a redundant mtime check.
2007-11-05 15:02:27 +00:00
Wayne Davison
cac80887a6
Conditional symlink-checking code in unchanged_attrs() should be
...
checking HAVE_LUTIMES.
2007-11-04 06:43:01 +00:00
Wayne Davison
45a143cd51
Have unchanged_attrs() check the mtime on items where we can
...
affect the time, even if unchanged_file() might have already
checked it.
2007-11-03 21:14:16 +00:00
Wayne Davison
d620219dc4
A better way to count our queued workload.
2007-11-03 16:30:30 +00:00
Wayne Davison
c0685c05f8
Fixed hang when --hard-links was processing a large directory
...
hierarchy with no files.
2007-11-03 15:27:14 +00:00
Wayne Davison
ee279980cc
- Handle a dot-dir-containing flist using its parent_ndx value.
2007-10-31 04:43:36 +00:00
Wayne Davison
2cce75453c
My version of Matt's cleanup patch from bug 5051. This makes
...
--copy-dest use a temp file when not in in-place mode, and has
various improvments for the code. I have also "#if 0"ed the code
in the receiver that makes missing directories to see if we can
figure out if it is needed (and if so, what for).
2007-10-29 20:43:34 +00:00
Wayne Davison
57d617192b
Don't call copy_file() for a dry-run. (Thanks, Matt!)
2007-10-28 20:03:00 +00:00
Wayne Davison
37ce167996
We can't decrement the in_progress value for a hard-linked file until
...
the generator gets a chance to finish the hard links.
2007-10-18 14:04:42 +00:00
Wayne Davison
5cefa088e2
We now report symlink mode changes if HAVE_SETATTRLIST is defined.
2007-10-16 16:00:34 +00:00
Wayne Davison
fd78520dca
If there's no lchmod(), don't itemize permission differences for
...
symlinks.
2007-10-15 00:13:59 +00:00
Wayne Davison
76edd33498
Fixed a typo in a comment.
2007-10-14 18:55:49 +00:00
Wayne Davison
609e6dda6b
- Use the new *_CONTENT_DIR flag names (was *_XFER_DIR).
...
- Check the FLAG_IMPLIED_DIR flag to find implied dirs.
- Expect flagged implied dirs for all protocol 30 transfers.
2007-10-08 18:02:11 +00:00
Wayne Davison
38943d29d3
Improved on the list-only fix and on the other similar checks that want
...
to ignore implied dirs that are actually present in the file list
when inc_recurse is active and --no-implied-dirs was specified.
2007-10-07 07:18:49 +00:00
Wayne Davison
983f647c7e
Fix list-only output of dirs w/--relative but w/o --recursive.
2007-10-07 03:29:04 +00:00
Wayne Davison
13710874ce
Changed "statx" to "stat_x" to try to work around a build problem on AIX.
2007-09-23 22:19:55 +00:00
Wayne Davison
c0dba635ba
The --inplace code now properly handles creating a backup when
...
the --whole-file and/or --read-batch options are specified.
2007-09-23 21:03:41 +00:00
Wayne Davison
5b3f6a2730
Use make_bak_dir() if we get ENOENT while trying to open an
...
inplace backup file.
2007-09-23 19:45:22 +00:00
Wayne Davison
6f0805f564
Moved list-only output from flist.c to generator.c so that it works
...
properly even in inc_recurse mode. Got rid of double output, weird
output order, and outputting of implied dirs w/--no-implied-dirs.
2007-09-23 02:00:53 +00:00
Wayne Davison
4f802c6637
Fixed a just-introduced glitch in directory creation with --no-implied-dirs.
2007-09-22 21:51:08 +00:00
Wayne Davison
6303f9a25f
The latest --relative --no-implied-dirs code in inc_recurse mode
...
sends us a normal sequence of dirs, and we just skip the implied
ones.
2007-09-22 21:43:15 +00:00
Wayne Davison
f7d6dce6c8
- Fixed an inc_recurse problem with implied dirs not getting created
...
with the right attributes and getting omitted from the output.
- Got rid of the directory touch-up pass in inc_recurse mode again.
This requires us to create any missing directories early, but we
still report on what happened in the normal course of the transfer
sequence.
- Use the FLAG_DIR_CREATED flag instead of (the removed)
new_root_dir global.
2007-09-15 19:58:09 +00:00
Wayne Davison
da1319128a
- Parse hard-link info as soon as we get it in inc_recurse mode.
...
- Improve the chances of the generator finding a match for a
hard-link file in inc_recurse mode.
2007-09-15 15:40:57 +00:00
Wayne Davison
4abe379c05
Added an "ndx" arg to all the finish_hard_link() calls.
2007-09-10 06:15:28 +00:00
Wayne Davison
d4d6646aae
Changes to allow hard-linking to work in inc_recurse mode.
2007-09-03 21:21:17 +00:00
Wayne Davison
f9998046a3
Made omit_dir_times a static variable in options.c by encoding
...
all the time-preserving semantics into preserve_times.
2007-09-01 16:57:01 +00:00
Wayne Davison
ff0c27c926
Files with the same size should also be skipped by --append.
2007-08-01 22:47:36 +00:00
Wayne Davison
c9ec460807
Make extra-verbose output of touch_up_dirs() only mention the dirs.
2007-07-14 21:58:36 +00:00
Wayne Davison
de8c8b28c0
- When --omit-implied-dirs is specified and the creation of a directory
...
fails, we must make sure that the item we're skipping has a name that
is still inside the missing hierarchy by using a prefix matching func.
- We now handle the failure to remove a file to create a dir the same
way as a failed mkdir() (skipping the failed dir's contents).
2007-07-14 21:25:51 +00:00
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
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +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
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
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
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +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
d750be6ad8
Make sure we don't try to output a NULL pointer in a verbose message.
2007-05-23 00:48:27 +00:00
Wayne Davison
0bb8616535
- Output a -vvv(erbose) message in the touch_up_dirs() loop.
...
- Made the keep-alive counter in touch_up_dirs() work better.
- Use !(N & 0xFF) instead of !(N % 200).
2007-05-23 00:42:38 +00:00
Wayne Davison
858d45f160
Cast some F_OWNER()/F_GROUP() values to make sure that we don't get
...
a signed/unsigned compiler warning on some systems.
2007-05-21 02:17:48 +00:00
Wayne Davison
4ade505c7e
- Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID().
...
- Use the new FLAG_SKIP_GROUP define.
2007-05-20 07:10:41 +00:00
Wayne Davison
1befb74b13
Refer to the right sorted/unsorted file list array in touch_up_dirs().
2007-04-26 23:15:43 +00:00
Wayne Davison
332cf6df7c
The --iconv option has now made it to the trunk.
2007-04-26 05:53:13 +00:00
Wayne Davison
16edf86595
The improved --xattrs option is landing on the trunk.
2007-04-07 17:22:25 +00:00
Wayne Davison
a0456b9c46
Protocol 30 now uses MD5 checksums instead of MD4.
2007-03-18 06:00:53 +00:00
Wayne Davison
896f046f79
Fixed more potential hang cases for incremental recursion.
2007-03-14 00:20:44 +00:00
Wayne Davison
1c3344a105
The ACL support has arrived! This version has a brand new protocol
...
that makes it incompatible with all prior versions. A patch will be
provided to allow talking with older (patched) rsync versions.
2007-03-11 00:13:34 +00:00
Wayne Davison
c4750c2a07
Make sure that a newly-created destination directory gets the same
...
rules applied to it as other newly-created directories when --perms
wasn't specified.
2007-02-17 17:00:40 +00:00
Wayne Davison
be91bd81b8
Improved the incremental sending of file lists in two ways: (1)
...
when the sender gets an index of a file to send, we make sure to
send enough future file-list data relative to the new cur_flist
value before we send the data for the file transfer (ensuring that
the generator gets the data in a more timely manner), and (2) the
generator flushes the output socket after each file-list object
has completed its scan so that the sender knows in a more timely
manner that more list data is needed.
2007-02-16 02:35:31 +00:00
Wayne Davison
ba2133d6ad
Further modifications to the copyright comment section.
2007-02-04 14:54:58 +00:00