Wayne Davison
e1ac7791fe
Changed make_bak_dir() to take a const char *.
2007-09-23 21:03:38 +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
f203266889
Made make_bak_dir() global.
2007-09-23 19:45:19 +00:00
Wayne Davison
21914d8135
Made clean_flist() only duplicate *_DIR_* flags on a dropped dir
...
when the kept entry is also a dir.
2007-09-23 19:45:00 +00:00
Wayne Davison
200aec7db4
Avoid a checker warning about unfreed memory.
2007-09-23 19:10:10 +00:00
Wayne Davison
a15c4b38b5
Fix a glitch in the handling of the last path element in a -R path
...
with a trailing slash.
2007-09-23 16:02:33 +00:00
Wayne Davison
40e383765a
- Don't allow -x to drop implied directories.
...
- Improved the code that tries to avoid scanning the same dir
twice in a row to not drop any relnamecache entries.
2007-09-23 15:46:11 +00:00
Wayne Davison
5441088298
Added the relnamecache structure and improved some variable names.
2007-09-23 14:35:12 +00:00
Wayne Davison
d0a6cdb62e
Make sure that the dirs we are merging have the same timestamps.
2007-09-23 02:18:57 +00:00
Wayne Davison
19531e1f74
Got rid of some unneeded externs.
2007-09-23 02:03:20 +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
6191429b50
Added a missing "void" to the arg-spec of setup_iconv().
2007-09-23 01:18:03 +00:00
Wayne Davison
89b76bac1f
Added a test to make sure that merging relative items continues to
...
work right.
2007-09-23 00:30:40 +00:00
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