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
Wayne Davison
643b018cfb
Mention iconv --list.
2008-01-25 16:57:26 -08:00
Wayne Davison
e35ad79b1b
Make do_chmod() report an error with -E.
2008-01-25 16:57:02 -08:00
Wayne Davison
da01d2e843
Improved option handling for protocol 30 batch files.
2008-01-19 11:21:07 -08:00
Wayne Davison
641dc0c51e
Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch.
2008-01-19 11:20:42 -08:00
Wayne Davison
69e2b4ee3a
Fixed the combination of --dry-run and --only-write-batch.
2008-01-19 11:20:17 -08:00
Wayne Davison
75a01a0734
Don't apply filter rules to implied directories.
2008-01-19 10:09:22 -08:00
Wayne Davison
b769ad6a3e
Another xattr "internal abbrev" fix for an xattr object that is
...
shared by multiple files: handle the case where one file has an
abbreviated item set correctly, but a following item does not.
Also extended testsuite/xattrs.test to verify that this works.
2008-01-12 22:16:37 -08:00
Wayne Davison
6e59b97770
Preparing for release of 3.0.0pre8
v3.0.0pre8
2008-01-12 10:53:10 -08:00
Wayne Davison
4da9fcd41d
- Make sure the Makefile is up-to-date before running "make gen".
...
- The release-rsync script now creates the generated patches in a
separate dir from the normal patches.
2008-01-12 10:52:46 -08:00
Wayne Davison
68ddbaf645
Fixed a bug with truncated xattr data requests when the receiver
...
needs to discard some of the items from the sender's list.
2008-01-12 09:14:56 -08:00
Wayne Davison
555a081fe2
If "make gensend" fails, abort the script.
2008-01-11 13:20:14 -08:00
Wayne Davison
513d3fd806
Improved check_for_finished_files() to be really, really sure
...
that we've processed all the items on the hard-linked and redo
queues before we return.
2008-01-11 13:13:15 -08:00
Wayne Davison
34aa616d41
Fixed a length problem parsing an arg of "./".
2008-01-09 11:51:44 -08:00
Wayne Davison
ec8637f367
Don't allow a slash to be specified in a module name.
...
Document the module-name limitations in rsyncd.conf.yo.
2008-01-09 11:41:23 -08:00
Wayne Davison
62a6b8df72
Made read_arg_from_pipe() handle EINTR.
2008-01-02 17:20:44 -08:00
Wayne Davison
dd6f31f70f
Rebuild the Makefile when it is not up-to-date.
2008-01-01 10:43:55 -08:00
Wayne Davison
a5fd4b6e6e
Renamed mkrounding.c to rounding.c.
2008-01-01 10:34:27 -08:00
Wayne Davison
eca151d457
Changed the creation of rounding.h to use a set of compile-time checks
...
similar to how configure determines the size of variables.
2008-01-01 10:27:19 -08:00
Wayne Davison
f859d3ded6
If we're cross-compiling, tell the user to run mkrounding on the
...
target machine to build the rounding.h file.
2008-01-01 08:59:26 -08:00
Wayne Davison
5288be3af7
Some minor tweaks:
...
- Improved some comments in hlink.c.
- Changed "the" to "a" in rsyncd.conf.yo.
- Improved the PATCH.name filtering loop in patch-update.
2007-12-31 20:40:51 -08:00
Wayne Davison
83235dbc54
Fixed a case where the receiver indicates a successful update when the
...
transfer succeeded, but the final rename failed.
2007-12-31 10:31:43 -08:00
Wayne Davison
c78cb8f349
Made some user-/group-name pointers "const".
2007-12-29 22:52:42 -08:00
Wayne Davison
7210dbfd2a
Some minor tweaking to name_to_uid() and name_to_gid().
2007-12-29 22:52:04 -08:00
Wayne Davison
b6800a0b32
Added check for libiconv_open when iconv_open isn't found.
2007-12-29 09:53:37 -08:00
Wayne Davison
14eaa7a53b
Added reconfigure target to re-run configure.
2007-12-29 09:44:58 -08:00