Commit Graph

  • 61fb21ad28 Mention the new --inplace option. Wayne Davison 2004-07-17 00:00:27 +00:00
  • a3221d2ac1 My version of Mark Curtis's --inplace option. Wayne Davison 2004-07-16 20:06:24 +00:00
  • 2c713fcdfa Added a check for ftruncate. Wayne Davison 2004-07-16 20:04:20 +00:00
  • afd8bdb907 Avoid some useless memory copying. Wayne Davison 2004-07-16 18:08:52 +00:00
  • 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). Wayne Davison 2004-07-16 18:04:23 +00:00
  • 510b4cd4d5 Added a max_map_size variable, initialized to MAX_MAP_SIZE. Wayne Davison 2004-07-16 18:02:30 +00:00
  • de584c658c Limit the block-size that the user can specify. Wayne Davison 2004-07-16 18:01:30 +00:00
  • 6eb770bbcc Improved a sentence about --whole-file. Wayne Davison 2004-07-16 17:14:55 +00:00
  • c7e11bfdc0 Make wf_writeBufSize based on a multiple of WRITE_SIZE instead of the unrelated MAX_MAP_SIZE. Wayne Davison 2004-07-16 01:32:02 +00:00
  • 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. Wayne Davison 2004-07-15 19:06:32 +00:00
  • 4602eafa87 Changed the batch examples to show how to do a remote read-batch without first transferring the batch file. Wayne Davison 2004-07-15 19:04:54 +00:00
  • bb3edc3b47 Expanded the comment on the new batch code. Wayne Davison 2004-07-15 19:03:50 +00:00
  • c769702fe5 Mention that "-" can be used with --read-batch for reading from stdin. Wayne Davison 2004-07-15 17:56:11 +00:00
  • dbbab0c4d2 Allow --read-batch=- to indicate stdin. Wayne Davison 2004-07-15 17:01:51 +00:00
  • 9b3318b0df We no longer refer to a batch "prefix". Wayne Davison 2004-07-15 16:27:02 +00:00
  • 0fac7fe8b8 Mention new batch-mode changes. Wayne Davison 2004-07-15 03:13:09 +00:00
  • b9f592fbf5 My modified version of Chris Shoemaker's improved batch-file handling. Wayne Davison 2004-07-15 02:20:08 +00:00
  • c7b1a56b3d Mention recent changes. Wayne Davison 2004-07-14 17:11:53 +00:00
  • 3896bca4d8 Tweaked some single-line ifs. Wayne Davison 2004-07-14 16:41:10 +00:00
  • 9774cc3344 The "len" to generate_and_send_sums() is supposed to be an OFF_T. Wayne Davison 2004-07-14 16:40:08 +00:00
  • d3979b025d Committed a space-tweak from Chris Shoemaker. Wayne Davison 2004-07-14 16:39:08 +00:00
  • 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. Wayne Davison 2004-07-14 07:20:18 +00:00
  • f38bd4a072 Got rid of the disable_deltas_p() function (the whole_file value is now fully set before the generator forks). Wayne Davison 2004-07-13 01:45:51 +00:00
  • b1df18d76f We now conditionally turn on whole_file in do_cmd() right before calling local_child(). Wayne Davison 2004-07-13 01:44:03 +00:00
  • 7daccb8e72 In generate_files(), changed arg "f" to "f_out", as Chris Shoemaker suggested. Wayne Davison 2004-07-12 20:42:48 +00:00
  • bb91a624f1 Made hard_link_check() compile when SUPPORT_HARD_LINKS isn't enabled. Wayne Davison 2004-07-12 07:03:28 +00:00
  • a04d77bcbc Use want_i instead of last_i+1. Wayne Davison 2004-07-07 08:38:40 +00:00
  • 25bd99451c Make the GID_NONE define a little safer. Wayne Davison 2004-07-07 08:25:13 +00:00
  • ed43d0a76d Added some missing $(srcdir) references. Wayne Davison 2004-07-04 08:56:31 +00:00
  • 066a844c4e Changed a "for" loop into a "do ... while" loop. Wayne Davison 2004-07-04 08:07:23 +00:00
  • 5e252dea4b Optimized away a loop in hash_search(). Wayne Davison 2004-07-02 23:35:30 +00:00
  • d2a918b454 Some formatting tweaks. Wayne Davison 2004-07-02 18:23:57 +00:00
  • 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. Wayne Davison 2004-07-02 18:13:53 +00:00
  • 8186ae6bc0 Tweaked some formatting. Wayne Davison 2004-07-02 18:12:24 +00:00
  • e1f67417d7 Some simple whitespace tweaks. Wayne Davison 2004-06-30 07:27:30 +00:00
  • fd322eef82 Made recv_generator static. Wayne Davison 2004-06-29 19:19:00 +00:00
  • d3a4375f78 Optimized away a call to cmp_modtime() for a compare-dest file. Wayne Davison 2004-06-29 16:22:54 +00:00
  • 78112d305b Mention the extended argv-overflow checking. Wayne Davison 2004-06-29 15:13:18 +00:00
  • f7c3ee9932 Tweaked an overly-long line. Wayne Davison 2004-06-29 15:12:01 +00:00
  • e7a392c77c A few more improvements to the anti-overflow args[] checking. Wayne Davison 2004-06-28 17:45:40 +00:00
  • 887e553f05 Make sure that do_cmd() doesn't overflow its arg-pointer array (which was also made larger). Wayne Davison 2004-06-28 17:25:14 +00:00
  • beb227ddf1 Got rid of a couple unneeded assignments. Wayne Davison 2004-06-24 04:46:02 +00:00
  • 84acca07ae Restoring correct skip_file() return semantics. Wayne Davison 2004-06-23 21:21:19 +00:00
  • cc1e997dcd Thought skip_file() wasn't returning 1 for "skip" and 0 or "keep" so I reversed the return. Wayne Davison 2004-06-23 16:51:21 +00:00
  • a7026ba90a Fixed a newly-introduced problem in read_timeout() where FD_ZERO(&w_fds) wasn't always called before w_fds was used. Wayne Davison 2004-06-23 01:13:09 +00:00
  • 3a69fad0f6 Some trivial format tweaks. Wayne Davison 2004-06-20 21:48:06 +00:00
  • 40564811ee Mentioned the latest socket change and fixed a few typos. Wayne Davison 2004-06-20 20:37:06 +00:00
  • 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. Wayne Davison 2004-06-20 19:51:19 +00:00
  • fdf57ede8c Tweaked a comment. Wayne Davison 2004-06-20 19:47:05 +00:00
  • bd717af8ab Must not call check_timeout() before checking the errno value. Wayne Davison 2004-06-19 07:09:57 +00:00
  • c54f5170bf Added some missing changes. Wayne Davison 2004-06-19 06:55:58 +00:00
  • eae4e1f9f0 Some minor improved sentences. Wayne Davison 2004-06-19 05:52:45 +00:00
  • 9c513d678d Tweaked some comments. Wayne Davison 2004-06-18 16:55:12 +00:00
  • d16c245fc4 Some helpful comments from Chris Shoemaker. Wayne Davison 2004-06-18 16:50:20 +00:00
  • ec8290c897 Fixed some typos in a comment, moved an extern, and made a few minor format tweaks. Wayne Davison 2004-06-18 16:30:24 +00:00
  • b293a7f62c Improved a comment. Wayne Davison 2004-06-18 16:29:21 +00:00
  • d67c8bdfc3 Moved the externs to the top and made a few trivial format tweaks. Wayne Davison 2004-06-18 16:22:14 +00:00
  • e2ccd3578c Got rid of some trailing whitespace. Wayne Davison 2004-06-18 16:00:33 +00:00
  • 4e834af140 If --partial was specified, make sure that make_backup is turned off during the second (retry) phase of the transfer to avoid making a second backup of a file (which would lose the original). Wayne Davison 2004-06-14 15:09:36 +00:00
  • 7e5614383d Added a short msleep() after option_error() before we exit. This ensures that the remote client has time to read our error message while it is trying to write data to us before it gets a socket error. Wayne Davison 2004-06-13 14:18:48 +00:00
  • eb84a83b47 Changed the new code in delete_one() so that some compilers don't complain about returning a value from a void function. Wayne Davison 2004-06-12 21:30:07 +00:00
  • 2c2898a388 Mention the bugfix in option-parsing error-reporting from a daemon. Wayne Davison 2004-06-12 18:27:04 +00:00
  • 1732b6c037 - Changed some FERROR log calls to FLOG. - Improved the option-error-reporting to actually get the error back to the user (by getting I/O multiplexing started). Wayne Davison 2004-06-12 18:22:39 +00:00
  • 314f459161 - Made readlink_stat() and link_stat() optionally follow a symlink to a dir. This fixes deletions inside "kept" symlinked dirs. - Call link_stat() with its new arg (for --keep-dirlinks support). Wayne Davison 2004-06-11 07:40:57 +00:00
  • 83926d3cae Make sure that keep_dirlinks is turned off for the sender. Wayne Davison 2004-06-11 07:40:54 +00:00
  • 6218c7bf42 - Moved --keep-dirlinks code over to flist.c. - Call link_stat() with its new arg (for --keep-dirlinks support). Wayne Davison 2004-06-11 07:40:51 +00:00
  • 566fce3237 Made delete_one() handle a failed rmdir on a symlink when --keep-dirlinks was specified. Wayne Davison 2004-06-11 07:40:48 +00:00
  • 373ef16010 Call link_stat() with its new arg (for --keep-dirlinks support). Wayne Davison 2004-06-11 07:40:45 +00:00
  • ea76e76104 In set_filesystem(), call do_stat(), not link_stat() to ensure that we get the directory behind it all. Wayne Davison 2004-06-11 05:02:59 +00:00
  • 9fd62d1588 The mkdir code should be using do_stat(), not do_lstat() to copy each existing dir's mode & owner info. Wayne Davison 2004-06-10 16:43:52 +00:00
  • b7061c82b4 Allow the argv list the daemon uses for globbing its args to grow. Wayne Davison 2004-06-09 21:51:07 +00:00
  • 6fb812f747 Removed some excessive parens. Wayne Davison 2004-06-09 21:43:28 +00:00
  • 40e8d11e64 Mentioned a couple more bugfixes. Wayne Davison 2004-06-09 21:42:33 +00:00
  • 73042aae5b Restore UNUSED() macro (the prior problems that prompted me to remove it appear to have been a build-farm bug). Wayne Davison 2004-06-09 21:41:21 +00:00
  • e5ce3bcf2c Needed to enclose the new symlink-warning code in an "#if SUPPORT_LINKS" conditional. Wayne Davison 2004-06-09 19:23:56 +00:00
  • c399d22a19 Renamed read_unbuffered() to readfd_unbuffered() so that it matches writefd_unbuffered(). Wayne Davison 2004-06-09 03:07:50 +00:00
  • 1ea087a794 - Made the maximum-fd computation prior to a select() use the same idiom in both the read and write code (also use a better variable name). - Made the bytes-available code at the end of the select() loop use the same flow of control in the read and the write code. Wayne Davison 2004-06-08 22:18:04 +00:00
  • 00bdf89977 Improved a comment in read_msg_fd() and made the byte-reading code in read_timeout() a little better. Wayne Davison 2004-06-08 16:23:54 +00:00
  • 0bb4d17634 Improved rwrite() in two ways: - We no longer assume that the buffer is null terminated (daemon mode would ignore the len when logging a message). - Errors in daemon mode are now sent to both the log and the user. Wayne Davison 2004-06-07 22:51:14 +00:00
  • f9c6b3e7d6 Increase the size of the message-receving buffer for error messages sent from the receiver to the generator. Wayne Davison 2004-06-07 22:47:01 +00:00
  • 9e5a5ddb4c Changed a few FINFO messages to FLOG. Wayne Davison 2004-06-07 22:33:01 +00:00
  • 8c0d6a8432 Got rid of some am_daemon games in option_error(). Wayne Davison 2004-06-07 22:05:22 +00:00
  • 553f93758a Updated some exclude information that has changed. Wayne Davison 2004-06-07 21:40:11 +00:00
  • a4a7e64c19 Don't report a "file vanished" error if a symlink points to nowhere and -L was specified. Wayne Davison 2004-06-07 19:59:20 +00:00
  • 22832c30a0 Updated a couple things. Wayne Davison 2004-06-06 20:41:01 +00:00
  • 1a21666286 Tell folks to go to the bug-tracking page to report bugs. Wayne Davison 2004-06-06 20:36:56 +00:00
  • 4033b80b51 - Got rid of some useless calls to msg_list_push(). - Added a couple checks to ensure that the receiver doesn't mix two clashing kinds of writes on the msg_fd_out pipe. - Made sure that the read code in the receiver flushes the msg_fd_out pipe, if needed. Wayne Davison 2004-06-06 19:15:58 +00:00
  • 99218d821b If the user specifies a small io_timeout value, lower select_timeout. Wayne Davison 2004-06-06 19:02:40 +00:00
  • e626b29e10 Make sure our select calls don't sleep for over one minute at a time, even when io_timeout is a longer value (though the code in options.c might set it to a shorter value if io_timeout is small). Wayne Davison 2004-06-06 19:02:09 +00:00
  • f89b936801 Don't use single-line "if (condition) statement;" idiom. Wayne Davison 2004-06-06 18:36:22 +00:00
  • 17f59e818d Mention changes to the patches dir. Wayne Davison 2004-06-05 21:23:59 +00:00
  • b5bd5542eb Neatened up some of the glob-expand code and made a few other minor tweaks. Wayne Davison 2004-06-05 20:26:56 +00:00
  • 2e94e70e2b Some superficial code tweaks. Wayne Davison 2004-06-05 19:59:03 +00:00
  • 4e1f385711 Mentioned new --keep-dirlinks option. Wayne Davison 2004-06-05 16:19:02 +00:00
  • 716e73d483 New --keep-dirlinks option. Wayne Davison 2004-06-05 16:16:30 +00:00
  • 5b36173d11 Mention new SSH_* vars. Wayne Davison 2004-06-03 17:20:33 +00:00
  • b2ef4f6134 The daemon-over-ssh code now looks for $SSH_CONNECTION and $SSH2_CLIENT as well as $SSH_CLIENT to figure out the remote IP address. Wayne Davison 2004-06-03 17:20:21 +00:00
  • c7be6dec11 - Added older news from NEWS file. - Added missing releases from the Partial Protocol History section. Wayne Davison 2004-06-01 21:27:52 +00:00
  • bd1574b208 Moved older news to OLDNEWS. Wayne Davison 2004-06-01 21:27:12 +00:00
  • f376e67420 Got rid of an unneeded character pointer in send_file_entry(). Wayne Davison 2004-05-29 21:21:17 +00:00