Wayne Davison
7b4f48650c
Make a few more char pointers const.
2008-02-19 16:35:22 -08:00
Wayne Davison
a43ff267e9
Tweaked a comparison that "checker" was complaining about.
2008-02-19 11:52:00 -08:00
Wayne Davison
717d04669a
Fixed the hard-link check again, adding a comment as to
...
why it is coded the way it is.
2008-02-18 17:16:08 -08:00
Wayne Davison
15dbffc215
Fixed a compilation problem when iconv support is disabled.
2008-02-18 16:48:20 -08:00
Wayne Davison
0099e42332
Only set FLAG_TIME_FAILED if receiver_symlink_times is set.
2008-02-18 16:48:04 -08:00
Wayne Davison
1ed56a05c2
Extended the protocol-30 info-passing code at startup, and use it to
...
tell the client if the server can set the times on a symlink (both
the server->client byte and the client->server use of -e). Make use
of this info to allow the proper output of the 't' flag when rsync
can set the time on a symlink (and we're talking protocol >= 30).
Added output of "[no] symtimes" info in the --version message.
Fixed the itemize.test so that it works when rsync believes that it
can set the time of a symlink, but it can't really do it.
2008-02-18 15:57:59 -08:00
Wayne Davison
28fb6365d0
Added --no-one-file-system and --no-x options.
2008-02-18 12:42:04 -08:00
Wayne Davison
8365126b8d
Some permssion fixes:
...
- Changed itemized output to only report 'p' with -p or -E.
- Fixed a duplicate output of a link-dest file with -vv but no -i.
- Improved unchanged_attrs() to handle -E.
2008-02-18 10:20:50 -08:00
Wayne Davison
d770837ec0
Fixed a typo reported in a Debian bug report.
2008-02-18 09:59:44 -08:00
Wayne Davison
59658acfec
Mention the leading '*'-char rule for itemized output.
2008-02-18 08:25:15 -08:00
Wayne Davison
46f800e8c7
Decided to pad the "*deleting" message to make the names line up.
2008-02-17 23:46:26 -08:00
Wayne Davison
1c65a93d03
The daemon no longer logs a recv entry for a file that is not
...
actually being updated due to the --only-write-batch option.
2008-02-17 23:44:52 -08:00
Wayne Davison
cae7885e2f
Don't output a duplicate warning when the daemon-config excludes a
...
directory or when a directory is ignored via --ignore-non-existing.
Use a new var, is_dir, to simplify the dir code in recv_generator().
2008-02-17 22:34:08 -08:00
Wayne Davison
eaa28e654f
Use the name "ChangeLog" for the ftp copy of the repository history.
2008-02-16 14:45:22 -08:00
Wayne Davison
beef86d0dd
A few minor changes, including better push_dir()/pop_dir() verbosity.
2008-02-15 22:19:43 -08:00
Wayne Davison
2fe1feea75
Added a way to specify where the chroot should occur in the module's
...
path, which allows a daemon admin to have chroot protection and still
have files that are outside the transfer area (such as libraries).
2008-02-15 19:01:35 -08:00
Wayne Davison
0b52f94da7
Some daemon security improvements, including the new parameters
...
"charset" and "numeric ids".
2008-02-15 17:39:21 -08:00
Wayne Davison
f96bac8468
(Matt) Dropped a superfluous word from a sentence.
2008-02-12 17:30:02 -08:00
Wayne Davison
8444a7c00d
(Matt) Needed to remove a few more files for distclean target.
2008-02-12 17:29:09 -08:00
Wayne Davison
c9d3bc3fca
A few more NEWS tweaks.
2008-02-10 21:21:24 -08:00
Wayne Davison
8340aa9670
Mention a couple more items.
2008-02-10 21:02:05 -08:00
Wayne Davison
3e2c0024d5
Made reconfigure target check if configure.sh was up-to-date.
2008-02-10 20:39:31 -08:00
Wayne Davison
205393a2b5
Preparing for release of 3.0.0pre9
v3.0.0pre9
2008-02-10 20:16:25 -08:00
Wayne Davison
5f0f2e0894
Some improvements for --hard-links and --filter options.
2008-02-10 20:10:13 -08:00
Wayne Davison
a5bb0902b4
One more fix in set_modtime() when we get ENOSYS on a symlink.
2008-02-10 15:39:21 -08:00
Wayne Davison
d348d5fd5f
Add a trailing slash to a modname arg that has no path information.
...
This ensures that the user gets a "skipping" message if they didn't
specify -r or -d. (A trailing-slash was already being added to a
lone modname for --list-only transfers.)
2008-02-09 22:07:03 -08:00
Wayne Davison
21897ecbed
Improved the "symlink has no referent" logic to work with all the
...
--copy*links options.
2008-02-09 21:41:50 -08:00
Wayne Davison
01103e1870
Make do_recv() reset copy_unsafe_links too (just like it does for
...
copy_links and copy_dirlinks).
2008-02-09 21:33:13 -08:00
Wayne Davison
2d8f9b1df0
Ignore exit-code 23 when we expect a daemon-excluded file to be excluded.
2008-02-09 21:30:49 -08:00
Wayne Davison
68f1e7e594
(Matt) Made a daemon-refused file an FERROR_XFER with a better message.
2008-02-07 11:24:38 -08:00
Wayne Davison
87629cf2f6
Re-indent some code in set_file_attrs() to make the flow clearer.
2008-02-07 07:24:58 -08:00
Wayne Davison
e7f642cffe
Using rebase for the patches has become a failing-hunk
...
pain in the neck, so I'm switching to using merge.
2008-02-06 16:39:53 -08:00
Wayne Davison
3e8fe565ed
A daemon needs to call setup_iconv() after parsing the options
...
it receives.
2008-02-06 16:13:37 -08:00
Wayne Davison
e96c7777d7
Fixed return code from hard_link_one() when not verbose.
2008-02-06 16:06:33 -08:00
Wayne Davison
71daa07fb1
Make get_xattr_names() even safer at fetching the list of attr names.
2008-02-06 07:52:00 -08:00
Wayne Davison
287bb276d5
Only check F_OWNER() if uid_ndx is non-zero.
2008-02-04 21:17:27 -08:00
Wayne Davison
ddc8110dea
Fixed local_child() so that the client side really does handle
...
the log-file writing.
2008-02-04 12:52:41 -08:00
Wayne Davison
c0f4228d66
Don't try to use recv_xattr_request() with --dry-run. Fixes an
...
internal abbrev error on the sending side.
2008-02-04 12:34:02 -08:00
Wayne Davison
d6e6333a02
Store the key64 flag from hashtable_create() in the hashtable structure
...
so that hashtable_find() knows which hashtable is which on a 64-bit
architecture.
2008-02-04 07:29:22 -08:00
Wayne Davison
970ce063ee
Fixed finding of parent's description when @ARGV doesn't mention it.
2008-02-04 00:12:01 -08:00
Wayne Davison
dd1f0da818
Improved the usage message.
2008-02-03 23:40:20 -08:00
Wayne Davison
38a4bd432a
Fixed a couple DEL_OWNED_BY_US glitches.
2008-02-03 16:40:28 -08:00
Wayne Davison
3eabe6aa41
Dump delete_item()'s "replace" var to reduce recursive stack use.
2008-02-03 15:13:36 -08:00
Wayne Davison
f2b7b64d86
Fixed the diffing of generated files when creating a patch that has
...
a parent that is not the master branch.
2008-02-02 17:00:25 -08:00
Wayne Davison
b2057d38a9
Some extra password-clarification verbage from Matt.
2008-01-29 17:19:22 -08:00
Wayne Davison
964244b90d
Fixed several glitches with failed updates and batch files:
...
- Correctly identify when a missing batch update is for a resend.
- Made a missing batch update an xfer error.
- Made a failed redo an xfer error.
- Identify a failed transfer file consistently when it is a solo file.
- Have --read-batch say "may try again" instead of "will try again".
2008-01-27 14:40:50 -08:00
Wayne Davison
a7c1fa0049
Moved the batch option checking until after the protocol-version
...
in the batch file is known. Also simplified the do_compress
checking, which had some erroneous def_compress_level code.
2008-01-26 11:58:17 -08:00
Wayne Davison
42a28d9d3a
Improved a comment.
2008-01-26 09:13:19 -08:00
Wayne Davison
19284e2ef8
When removing a file/dir that is owned by us but does not have
...
owner-write permission, set it before the removal.
2008-01-26 08:47:02 -08:00
Wayne Davison
2268defe66
Fix some typos and such.
2008-01-25 16:57:54 -08:00