Wayne Davison
6e8a1782ab
- Changed the calling syntax for map_file() so that it takes both
...
a (possibly approximate) window size and an optional block size
(which is used to round-up the window size if it is non-zero).
- Don't set window_start behind the supplied offset in map_ptr().
2004-08-03 08:05:29 +00:00
Wayne Davison
96d910c770
Call map_file() with its new args, including a suggested window
...
size.
2004-08-03 08:05:27 +00:00
Wayne Davison
7560c17adc
We call map_ptr() with a data range than includes any unmatched data
...
(which we might need to reference again) in addition to the current
rolling-checksum block (this prevents the unmatched data from being
lost when we slide the buffer and read more data).
2004-08-03 08:05:23 +00:00
Wayne Davison
9cd339eb39
- Changed the description for --block-size in the --help text.
...
- Use the new MAX_BLOCK_SIZE to limit the block_size value.
2004-08-03 08:05:20 +00:00
Wayne Davison
f310029387
- Added define for MAX_BLOCK_SIZE.
...
- Increased the MAX_MAP_SIZE.
2004-08-03 08:05:17 +00:00
Wayne Davison
3ed8eb3f9c
Updated the description of the --block-size option.
2004-08-03 07:58:48 +00:00
Wayne Davison
007351494d
Mention the open64()/mkstemp64() configure change.
2004-08-02 22:06:17 +00:00
Wayne Davison
6dcb93208d
Don't use mkstemp() if the OS has open64() but not mkstemp64().
2004-08-02 21:56:07 +00:00
Wayne Davison
84e1a698bf
Test for functions open64() and mkstemp64().
2004-08-02 21:54:49 +00:00
Wayne Davison
0d7638eafd
Got rid of trailing whitespace.
2004-08-02 16:49:20 +00:00
Wayne Davison
86e2f445f7
Mention the "refuse options" change.
2004-08-02 07:41:04 +00:00
Wayne Davison
093e816c37
Allow better wildcard matching against the short-option letters in
...
the "refuse options" handling.
2004-08-02 07:40:34 +00:00
Wayne Davison
1cb0a3edc6
Document the improved "refuse options" syntax.
2004-08-02 05:01:36 +00:00
Wayne Davison
06a5054273
- Extended the "refuse options" daemon setting to allow wildcards
...
and to allow single-letter option names.
- No need to send the various --delete* options or the --force option
from the receiver to the sender.
2004-08-02 05:00:30 +00:00
Wayne Davison
acd0299243
Got rid of unused externs.
2004-08-02 04:50:33 +00:00
Wayne Davison
dca68b0aad
- Changed "read so far" to "received so far".
...
- Output the who_am_i() information in the socket read/write errors to
make it a little clearer who is complaining about what (for those
familiar with rsync, at least -- e.g. it will help when users report
errors).
2004-08-02 02:43:54 +00:00
Wayne Davison
c3ea09906d
- Changed all the errors in parse_arguments() to use the err_buf so
...
that a client talking to a daemon server actually gets the error.
- If a daemon has a list of exclusions, apply that list to various
options to ensure that an excluded file can't be affected.
- Fixed an arg-checking problem when --files-from got passed to a
daemon.
2004-07-31 20:09:54 +00:00
Wayne Davison
bf4679e8a0
If we need to return an error during the startup phase and the other
...
side is expecting us to send them a files-from list, send the list
terminator before sending the error.
2004-07-31 19:55:42 +00:00
Wayne Davison
c4054610c8
Don't allow a --partial-dir setting to overwrite a server-excluded
...
file (affects a daemon receiver only).
2004-07-31 18:13:20 +00:00
Wayne Davison
f6c0d3d70b
- Document the change to --copy-links.
...
- Improved the "OUTPUT CHANGES" section.
2004-07-31 16:20:28 +00:00
Wayne Davison
ef855d198e
Document the old side-effect to --copy-links and that it no longer
...
happens in a modern rsync w/o --keep-dirlinks.
2004-07-31 16:19:14 +00:00
Wayne Davison
81b07870c8
One call to link_stat() (in set_perms()) needed to honor the setting
...
of keep_dirlinks if the current item is a directory.
2004-07-31 16:15:41 +00:00
Wayne Davison
bb6721dce6
Reset copy_links in the receiver.
2004-07-31 16:14:27 +00:00
Wayne Davison
446a2987cd
Prominently mention the changes to the text that gets output.
2004-07-31 03:33:05 +00:00
Wayne Davison
4de2a17409
Changed "wrote"/"written" to "sent" and "read" to "received" in
...
the text that is output.
2004-07-31 03:32:42 +00:00
Wayne Davison
99d24f77ed
- Mention the "list = no" change in error handling.
...
- Improved a few of the NEWS items.
2004-07-30 22:46:07 +00:00
Wayne Davison
c0422cea9f
If someone is denied access to a "list = no" module, lie and tell them
...
that the module is "Unknown" (so the user can't probe to find unlisted
modules).
2004-07-30 20:07:52 +00:00
Wayne Davison
8b6ad0193d
Don't ignore case in lp_number() because the rest of the daemon code
...
can't handle the case where the module name doesn't exactly match the
string the user provided.
2004-07-30 20:05:37 +00:00
Wayne Davison
33eff8bfd6
If we reject a name due to a server-exclude, someone is trying to hack
...
rsync (because the generator would not have included this file). Respond
with an exit.
2004-07-30 07:02:37 +00:00
Wayne Davison
65af3dab03
Document the latest changes.
2004-07-29 18:08:16 +00:00
Wayne Davison
065a605270
Got rid of bogus compare_dest scan in skip_file() -- it must checksum
...
the same file that we used for the stat() (in the parent routine).
2004-07-29 16:45:48 +00:00
Wayne Davison
a7260c4037
Added the new --partial-dir option.
2004-07-29 16:06:38 +00:00
Wayne Davison
44cad59f2b
Document the new --partial-dir option.
2004-07-29 16:06:34 +00:00
Wayne Davison
c52461f911
Check the error return of flush_write_file().
2004-07-29 07:37:27 +00:00
Wayne Davison
7f459268d9
Added close_multiplexing_in() and renamed io_multiplexing_close()
...
to close_multiplexing_out().
2004-07-29 07:24:45 +00:00
Wayne Davison
9eeb3b9c88
Call the new close_multiplexing_in() function in the generator.
2004-07-29 07:24:00 +00:00
Wayne Davison
d1b31da71e
If we fail writing to the socket and we're receiving error messages
...
from the other side via a multiplexed input, read the socket to see
if we get some errors that would explain why they went away.
2004-07-29 07:09:46 +00:00
Wayne Davison
89e540e638
One more inplace code tweak.
2004-07-29 06:59:30 +00:00
Wayne Davison
fab65a5bc2
Some minor fixes and improvements for the inplace code.
2004-07-29 06:40:26 +00:00
Wayne Davison
e7d13fe532
- Explicitly save the stat()'s errno so that we can be sure we're
...
testing the right thing lower down (and so that future code doesn't
always have to remember to save it off and restore it).
- Improved a chunk of link_dest code.
- Handle the removal of a non-regular file without so much duplicated
code.
2004-07-28 10:04:06 +00:00
Wayne Davison
ecc81fce17
Use the new safe_fname() function.
2004-07-26 16:36:59 +00:00
Wayne Davison
b4afd23c30
Allow safe_fname() to tweak up to two name at a time.
2004-07-26 16:34:36 +00:00
Wayne Davison
af1a3f9b6e
Use safe_fname() in full_fname().
2004-07-26 15:59:51 +00:00
Wayne Davison
820b6c9aa0
Added safe_fname() that converts any newlines in a name into '?'s.
2004-07-26 15:52:25 +00:00
Wayne Davison
3cb22c204c
Made a comment better.
2004-07-26 05:38:02 +00:00
Wayne Davison
7432ccf4ed
Some batch-mode changes.
2004-07-24 16:51:58 +00:00
Wayne Davison
6a48e792c1
Made the new option-twiddling message only output when verbose.
2004-07-24 16:51:16 +00:00
Wayne Davison
9459290ae7
Call read_stream_flags() as soon as we open the batch file for
...
reading.
2004-07-24 16:40:41 +00:00
Wayne Davison
741d654495
Call write_stream_flags() from start_write_batch().
2004-07-24 16:39:53 +00:00
Wayne Davison
d3e182af09
Added write_stream_flags() to write the state of certain flags into
...
the batchfile and read_stream_flags() to read and twiddle the same
flags. This ensures that the batchfile reading doesn't get confused
about what data to expect from the socket.
2004-07-24 16:38:49 +00:00