Wayne Davison
efd5ee5786
- Limit the maximum block size we compute for a file.
...
- Set max_map_size based on the current file's block size (so that
map_ptr() is more efficient with large blocks).
2004-07-16 18:04:23 +00:00
Wayne Davison
510b4cd4d5
Added a max_map_size variable, initialized to MAX_MAP_SIZE.
2004-07-16 18:02:30 +00:00
Wayne Davison
de584c658c
Limit the block-size that the user can specify.
2004-07-16 18:01:30 +00:00
Wayne Davison
6eb770bbcc
Improved a sentence about --whole-file.
2004-07-16 17:14:55 +00:00
Wayne Davison
c7e11bfdc0
Make wf_writeBufSize based on a multiple of WRITE_SIZE instead
...
of the unrelated MAX_MAP_SIZE.
2004-07-16 01:32:02 +00:00
Wayne Davison
94327ff0c2
- Complain and die if --dry-run is used with a batch option.
...
- Improved the warning if a batch option gets sent to the server.
2004-07-15 19:06:32 +00:00
Wayne Davison
4602eafa87
Changed the batch examples to show how to do a remote read-batch
...
without first transferring the batch file.
2004-07-15 19:04:54 +00:00
Wayne Davison
bb3edc3b47
Expanded the comment on the new batch code.
2004-07-15 19:03:50 +00:00
Wayne Davison
c769702fe5
Mention that "-" can be used with --read-batch for reading from stdin.
2004-07-15 17:56:11 +00:00
Wayne Davison
dbbab0c4d2
Allow --read-batch=- to indicate stdin.
2004-07-15 17:01:51 +00:00
Wayne Davison
9b3318b0df
We no longer refer to a batch "prefix".
2004-07-15 16:27:02 +00:00
Wayne Davison
0fac7fe8b8
Mention new batch-mode changes.
2004-07-15 03:13:09 +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
c7b1a56b3d
Mention recent changes.
2004-07-14 17:11:53 +00:00
Wayne Davison
3896bca4d8
Tweaked some single-line ifs.
2004-07-14 16:41:10 +00:00
Wayne Davison
9774cc3344
The "len" to generate_and_send_sums() is supposed to be an OFF_T.
2004-07-14 16:40:08 +00:00
Wayne Davison
d3979b025d
Committed a space-tweak from Chris Shoemaker.
2004-07-14 16:39:08 +00:00
Wayne Davison
01966df4f7
Improved the write_batch_argvs_file() routine so that it doesn't
...
need the character buffers and so that it properly removes the
hostname from the destination arg.
2004-07-14 07:20:18 +00:00
Wayne Davison
f38bd4a072
Got rid of the disable_deltas_p() function (the whole_file value
...
is now fully set before the generator forks).
2004-07-13 01:45:51 +00:00
Wayne Davison
b1df18d76f
We now conditionally turn on whole_file in do_cmd() right before
...
calling local_child().
2004-07-13 01:44:03 +00:00
Wayne Davison
7daccb8e72
In generate_files(), changed arg "f" to "f_out", as Chris Shoemaker
...
suggested.
2004-07-12 20:42:48 +00:00
Wayne Davison
bb91a624f1
Made hard_link_check() compile when SUPPORT_HARD_LINKS isn't enabled.
2004-07-12 07:03:28 +00:00
Wayne Davison
a04d77bcbc
Use want_i instead of last_i+1.
2004-07-07 08:38:40 +00:00
Wayne Davison
25bd99451c
Make the GID_NONE define a little safer.
2004-07-07 08:25:13 +00:00
Wayne Davison
ed43d0a76d
Added some missing $(srcdir) references.
2004-07-04 08:56:31 +00:00
Wayne Davison
066a844c4e
Changed a "for" loop into a "do ... while" loop.
2004-07-04 08:07:23 +00:00
Wayne Davison
5e252dea4b
Optimized away a loop in hash_search().
2004-07-02 23:35:30 +00:00
Wayne Davison
d2a918b454
Some formatting tweaks.
2004-07-02 18:23:57 +00:00
Wayne Davison
da38e779ea
Moved the verbose message about renaming the finished file down into
...
finish_transfer() so that it only gets output when we're actually going
to rename the file.
2004-07-02 18:13:53 +00:00
Wayne Davison
8186ae6bc0
Tweaked some formatting.
2004-07-02 18:12:24 +00:00
Wayne Davison
e1f67417d7
Some simple whitespace tweaks.
2004-06-30 07:27:30 +00:00
Wayne Davison
fd322eef82
Made recv_generator static.
2004-06-29 19:19:00 +00:00
Wayne Davison
d3a4375f78
Optimized away a call to cmp_modtime() for a compare-dest file.
2004-06-29 16:22:54 +00:00
Wayne Davison
78112d305b
Mention the extended argv-overflow checking.
2004-06-29 15:13:18 +00:00
Wayne Davison
f7c3ee9932
Tweaked an overly-long line.
2004-06-29 15:12:01 +00:00
Wayne Davison
e7a392c77c
A few more improvements to the anti-overflow args[] checking.
2004-06-28 17:45:40 +00:00
Wayne Davison
887e553f05
Make sure that do_cmd() doesn't overflow its arg-pointer array
...
(which was also made larger).
2004-06-28 17:25:14 +00:00
Wayne Davison
beb227ddf1
Got rid of a couple unneeded assignments.
2004-06-24 04:46:02 +00:00
Wayne Davison
84acca07ae
Restoring correct skip_file() return semantics.
2004-06-23 21:21:19 +00:00
Wayne Davison
cc1e997dcd
Thought skip_file() wasn't returning 1 for "skip" and 0 or "keep"
...
so I reversed the return.
2004-06-23 16:51:21 +00:00
Wayne Davison
a7026ba90a
Fixed a newly-introduced problem in read_timeout() where FD_ZERO(&w_fds)
...
wasn't always called before w_fds was used.
2004-06-23 01:13:09 +00:00
Wayne Davison
3a69fad0f6
Some trivial format tweaks.
2004-06-20 21:48:06 +00:00
Wayne Davison
40564811ee
Mentioned the latest socket change and fixed a few typos.
2004-06-20 20:37:06 +00:00
Wayne Davison
dcd08dc51c
Restored the code in the IPV6_V6ONLY section that checks the
...
return value from setsockopt() with one improvement: if the
user has used --ipv6 (-6) we don't discard the IPv6 socket.
This should help people using older Linux kernels that don't
implement IPv6 support quite right.
2004-06-20 19:51:19 +00:00
Wayne Davison
fdf57ede8c
Tweaked a comment.
2004-06-20 19:47:05 +00:00
Wayne Davison
bd717af8ab
Must not call check_timeout() before checking the errno value.
2004-06-19 07:09:57 +00:00
Wayne Davison
c54f5170bf
Added some missing changes.
2004-06-19 06:55:58 +00:00
Wayne Davison
eae4e1f9f0
Some minor improved sentences.
2004-06-19 05:52:45 +00:00
Wayne Davison
9c513d678d
Tweaked some comments.
2004-06-18 16:55:12 +00:00
Wayne Davison
d16c245fc4
Some helpful comments from Chris Shoemaker.
2004-06-18 16:50:20 +00:00