Wayne Davison
9b3318b0df
We no longer refer to a batch "prefix".
2004-07-15 16:27:02 +00:00
Wayne Davison
b9f592fbf5
My modified version of Chris Shoemaker's improved batch-file handling.
2004-07-15 02:20:08 +00:00
Wayne Davison
fdf57ede8c
Tweaked a comment.
2004-06-20 19:47:05 +00:00
Wayne Davison
8c0d6a8432
Got rid of some am_daemon games in option_error().
2004-06-07 22:05:22 +00:00
Wayne Davison
99218d821b
If the user specifies a small io_timeout value, lower select_timeout.
2004-06-06 19:02:40 +00:00
Wayne Davison
716e73d483
New --keep-dirlinks option.
2004-06-05 16:16:30 +00:00
Wayne Davison
3c74c3a358
Set a new variable, bwlimit_writemax, based on the value of the bwlimit
...
option.
2004-05-27 21:51:53 +00:00
Wayne Davison
fa0c1939ed
The various include/exclude options are not used on the server side,
...
so if someone is trying something funny, just quit.
2004-05-24 18:38:05 +00:00
Wayne Davison
221ddb9456
Fixed a typo in the sending of the --checksum-seed option to the server.
2004-05-22 06:09:22 +00:00
Wayne Davison
c8d895de26
Added the --checksum-seed option.
2004-05-21 09:44:32 +00:00
Wayne Davison
e51094b721
- Improved option_error() to make sure that the user sees the error in
...
daemon mode.
- Got rid of some repetitious outputting of the same error-message.
2004-05-21 09:41:38 +00:00
Wayne Davison
3dd22903ac
Introduced long-option names for -4 and -6.
2004-05-06 21:08:01 +00:00
Wayne Davison
5f38126817
Use "uint64" instead of INO64_T (which is now gone).
2004-04-17 17:07:23 +00:00
Wayne Davison
bf6dcd1713
Updated the exclude-list code to handle the new linked-list
...
structure format.
2004-04-14 23:33:34 +00:00
Wayne Davison
357406ecb2
Use the new XFLG_* flags to call the add_exclude*() functions.
2004-04-12 17:42:29 +00:00
Wayne Davison
5df1fcf245
If --daemon was specified, exit the option-parsing code before
...
adjusting various default values (the real defaults will get
set when the client's options arrive).
2004-04-07 23:09:14 +00:00
Wayne Davison
8dcf93356e
Don't complain about a null --suffix if we're the server/sender (since
...
we might not have received the --backup-dir path from the client).
2004-03-31 17:02:22 +00:00
Wayne Davison
3e89da86df
The --files-from option needs to allow a server-sender to sometimes
...
have just 1 arg on the command-line.
2004-03-30 02:08:07 +00:00
Wayne Davison
f39b6638f6
Got rid of debug-output statement.
2004-03-27 19:42:13 +00:00
Wayne Davison
7be73df4e7
Optionally sanitize the args in parse_arguments() using the new
...
alloc_sanitize_path() function.
2004-03-27 09:46:42 +00:00
Wayne Davison
c67d13866b
Changed the literal 9000 into "OPT_REFUSED_BASE".
2004-02-22 08:56:43 +00:00
Wayne Davison
55afbb522c
Complain in the daemon log file if there is an unknown option in the
...
"refuse options" value. Also changed the idiom used to mark refused
options in the popt struct.
2004-02-21 21:36:55 +00:00
Wayne Davison
27ed20f7a0
Fixed the "refuse options" setting in the daemon after Fabrice Bellet
...
identified what was wrong.
2004-02-21 21:12:49 +00:00
Wayne Davison
e0391f8149
Added backup_dir_buf and backup_dir_remainder.
2004-02-11 04:30:41 +00:00
Wayne Davison
2289bf64cc
The batch-options now set checksum_seed to the appropriate fixed value.
2004-02-09 18:32:54 +00:00
Wayne Davison
f98c60bfa8
Use asprintf() in server_options() (plus a few more whitespace tweaks).
2004-02-09 18:10:57 +00:00
Wayne Davison
a5c1113971
Updated the sizeof syntax and tweaked some whitespace.
2004-02-09 17:45:22 +00:00
Wayne Davison
54e87b4b06
Don't warn about lack of -l support if we're the sender -- we just won't
...
send the receiver any symlinks.
2004-02-02 21:33:10 +00:00
Wayne Davison
06d76beb28
Clarify the safe/unsafe symlink options in the usage text.
2004-02-02 18:25:37 +00:00
Wayne Davison
e1add89334
- Fixed the bug where the --daemon option would squelch all option errors
...
for later parameters.
- Complain if someone passes us -l and we don't support symlinks.
2004-02-01 17:29:41 +00:00
Wayne Davison
5dc4003e63
Fixed the optional sanitization of the files_from arg.
2004-01-30 16:14:46 +00:00
Wayne Davison
4337c8f856
Added "am_generator".
2004-01-27 23:13:12 +00:00
Wayne Davison
db2b5cb75f
Tweaked the --help text to refer to I/O (not IO) and use "an" in
...
front of rsync (not "a").
2004-01-23 09:32:50 +00:00
Wayne Davison
ce58b1b479
Size-check the --temp-dir string so we don't have to worry about it
...
overflowing elsewhere in the code.
2004-01-22 01:20:24 +00:00
Wayne Davison
beb9368481
Make sure that the batch-prefix string isn't overly long (avoiding
...
a potential problem in the batch-filename code).
2004-01-19 23:33:02 +00:00
Wayne Davison
ad1a09a509
Clarified the --delete-after help text.
2004-01-15 17:43:34 +00:00
Wayne Davison
da9d12f5d9
Made the types used in the sum_buf and sum_struct structures consistent
...
with the variables in the code that manipulates these values.
2004-01-03 18:37:41 +00:00
Wayne Davison
6839140eb5
Shorten some of the lines in the --help output.
2003-12-30 18:16:25 +00:00
Wayne Davison
45ddbf6204
Make the upper copyright year "2004".
2003-12-28 20:48:06 +00:00
Wayne Davison
517c7b4dee
Updated the copyright year.
2003-12-20 18:00:13 +00:00
Wayne Davison
06c28400fa
New "io_error" variable handling for RERR_VANISHED support.
2003-12-15 08:10:31 +00:00
Wayne Davison
63596e1c4a
If we're the server and --files-from is "-", set remote_filesfrom_file
...
to "-" as well (since the data is coming over the socket from the remote
side).
2003-12-15 00:53:07 +00:00
Wayne Davison
58cadc8608
Merged in the security fixes from 2.5.7.
2003-12-06 21:07:27 +00:00
Wayne Davison
b7b2741f3a
Tweaked an error message.
2003-09-11 04:53:01 +00:00
Wayne Davison
4f3e9a0fba
Added the new --protocol option.
2003-09-09 15:58:56 +00:00
J.W. Schultz
e2559dbedc
Make --progress imply --verbose without incrementing verbosity.
2003-08-06 06:45:14 +00:00
Wayne Davison
1f3d6cdd86
Got rid of unused OPT_* enums.
2003-08-05 17:56:54 +00:00
Wayne Davison
191e40da17
Change the way we pass the --suffix option to the remote process so
...
that a string that starts with ~ doesn't get modified.
2003-08-01 20:19:51 +00:00
Wayne Davison
80ddadb7e8
Complain if the --suffix value contains slashes (which is all too easy
...
to accidentally have happen if you try to specify "~" with --backup-dir).
2003-08-01 19:40:31 +00:00
Wayne Davison
d175d7e13e
Got rid of suffix_specified and instead set backup_suffix to the
...
correct default value for the current backup_dir mode. Added two
new values: backup_suffix_len and backup_dir_len. Improved some
error-message code to not output duplicate errors.
2003-08-01 07:58:44 +00:00