Matt McCutchen
f8605c5b89
Give a meaningful error message when we fail to write to a batch file.
2009-03-13 09:45:35 -07:00
Wayne Davison
42d8ec616d
My version of Matt's improvements related to missing source args:
...
- Implement --ignore-missing-args.
- In the absence of --*-missing-args, a missing source arg is an
FERROR_XFER, but doesn't need to be an IOERR_GENERAL.
- Revise the man page.
2009-03-13 09:37:31 -07:00
Wayne Davison
7781241889
Make missing args governed by protect filters, not hide.
2009-03-13 08:49:53 -07:00
Wayne Davison
b5473dd4a9
Made --list-only output missing args as a "*missing" line.
2009-03-06 22:42:13 -08:00
Wayne Davison
4e0fa131fe
Don't let --chmod tweak a 0 mode value (which marks a missing arg).
2009-03-06 22:41:23 -08:00
Wayne Davison
17a1676976
Simplify an "if" in ssh-basic.test. Fixes bug #6169 ;
2009-03-06 07:07:43 -08:00
Wayne Davison
b4d30300b9
Improved the unsafe_symlink() code to not get fooled by extra '/' chars
...
in the symlink's path. Added test cases. This fixes bug #6151 .
2009-03-03 08:46:57 -08:00
Wayne Davison
e6f3a33c5e
Make the backup code call unsafe_symlink() correctly.
2009-03-03 08:42:56 -08:00
Wayne Davison
ce66f41791
Added the --delete-missing-args option to delete specified
...
files on the receiver that don't exist on the sender.
2009-02-28 09:25:26 -08:00
Wayne Davison
8d10cbfcb1
Made --progress use ir-chk instead of to-chk when the incremental
...
recursion scan is still active. Mention the output change more
prominently in the NEWS file. Updated the --progress output in
the manpage, with mention of the new "ir-chk" string's meaning.
2009-02-28 08:07:01 -08:00
Wayne Davison
e8d6fe6261
Properly indent some lines.
2009-02-19 23:09:20 -08:00
Wayne Davison
7f367bb1b4
Added a way for supplementary groups to be specified in the rsyncd.conf
...
file. Also made explicitly-set uid/gid values no longer ignored by a
daemon that was not run by a super-user.
2009-02-19 23:08:48 -08:00
Wayne Davison
df7ec1cf42
Adding a way for log-format numbers to become more human readable.
2009-02-18 07:26:48 -08:00
Wayne Davison
6437b817c0
Mention that only the first line of a password-file is used.
2009-02-16 10:31:58 -08:00
Wayne Davison
d39d60a129
Handle a link_stat() failure with errno ENOENT as a vanished file.
2009-02-14 08:35:57 -08:00
Wayne Davison
49c2407141
Added --disable-iconv-open option for configure to turn off all use
...
of the iconv_open() function. Implies --disable-iconv (which turns
off the --iconv option). Fixes bug #6107 .
2009-02-14 07:50:09 -08:00
Wayne Davison
44ae54114a
Moved the --disable-debug check sooner in configure.in so that it
...
happens prior to checking for the compiler. Switched no-debug code
to setting ac_cv_prog_cc_g=no. Fixes bug #6106 .
2009-02-14 07:48:40 -08:00
Wayne Davison
43eb865f9a
Made copy_section() and string_set() simpler, getting rid of a
...
"FIXME" comment that we don't need to fix.
2009-02-06 07:27:18 -08:00
Wayne Davison
789213909d
Combine Globals and Locals into a Vars struct that parallels Defaults,
...
shortening some code. Improve comments and make other minor cleanups.
Based on a patch that Matt McCutchen posted to the mailing list.
2009-02-05 07:35:33 -08:00
Wayne Davison
46cd1ef6bc
Ensure that the sender turns off any msg_fd_in use earlier.
...
This avoids a problem where an extra message from the sender
could give the generator time to start sending data that will
not be understood by the sender's use of read_msg_fd().
2009-02-04 18:23:59 -08:00
Wayne Davison
6e80613717
Do not try to send a symlink with a 0-length value.
...
This avoids a transfer error in the receiver.
2009-02-04 18:13:09 -08:00
Wayne Davison
dc6fb11b41
We only need to send --stats to a remote receiver now.
2009-01-30 08:45:54 -08:00
Wayne Davison
4d13a2fe55
A few more improvements to the hostspec-parsing code.
2009-01-28 23:17:46 -08:00
Wayne Davison
58cf354711
Fixed the parsing of IPv6 literal addresses with a username
...
prefixed. Fixes bug #6067 .
2009-01-28 15:59:06 -08:00
Wayne Davison
7a498f5b6c
Check the right flist_num in gen_wants_ndx().
2009-01-18 23:02:36 -08:00
Wayne Davison
243e9a366d
Added a "Defaults" structure with both globals and locals in it.
...
Initialize both the Globals and Locals back to their default values
when reading the config. This fixes a bug where locals set in the
global section were not getting reset to their default value if the
config item was removed from the file.
2009-01-18 22:42:41 -08:00
Wayne Davison
b53c202e45
A couple minor function-call tweaks.
2009-01-18 22:40:17 -08:00
Wayne Davison
aef68d7892
Renamed some typedefs:
...
- global -> global_vars
- section -> local_vars
- global_and_section -> all_vars
2009-01-18 22:39:57 -08:00
Wayne Davison
077e543b7d
Renamed sDefault to Locals.
2009-01-18 22:39:20 -08:00
Wayne Davison
9784f01cbc
Use a varint when sending the error_code.
2009-01-17 14:52:13 -08:00
Wayne Davison
bc40a30503
Fixed the delete statistics with --delete-delay and --delete-after.
2009-01-17 14:46:42 -08:00
Wayne Davison
4079d6a684
Fixed a hang in the inc_recurse batch-reading code.
2009-01-17 13:59:08 -08:00
Wayne Davison
df694f72ed
Change some args from "char *" to "const char *" in order to get rid of
...
a compiler warning that was just introduced. Also avoids changing the
host string to lower-case in access.c (by using iwildmatch()).
2009-01-15 00:23:07 -08:00
Matt McCutchen
11ef77b76a
Added the "reverse lookup" daemon-config parameter.
2009-01-15 00:22:36 -08:00
Wayne Davison
abd32c9585
Send the --stats option for proper del-stats operation.
2009-01-14 07:38:37 -08:00
Wayne Davison
01e293f1b5
Use "use warnings" rather than -w on the #! line.
2009-01-13 14:52:03 -08:00
Wayne Davison
8051aa5a34
Adding recent release info from the 3.0.x branch.
2009-01-13 13:53:01 -08:00
Matt McCutchen
46d68be3da
Fixed recv_add_uid() to properly differentiate users and groups.
2009-01-13 11:21:06 -08:00
Matt McCutchen
bb499bd7a0
Handle simultaneous arrival of multiple connections.
2009-01-13 09:42:54 -08:00
Wayne Davison
416cef36e9
Tweaked the --delete-* option summaries.
2009-01-08 17:01:38 -08:00
Wayne Davison
1fb6a4018d
Avoid a server-side problem with -e is at the start of the short options.
...
(Bug #6020 )
2009-01-07 16:39:22 -08:00
Wayne Davison
fc4a695cdd
Tweaked s### and m## to avoid vim highlighting issues.
2009-01-07 16:38:06 -08:00
Wayne Davison
83238ed0bb
Fixed bug #6011 : use of target in configure.
2009-01-03 20:50:54 -08:00
Wayne Davison
21cddef2b4
Improved the backup code:
...
- Backups do not interfere with an atomic update (when possible).
- Backing up a file will remove a directory that is in the way
and visa versa.
- Unify the backup-dir and non-backup-dir code in backup.c.
- Improved the backup tests a little bit.
2009-01-03 12:02:47 -08:00
Wayne Davison
b3bf9b9df9
Update the copyright year.
2009-01-03 10:57:14 -08:00
Wayne Davison
974e18191c
Make delete_item() public, moving it into delete.c.
2009-01-03 10:52:50 -08:00
Wayne Davison
09ca0d15d3
Added init_stat_x() to avoid duplication of acl/xattr init code.
2009-01-03 08:53:59 -08:00
Wayne Davison
c43c66125e
Allow opendir() in send_directory() to fail with ENOENT.
2008-12-27 11:09:53 -08:00
Wayne Davison
8b7a752024
Mention the mapfrom/mapto scripts and how they work.
2008-11-15 18:32:21 -08:00
Wayne Davison
2df20057e3
Adding the --usermap/--groupmap/--chown options.
2008-11-15 18:13:00 -08:00