Wayne Davison
0758b2db30
Document the change to how --releative works.
2007-09-22 22:57:50 +00:00
Wayne Davison
74db1f1498
Always send implied dirs as dirs.
2007-09-22 22:37:52 +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
33a04593ee
We now forward the --no-implied-dirs option to the receiving side,
...
just in case we end up talking protocol 30 in inc_recurse mode.
2007-09-22 21:43:19 +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
3932c42373
Using relative with incremental recursion now results in a normal
...
sequence of directories in the hierarchy, and works properly when
merging things from multiple sources.
2007-09-22 21:43:11 +00:00
Wayne Davison
bc5df0f4e6
Fixed name of PTR_EXTRA_CNT (was PTR_EXTRA_LEN).
2007-09-22 21:43:08 +00:00
Wayne Davison
4b163f00c2
- Incremented the SUBPROTOCOL_VERSION to 9.
...
- Fixed name of PTR_EXTRA_CNT (was PTR_EXTRA_LEN).
- Added F_DIR_RELS_P() to support --relative in inc_recurse mode.
2007-09-22 21:43:05 +00:00
Wayne Davison
f07992739a
Added ifuncs.h.
2007-09-22 18:07:44 +00:00
Wayne Davison
c605c2cdbd
Tweaked opening comments.
2007-09-22 18:07:17 +00:00
Wayne Davison
1b42f628f4
Moved inline functions from rsync.h into ifuncs.h.
2007-09-22 16:52:58 +00:00
Wayne Davison
5dafe360de
Moving inline functions into its own .h file.
2007-09-22 16:46:49 +00:00
Wayne Davison
6619d5fcc1
Added some stub functions for compilers not smart enough to get rid
...
of static inline functions that are not called.
2007-09-22 14:18:32 +00:00
Wayne Davison
b960483e99
Avoid affecting the proto.h file.
2007-09-22 14:16:48 +00:00
Wayne Davison
dd4a039515
Added some stub functions for compilers not smart enough to get rid
...
of static inline functions that are not called.
2007-09-18 19:53:50 +00:00
Wayne Davison
229554084d
Added missing "#ifdef ICONV_OPTION" conditionals.
2007-09-18 18:46:03 +00:00
Wayne Davison
4a1edb63dd
If iconv_t isn't needed, define it as an "int" so that our
...
proto.h file can be parsed.
2007-09-18 18:45:59 +00:00
Wayne Davison
3170b20967
Mention that a negative max-connections value disables the module.
2007-09-18 14:18:45 +00:00
Wayne Davison
d34cd639fc
If max-connections is < 0, disable the module.
2007-09-18 14:14:22 +00:00
Wayne Davison
236df01b15
One final tweak.
2007-09-18 14:11:25 +00:00
Wayne Davison
21cafc50cc
Some minor improvements in claim_connection().
2007-09-18 14:09:38 +00:00
Wayne Davison
de80679b67
Switching to --no-i-r from --no-ir.
2007-09-18 14:04:46 +00:00
Wayne Davison
27999abab4
Document the changed name of --no-i-r.
2007-09-18 14:03:41 +00:00
Wayne Davison
82f37486a1
Mention the --protect-args (-s) option and how it interacts with
...
--iconv and --files-from.
2007-09-18 01:29:36 +00:00
Wayne Davison
7820fa949f
Relocated the setting of ic_ndx.
2007-09-18 01:14:33 +00:00
Wayne Davison
2ac9793064
- Added new iconvbufs() conversion function that is now used for
...
our --iconv support.
- Moved the setup of the ic_ndx value to compat.c.
2007-09-18 01:11:57 +00:00
Wayne Davison
a4453606cc
- Improved -s support.
...
- Handle setup_iconv() call in parse_arguments() so it gets set early.
2007-09-18 01:11:54 +00:00
Wayne Davison
71605b0f4d
- Make use of new iconvbufs() function.
...
- Convert protected args when -s and --iconv are active.
- Simplified the splitting of args between normal and protected.
- Relocated setup_iconv() call so that it takes effect earlier.
2007-09-18 01:11:49 +00:00
Wayne Davison
ba525f770c
- Make use of new iconvbufs() function.
...
- Convert remote --files-from filenames when -s and --iconv are
active.
2007-09-18 01:11:45 +00:00
Wayne Davison
2509753fd3
Make use of new iconvbufs() function.
2007-09-18 01:11:42 +00:00
Wayne Davison
5688c74d25
- Setup the ic_ndx value here with the other FOO_ndx values.
...
- Don't disable inc_recurse due to --no-implied-dirs.
- Set filesfrom_convert bool.
2007-09-18 01:11:35 +00:00
Wayne Davison
2ac081ff60
- Added an xbuf type for use in the --iconv and --files-from code.
...
- Incremented the SUBPROTOCOL_VERSION.
2007-09-18 01:11:32 +00:00
Wayne Davison
5d3e5f641d
Improved -s and support cvs's -e30.8 version idiom.
2007-09-17 06:02:09 +00:00
Wayne Davison
a0f29ed824
Make sure that the hashed hard-link numbers from different file
...
lists can't overlap in inc_recurse mode.
2007-09-17 01:45:44 +00:00
Wayne Davison
0b515981fc
Changed print_child_argv() to take its prefix message as an arg.
2007-09-16 21:41:42 +00:00
Wayne Davison
2e8259bb0b
Disable -s by default.
2007-09-16 02:42:55 +00:00
Wayne Davison
d274524317
Adding knowledge of some new options.
2007-09-15 21:10:35 +00:00
Wayne Davison
71845bd2a0
That should have been -s.
2007-09-15 21:10:18 +00:00
Wayne Davison
bdd53557a8
Force knowledge the -p option, since it gets passed specially.
2007-09-15 21:08:08 +00:00
Wayne Davison
d6ca255c21
- Fixed a bug in the passing of the --max-delete option.
...
- Added --no-i-d as a shorter no-implied-dirs.
- Changing to --no-i-r instead of --no-ir.
2007-09-15 20:54:31 +00:00
Wayne Davison
2dc7b91dd2
Handle inheritance of SGID bit on dirs marked with FLAG_DIR_CREATED.
2007-09-15 19:58:15 +00:00
Wayne Davison
288b12eefe
We set FLAG_DIR_CREATED on a dot dir that got created by
...
get_local_name() rather than using the (now removed)
new_root_dir global.
2007-09-15 19:58:12 +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
48a481c4d0
Changed FLAG_DIR_CHANGED to FLAG_DIR_CREATED.
2007-09-15 18:43:36 +00:00
Wayne Davison
8db8eacbdd
- If two duplicate directories have identical outside-the-transfer
...
paths, we only scan one of them in inc_recurse mode.
- When unduplicating directories in inc_recurse mode, dump the
ealier directory if it is implied.
2007-09-15 17:29:25 +00:00
Wayne Davison
e8e9e12c3a
Reverting last change for a re-think.
2007-09-15 17:00:41 +00:00
Wayne Davison
6e6daf5ac6
Fixed a problem with duplicate dirs being unduplicated in the list:
...
in inc_recurse mode, we must keep the last dir of the duplicates.
2007-09-15 16:32:38 +00:00
Wayne Davison
e73eed8563
Added more local-network IPs to the "hosts allow" rsyncd config
...
so that the FreeBSD machine in the compile farm can test.
2007-09-15 15:50:59 +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
f2179fd370
The server should not wait around for an extra end-of-run message.
2007-09-15 15:36:04 +00:00