rsync/rsync.git
19 years ago- Changed read_item_attrs() to return the length of the xname string.
Wayne Davison [Thu, 10 Mar 2005 00:05:58 +0000 (00:05 +0000)]
- Changed read_item_attrs() to return the length of the xname string.
- Tweaked the order of the args to write_item_attrs().

19 years ago- Improved the error-checking for some delete_item() calls.
Wayne Davison [Wed, 9 Mar 2005 23:46:28 +0000 (23:46 +0000)]
- Improved the error-checking for some delete_item() calls.
- Move the non-regular-file delete-check above the alt-basis check
  where it belongs.
- Keep track of the real statret and real stat-struct for certain
  alt-basis scenarios (e.g. partial-dir and fuzzy) so that we send
  the right itemized change flags.

19 years agoMention the latest protocol-29 changes.
Wayne Davison [Wed, 9 Mar 2005 18:55:09 +0000 (18:55 +0000)]
Mention the latest protocol-29 changes.

19 years agoWe now handle the reading and writing of extra basis-file info: the
Wayne Davison [Wed, 9 Mar 2005 18:54:19 +0000 (18:54 +0000)]
We now handle the reading and writing of extra basis-file info: the
fnamecmp_type byte, and the extra name (currently used for fuzzy
processing and hard-link status).

19 years agoGot rid of the name-pipe, so we now read the fnamecmp_type data over
Wayne Davison [Wed, 9 Mar 2005 18:54:16 +0000 (18:54 +0000)]
Got rid of the name-pipe, so we now read the fnamecmp_type data over
the socket for protocol >= 29, or handle it like the old days for
older protocol versions.  This means that we now validate this extra
data for safety (such as the fuzzy filename).

19 years agoMade itemize() output the fnamecmp_type and the fuzzy name based on
Wayne Davison [Wed, 9 Mar 2005 18:54:12 +0000 (18:54 +0000)]
Made itemize() output the fnamecmp_type and the fuzzy name based on
the new ITEM_BASIS_TYPE_FOLLOWS and ITEM_XNAME_FOLLOWS flags.  Got
rid of the name-pipe to the receiver.

19 years agoGot rid of the name-pipe from the generator to the receiver.
Wayne Davison [Wed, 9 Mar 2005 18:54:09 +0000 (18:54 +0000)]
Got rid of the name-pipe from the generator to the receiver.

19 years agoWhen itemizing, we now set ITEM_LOCAL_CHANGE and ITEM_XNAME_FOLLOWS.
Wayne Davison [Wed, 9 Mar 2005 18:54:06 +0000 (18:54 +0000)]
When itemizing, we now set ITEM_LOCAL_CHANGE and ITEM_XNAME_FOLLOWS.

19 years ago- Made an overflow in read_vstring() return an error instead of dying.
Wayne Davison [Wed, 9 Mar 2005 18:54:02 +0000 (18:54 +0000)]
- Made an overflow in read_vstring() return an error instead of dying.
- Got rid of a flush kluge that was needed for the name-pipe.

19 years agoHandle the new way that 'c' and 'h' get output by "%i".
Wayne Davison [Wed, 9 Mar 2005 18:53:58 +0000 (18:53 +0000)]
Handle the new way that 'c' and 'h' get output by "%i".

19 years agoComplain if a feature that requires protocol 29 doesn't get it.
Wayne Davison [Wed, 9 Mar 2005 18:53:55 +0000 (18:53 +0000)]
Complain if a feature that requires protocol 29 doesn't get it.

19 years agoMade the dest_option string non-static.
Wayne Davison [Wed, 9 Mar 2005 18:53:53 +0000 (18:53 +0000)]
Made the dest_option string non-static.

19 years agoChanged some of the ITEM_* defines.
Wayne Davison [Wed, 9 Mar 2005 18:53:49 +0000 (18:53 +0000)]
Changed some of the ITEM_* defines.

19 years agoMention the latest bug-fix.
Wayne Davison [Wed, 9 Mar 2005 04:00:45 +0000 (04:00 +0000)]
Mention the latest bug-fix.

19 years agoWe need to mention any change to a directory, not just a time change.
Wayne Davison [Wed, 9 Mar 2005 04:00:20 +0000 (04:00 +0000)]
We need to mention any change to a directory, not just a time change.
Yeah, this isn't very consistent with how files are treated, but it's
backward compatible.

19 years agoFixed the change-report output for a directory that has no
Wayne Davison [Wed, 9 Mar 2005 03:49:07 +0000 (03:49 +0000)]
Fixed the change-report output for a directory that has no
write permissions.

19 years agoBackward compatibility fix in read_iflags() (for protocols < 29).
Wayne Davison [Wed, 9 Mar 2005 02:25:34 +0000 (02:25 +0000)]
Backward compatibility fix in read_iflags() (for protocols < 29).

19 years agoBacked out the hack that reversed ITEM_REPORT_XATTRS with
Wayne Davison [Sun, 6 Mar 2005 23:37:42 +0000 (23:37 +0000)]
Backed out the hack that reversed ITEM_REPORT_XATTRS with
ITEM_TRANSFER.  Yes, it allowed some kludge code that made backward
compatibility seamless, but it made it impossible to remove the hack
in the future.  This way, the backward compatibility is just
slightly inaccurate in the display of the first letter in the %i
output, and the only hack can be safely removed without causing
problems.

19 years ago- When --max-delete is exceeded, we now count how many deletions
Wayne Davison [Sat, 5 Mar 2005 18:58:42 +0000 (18:58 +0000)]
- When --max-delete is exceeded, we now count how many deletions
  would have happend, warn about the number skipped, and set
  io_error to IOERR_DEL_LIMIT.
- When dry_run > 1 (which indicates that the destinationdir is
  missing), skip deletions in that dir.  This fixes a bug in a
  copy that is creating the destination dir w/--delete enabled.

19 years agoHandle new IOERR_DEL_LIMIT bit in io_error.
Wayne Davison [Sat, 5 Mar 2005 18:58:38 +0000 (18:58 +0000)]
Handle new IOERR_DEL_LIMIT bit in io_error.

19 years agoDefine the message for RERR_DEL_LIMIT.
Wayne Davison [Sat, 5 Mar 2005 18:58:35 +0000 (18:58 +0000)]
Define the message for RERR_DEL_LIMIT.

19 years agoAdded RERR_DEL_LIMIT.
Wayne Davison [Sat, 5 Mar 2005 18:58:32 +0000 (18:58 +0000)]
Added RERR_DEL_LIMIT.

19 years agoAdded IOERR_DEL_LIMIT.
Wayne Davison [Sat, 5 Mar 2005 18:58:29 +0000 (18:58 +0000)]
Added IOERR_DEL_LIMIT.

19 years agoMention that --max-delete must be non-zero.
Wayne Davison [Sat, 5 Mar 2005 18:58:26 +0000 (18:58 +0000)]
Mention that --max-delete must be non-zero.

19 years agoMoved the end_progress() call from match.c to sender.c so that we
Wayne Davison [Sat, 5 Mar 2005 17:51:23 +0000 (17:51 +0000)]
Moved the end_progress() call from match.c to sender.c so that we
report progress on 0-length files when pushing files (the receiver
already called it, so we already produced progress on a 0-length
file when pulling).

19 years agoFixed the elapsed time reported for 0-length files.
Wayne Davison [Sat, 5 Mar 2005 17:49:46 +0000 (17:49 +0000)]
Fixed the elapsed time reported for 0-length files.

19 years agoDon't try to determine the phase we're in by looking at the value
Wayne Davison [Sat, 5 Mar 2005 16:42:52 +0000 (16:42 +0000)]
Don't try to determine the phase we're in by looking at the value
of csum_length -- it might have been computed to be SUM_LENGTH.
Instead, look at the "phase" variable directly.

19 years agoAdded a hack that uses the ITEM_REPORT_XATTRS bit (which is the old
Wayne Davison [Sat, 5 Mar 2005 04:34:06 +0000 (04:34 +0000)]
Added a hack that uses the ITEM_REPORT_XATTRS bit (which is the old
ITEM_UPDATING bit) to make us compatible when sending/receiving bits
to/from an earlier pre-release.

19 years agoAdded a hack that sets the ITEM_REPORT_XATTRS bit (which is the old
Wayne Davison [Sat, 5 Mar 2005 04:34:04 +0000 (04:34 +0000)]
Added a hack that sets the ITEM_REPORT_XATTRS bit (which is the old
ITEM_UPDATING bit) when ITEM_TRANSFER or ITEM_LOCAL_CHANGE is set.
This lets us interact compatibly when sending itemized bits to an
earlier pre-release.

19 years agoSwapped the bit-values for ITEM_TRANSFER and ITEM_REPORT_XATTRS.
Wayne Davison [Sat, 5 Mar 2005 04:34:01 +0000 (04:34 +0000)]
Swapped the bit-values for ITEM_TRANSFER and ITEM_REPORT_XATTRS.
This lets us be more compatible with the earlier pre-releases
with a better heuristic for backward-compatible itemized bits.

19 years agoImproved the description of when "h" is output by %i.
Wayne Davison [Sat, 5 Mar 2005 00:34:02 +0000 (00:34 +0000)]
Improved the description of when "h" is output by %i.

19 years agoTurned on -i for itemized output.
Wayne Davison [Sat, 5 Mar 2005 00:23:55 +0000 (00:23 +0000)]
Turned on -i for itemized output.

19 years ago- Updated to handle the new ITEM_* flags.
Wayne Davison [Sat, 5 Mar 2005 00:21:59 +0000 (00:21 +0000)]
- Updated to handle the new ITEM_* flags.
- Changed read_iflags() to read/write a suffixed hard-link name.

19 years ago- Updated to handle the new ITEM_* flags.
Wayne Davison [Sat, 5 Mar 2005 00:21:56 +0000 (00:21 +0000)]
- Updated to handle the new ITEM_* flags.
- Send MSG_SUCCESS for hard-linked files when -H was specified.

19 years agoA few minor tweaks to improve two error messages and make better use
Wayne Davison [Sat, 5 Mar 2005 00:21:54 +0000 (00:21 +0000)]
A few minor tweaks to improve two error messages and make better use
of the "the_file_list" global.

19 years ago- Make use of the new ITEM_* flags to mention when things were
Wayne Davison [Sat, 5 Mar 2005 00:21:50 +0000 (00:21 +0000)]
- Make use of the new ITEM_* flags to mention when things were
  updated locally instead of being updated remotely.
- Added support for outputting 'a' in the itemized log-output (for
  future use in extended-attribute handling).

19 years ago- Made the sock_{in,out} variables non-static.
Wayne Davison [Sat, 5 Mar 2005 00:21:48 +0000 (00:21 +0000)]
- Made the sock_{in,out} variables non-static.
- Added hlink_list, a FIFO list of finished hard-link items.
- Made get_redo_num() check for finished hard-link items and
  call the generator when they are found.  This ensures that
  we finish all the hard-link items by the time the MSG_DONE
  is read and returned to the generator.
- Added get_hlink_num() to read the new hlink_list.

19 years ago- Changed hlink_list[] to store file-list indexes instead of
Wayne Davison [Sat, 5 Mar 2005 00:21:44 +0000 (00:21 +0000)]
- Changed hlink_list[] to store file-list indexes instead of
  pointers.
- Made hard_link_one() non-static so that the generator can call it.
  Improved it to do itemized output.
- Replaced do_hard_links() with hard_link_cluster(), which changes
  the hard-linking from a post-transfer loop into a per-cluster
  operation that occurs incrementally as the transfer updates (or
  finds unchanged) one item in the cluster.

19 years ago- Updated itemize() to handle sending of hard-link-name info. Made
Wayne Davison [Sat, 5 Mar 2005 00:21:42 +0000 (00:21 +0000)]
- Updated itemize() to handle sending of hard-link-name info.  Made
  it non-static so the hard-link code can now output itemized
  messages.
- Made the locally-changed items (such as dirs and symlinks) itemize
  using a new ITEM_LOCAL_CHANGE flag instead of the (renamed)
  ITEM_TRANSFER flag (formerly ITEM_UPDATING).
- Improved the hard-link support by having a cluster of hard-linked
  files get processed as soon as we notice that a single item is
  already up-to-date, or it succssfully finishes being updated.
- The hard-linking that occurs when using --link-dest will now be
  mentioned at higher levels of verbosity IFF %i is in the log-
  format.

19 years ago- Changed ITEM_UPDATING to ITEM_TRANSFER.
Wayne Davison [Sat, 5 Mar 2005 00:21:39 +0000 (00:21 +0000)]
- Changed ITEM_UPDATING to ITEM_TRANSFER.
- Added defines ITEM_HARD_LINKED, ITEM_LOCAL_CHANGE,
  ITEM_REPORT_XATTRS, and SIGNIFICANT_ITEM_FLAGS.
- Changed the "next" var in struct hlink into an int.

19 years agoMention latest bug fixes.
Wayne Davison [Sat, 5 Mar 2005 00:20:37 +0000 (00:20 +0000)]
Mention latest bug fixes.

19 years agoIn read_iflags(), we need to set buf to an empty string.
Wayne Davison [Fri, 4 Mar 2005 18:01:16 +0000 (18:01 +0000)]
In read_iflags(), we need to set buf to an empty string.

19 years agoGot rid of some code in the main recv_files() loop by calling the
Wayne Davison [Fri, 4 Mar 2005 16:54:08 +0000 (16:54 +0000)]
Got rid of some code in the main recv_files() loop by calling the
new functions read_iflags() and maybe_log_item().

19 years agoMoved some code out of the main loop in send_files() into a new
Wayne Davison [Fri, 4 Mar 2005 16:53:26 +0000 (16:53 +0000)]
Moved some code out of the main loop in send_files() into a new
function called read_iflags() (which was made generic enough that
the receiver could use it too).  Also call the new maybe_log_item().

19 years agoAdded maybe_log_item() for use by the sender and receiver.
Wayne Davison [Fri, 4 Mar 2005 16:52:00 +0000 (16:52 +0000)]
Added maybe_log_item() for use by the sender and receiver.

19 years agoDocument the new value of %L.
Wayne Davison [Fri, 4 Mar 2005 16:11:09 +0000 (16:11 +0000)]
Document the new value of %L.

19 years agoDocument latest format of %i.
Wayne Davison [Fri, 4 Mar 2005 16:08:58 +0000 (16:08 +0000)]
Document latest format of %i.

19 years agoCall log_item() instead of log_recv().
Wayne Davison [Fri, 4 Mar 2005 16:08:16 +0000 (16:08 +0000)]
Call log_item() instead of log_recv().

19 years agoCall log_item() instead of log_send().
Wayne Davison [Fri, 4 Mar 2005 16:08:02 +0000 (16:08 +0000)]
Call log_item() instead of log_send().

19 years ago- Replaced log_send() and log_recv() with log_item().
Wayne Davison [Fri, 4 Mar 2005 16:07:50 +0000 (16:07 +0000)]
- Replaced log_send() and log_recv() with log_item().
- Made log_formatted() and log_item() take an "hlink" arg that
  will be used to pass in a hard-link name for use in %L.

19 years agoUse the new "the_file_list" global instead of our "the_flist" local.
Wayne Davison [Fri, 4 Mar 2005 15:57:14 +0000 (15:57 +0000)]
Use the new "the_file_list" global instead of our "the_flist" local.

19 years agoTransformed the push/pop functions for the redo-list into more
Wayne Davison [Fri, 4 Mar 2005 15:50:22 +0000 (15:50 +0000)]
Transformed the push/pop functions for the redo-list into more
generic flist_num_{push,pop}() functions that can support other
folks caching off file-list index numbers.

19 years agoAdded read_vstring() and write_vstring() to io.c instead of
Wayne Davison [Fri, 4 Mar 2005 15:38:58 +0000 (15:38 +0000)]
Added read_vstring() and write_vstring() to io.c instead of
having this code in generator.c and receiver.c.

19 years ago- Got rid of the checking of msg_fd_in in read_timeout() -- it was
Wayne Davison [Fri, 4 Mar 2005 08:58:27 +0000 (08:58 +0000)]
- Got rid of the checking of msg_fd_in in read_timeout() -- it was
  only needed back when the generator was reading a separate redo
  pipe from the message pipe.
- Fixed a potential data corruption in the data that the generator
  is sending:  if a message comes in from the receiver, we now make
  sure that we can't put the forwarding of this message to the sender
  into the middle of a multiplexed-write record that the generator
  is trying to flush.

19 years agoUse the new "the_file_list" global.
Wayne Davison [Thu, 3 Mar 2005 18:44:42 +0000 (18:44 +0000)]
Use the new "the_file_list" global.

19 years ago- Set the new global "the_file_list".
Wayne Davison [Thu, 3 Mar 2005 18:44:06 +0000 (18:44 +0000)]
- Set the new global "the_file_list".
- Got rid of test of read_batch in an am_sender section since
  there is never a sender process for --read-batch.

19 years agoSimplified whole_file variable checking.
Wayne Davison [Thu, 3 Mar 2005 02:58:48 +0000 (02:58 +0000)]
Simplified whole_file variable checking.

19 years agoImproved some text in --compare-dest and --link-dest.
Wayne Davison [Thu, 3 Mar 2005 02:23:12 +0000 (02:23 +0000)]
Improved some text in --compare-dest and --link-dest.

19 years agoDon't kluge the value of statret for --whole-file.
Wayne Davison [Thu, 3 Mar 2005 01:50:43 +0000 (01:50 +0000)]
Don't kluge the value of statret for --whole-file.

19 years agoMoved the checks for --ignore-existing and --update higher in
Wayne Davison [Thu, 3 Mar 2005 01:33:51 +0000 (01:33 +0000)]
Moved the checks for --ignore-existing and --update higher in
recv_generator() so that they don't trigger erroneously when
--link-dest is specified.

19 years ago- Got rid of the SID_* flags -- use the ITEM_* flags directly.
Wayne Davison [Thu, 3 Mar 2005 00:14:35 +0000 (00:14 +0000)]
- Got rid of the SID_* flags -- use the ITEM_* flags directly.
- If --compare-dest find a file that is not the same in attributes,
  we need to copy the file.

19 years agoAdded ITEM_NO_DEST_AND_NO_UPDATE for use by the generator's
Wayne Davison [Thu, 3 Mar 2005 00:14:32 +0000 (00:14 +0000)]
Added ITEM_NO_DEST_AND_NO_UPDATE for use by the generator's
itemize() function.

19 years agoFixed the --compare-dest docs.
Wayne Davison [Wed, 2 Mar 2005 18:01:23 +0000 (18:01 +0000)]
Fixed the --compare-dest docs.

19 years agoWhen using multiple --compare-dest options, rsync should avoid
Wayne Davison [Wed, 2 Mar 2005 17:48:36 +0000 (17:48 +0000)]
When using multiple --compare-dest options, rsync should avoid
copying a file that has an exact match in any of the dirs.

19 years agoFixed a bug in the --dry-run output when using --link-dest.
Wayne Davison [Wed, 2 Mar 2005 17:27:19 +0000 (17:27 +0000)]
Fixed a bug in the --dry-run output when using --link-dest.

19 years agoIf the multi-dest loop falls back to the best_match index,
Wayne Davison [Wed, 2 Mar 2005 09:51:54 +0000 (09:51 +0000)]
If the multi-dest loop falls back to the best_match index,
we need to re-stat() the file to restore "st".

19 years agoTweaked the description for --rsync-path.
Wayne Davison [Wed, 2 Mar 2005 09:17:42 +0000 (09:17 +0000)]
Tweaked the description for --rsync-path.

19 years agoA little more tweaking to the multi-dest option loop.
Wayne Davison [Wed, 2 Mar 2005 09:09:15 +0000 (09:09 +0000)]
A little more tweaking to the multi-dest option loop.

19 years agoMention that specifying "/dir/**" is a safer way than "/dir/"
Wayne Davison [Wed, 2 Mar 2005 01:48:25 +0000 (01:48 +0000)]
Mention that specifying "/dir/**" is a safer way than "/dir/"
alone to ensure that files inside a dir are fully protected.

19 years agoImproved the description of --rsync-path.
Wayne Davison [Tue, 1 Mar 2005 23:02:23 +0000 (23:02 +0000)]
Improved the description of --rsync-path.

19 years agoMade the multi-FOO-dest loop a little nicer.
Wayne Davison [Tue, 1 Mar 2005 19:42:31 +0000 (19:42 +0000)]
Made the multi-FOO-dest loop a little nicer.

19 years agoExplicitly mention that "del." does include the trailing period.
Wayne Davison [Tue, 1 Mar 2005 19:17:27 +0000 (19:17 +0000)]
Explicitly mention that "del." does include the trailing period.

19 years agoFixed two glitches Paul pointed out.
Wayne Davison [Tue, 1 Mar 2005 17:28:46 +0000 (17:28 +0000)]
Fixed two glitches Paul pointed out.

19 years agoPreparing for release of 2.6.4pre2
Wayne Davison [Tue, 1 Mar 2005 06:22:19 +0000 (06:22 +0000)]
Preparing for release of 2.6.4pre2

19 years agoMention the latest changes.
Wayne Davison [Tue, 1 Mar 2005 06:05:23 +0000 (06:05 +0000)]
Mention the latest changes.

19 years agoA few improvements to the new check_for_hostspec() function.
Wayne Davison [Tue, 1 Mar 2005 05:49:11 +0000 (05:49 +0000)]
A few improvements to the new check_for_hostspec() function.

19 years agoMade the argv/argc parsing a little nicer.
Wayne Davison [Tue, 1 Mar 2005 03:39:35 +0000 (03:39 +0000)]
Made the argv/argc parsing a little nicer.

19 years ago- Look for last '@' in a user@host spec.
Wayne Davison [Tue, 1 Mar 2005 03:39:32 +0000 (03:39 +0000)]
- Look for last '@' in a user@host spec.

19 years agoRemoved section on parsing IPv6 literal addresses.
Wayne Davison [Tue, 1 Mar 2005 03:11:28 +0000 (03:11 +0000)]
Removed section on parsing IPv6 literal addresses.

19 years agoChanged remote_filesfrom_file to filesfrom_host.
Wayne Davison [Tue, 1 Mar 2005 03:10:59 +0000 (03:10 +0000)]
Changed remote_filesfrom_file to filesfrom_host.

19 years ago- Changes needed to handle new filesfrom_host variable.
Wayne Davison [Tue, 1 Mar 2005 01:16:03 +0000 (01:16 +0000)]
- Changes needed to handle new filesfrom_host variable.
- Changes needed to use check_for_hostspec() in place of find_colon().

19 years agoChanges needed to use check_for_hostspec() in place of find_colon().
Wayne Davison [Tue, 1 Mar 2005 01:15:59 +0000 (01:15 +0000)]
Changes needed to use check_for_hostspec() in place of find_colon().

19 years ago- Changed find_colon() into check_for_hostspec(), extending it to
Wayne Davison [Tue, 1 Mar 2005 01:15:57 +0000 (01:15 +0000)]
- Changed find_colon() into check_for_hostspec(), extending it to
  understand the rsync:://HOST:PORT/PATH format, allowing all HOSTs
  to be IPv6 literal addresses enclosed in '[' and ']', and changing
  it to return the 3 parts of the spec separately (host, port, and
  path).
- Relocated the code that handles the sanitation and validation of
  the files_from arg in order to make its placement a little more
  logical.
- Replaced remote_filesfrom_file with filesfrom_host, which makes
  the value of the files_from variable more intuitive.

19 years agoEnhanced the option-parsing failure mode to handle the situation
Wayne Davison [Tue, 1 Mar 2005 00:42:32 +0000 (00:42 +0000)]
Enhanced the option-parsing failure mode to handle the situation
where the parser didn't get a chance to parse the --files-from
option yet, but we still need to know it was there in order to get
the error message back to the client.

19 years agoMade a couple sentences about rsync:// syntax clearer.
Wayne Davison [Mon, 28 Feb 2005 22:04:16 +0000 (22:04 +0000)]
Made a couple sentences about  syntax clearer.

19 years agoImproved a couple sentences.
Wayne Davison [Mon, 28 Feb 2005 02:16:49 +0000 (02:16 +0000)]
Improved a couple sentences.

19 years agoSay "rsync 2.6.4" instead of "protocol 29".
Wayne Davison [Mon, 28 Feb 2005 02:16:23 +0000 (02:16 +0000)]
Say "rsync 2.6.4" instead of "protocol 29".

19 years agoTweaked a comment.
Wayne Davison [Mon, 28 Feb 2005 02:04:42 +0000 (02:04 +0000)]
Tweaked a comment.

19 years agoImproved do_lseek()'s failure message.
Wayne Davison [Sun, 27 Feb 2005 21:12:13 +0000 (21:12 +0000)]
Improved do_lseek()'s failure message.

19 years agoComplain if the run-terminating keep-alive packets aren't what
Wayne Davison [Sun, 27 Feb 2005 20:50:07 +0000 (20:50 +0000)]
Complain if the run-terminating keep-alive packets aren't what
we expected.

19 years agoDon't loop forever when the receiver is waiting around to be killed
Wayne Davison [Sun, 27 Feb 2005 18:24:34 +0000 (18:24 +0000)]
Don't loop forever when the receiver is waiting around to be killed
at EOF -- it should be a rapidly arriving event, so only hang around
for 10 seconds, max., and then go ahead and report the "unexpectedly
closed" error.

19 years agoMake sure that allowed_lull will not be computed as 0 if
Wayne Davison [Sun, 27 Feb 2005 18:09:17 +0000 (18:09 +0000)]
Make sure that allowed_lull will not be computed as 0 if
io_timeout is 1.

19 years agoImproved a couple sentences.
Wayne Davison [Sun, 27 Feb 2005 18:01:32 +0000 (18:01 +0000)]
Improved a couple sentences.

19 years ago- Made the calls to maybe_send_keepalive() happen at better intervals.
Wayne Davison [Sun, 27 Feb 2005 09:02:32 +0000 (09:02 +0000)]
- Made the calls to maybe_send_keepalive() happen at better intervals.
- Call do_hard_links() with its new args.

19 years agoAdded 2 args to do_hard_links() so that it can call maybe_send_keepalive().
Wayne Davison [Sun, 27 Feb 2005 09:02:29 +0000 (09:02 +0000)]
Added 2 args to do_hard_links() so that it can call maybe_send_keepalive().

19 years agoMention the backup fix for redone files with --inplace.
Wayne Davison [Sun, 27 Feb 2005 08:02:06 +0000 (08:02 +0000)]
Mention the backup fix for redone files with --inplace.

19 years agoWe need to turn off make_backups for the redo phase so that
Wayne Davison [Sun, 27 Feb 2005 07:50:43 +0000 (07:50 +0000)]
We need to turn off make_backups for the redo phase so that
the inplace processing doesn't make a second backup.

19 years agoTweaked an error message.
Wayne Davison [Sun, 27 Feb 2005 07:34:27 +0000 (07:34 +0000)]
Tweaked an error message.

19 years ago- Seems to me that sigusr2_handler() should call close_all() for
Wayne Davison [Sun, 27 Feb 2005 07:33:01 +0000 (07:33 +0000)]
- Seems to me that sigusr2_handler() should call close_all() for
  the sake of MS Windows.
- Improved some comments.

19 years agoOne more comment fix.
Wayne Davison [Sat, 26 Feb 2005 22:14:40 +0000 (22:14 +0000)]
One more comment fix.