Commit Graph

  • e86d98cbaa Got rid of RERR_LOG_FAILURE. Wayne Davison 2005-04-12 23:04:10 +00:00
  • 6afb90778b If we can't open the daemon's log file, fall-back to using syslog (rather than trying to output an error on stderr, which would usually be lost, and then exiting). Wayne Davison 2005-04-12 23:03:49 +00:00
  • 32c7f91a14 A couple improvements for the --only-write-batch section. Wayne Davison 2005-04-12 03:55:56 +00:00
  • b28a27e9e9 Mention the latest bug-fix. Wayne Davison 2005-04-10 20:08:00 +00:00
  • 15164c0aa9 Paul's patch to improve the "not creating new ..." message for directories. Wayne Davison 2005-04-10 19:44:16 +00:00
  • bf011fedfc Made the code a little cleaner by having gen_challenge() return the challenge string base64-encoded (instead of forcing the caller to handle this). Also improved a couple comments. Wayne Davison 2005-04-10 17:09:10 +00:00
  • d7d11b7ebd Mention fix for SUPPORT{,_HARD}_LINKS defines. Wayne Davison 2005-04-10 07:17:47 +00:00
  • 9a929c8f68 - Don't define HAVE_READLINK unless HAVE_READLINK is defined. - Don't define SUPPORT_HARD_LINKS unless HAVE_LINK is defined. Wayne Davison 2005-04-10 06:24:14 +00:00
  • 298d8c0a9b Mention the new --only-write-batch=FILE option. Wayne Davison 2005-04-09 18:59:59 +00:00
  • a054570942 - Use the new do_xfers variable in place of some dry_run checks (with appropriate negation). - If write_batch is < 0, we write out the file-transfer data to just the batch file, not the socket. Wayne Davison 2005-04-09 18:59:57 +00:00
  • a0009fc30d - Use the new do_xfers variable in place of some dry_run checks (with appropriate negation). - If we get a transfer when write_batch is < 0, discard it. Wayne Davison 2005-04-09 18:59:55 +00:00
  • beb51aa09e Use the new do_xfers variable in place of some dry_run checks (with appropriate negation). Wayne Davison 2005-04-09 18:59:52 +00:00
  • e8a96e275e - Only do read-/write-batch processing if we're not the server (needed now that write_batch is no longer forced to 0 for the server). - If write_batch is < 0, force "dry_run = 1" (but only after we've finished any appropriate write-batch file creation). Wayne Davison 2005-04-09 18:59:49 +00:00
  • 11e758a430 - Added do_xfers variable. - Handle the new --only-write-batch=FILE option. Wayne Davison 2005-04-09 18:59:47 +00:00
  • d630f53e0d Also change --only-write-batch to --read-batch (in addition to changing --write-batch). Wayne Davison 2005-04-09 18:59:44 +00:00
  • 5918daf8a4 We no longer force write_batch to 0 for the server. Wayne Davison 2005-04-09 18:59:42 +00:00
  • 326bb56e40 Document the new --only-write-batch=FILE option. Wayne Davison 2005-04-09 18:59:40 +00:00
  • f96154f44c Mention the latest changes. Wayne Davison 2005-04-09 18:15:22 +00:00
  • 45c5b903eb - Call auth_server() with its new "host" arg. - Don't log an auth-failed error -- auth_server() now handles that. Wayne Davison 2005-04-09 18:11:25 +00:00
  • 5037cf3adf - Use the MD4_SUM_LENGTH define in place of some hard-wired values. - Pass the hostname in to auth_server(). - Generate a unique error for each failure type in auth_server() so that the log-file contains why the authorization failed. - Don't use sscanf() to parse the client's auth-challenge response. Wayne Davison 2005-04-09 18:11:23 +00:00
  • 180443af42 The "@ERROR" handler in start_inband_exchange() was not returning the right value. Wayne Davison 2005-04-09 16:49:51 +00:00
  • 4f3f97fbde Fixed one typo and improved another sentence. Wayne Davison 2005-04-08 01:40:57 +00:00
  • 664cf3278a Make sure that "- !" or "+ !" aren't interpreted as a list-clearing token. Wayne Davison 2005-04-07 18:06:06 +00:00
  • cd36049cd1 Combine one of the backup tests with --delete-after. Wayne Davison 2005-04-07 09:09:17 +00:00
  • c2523a0541 Don't call maybe_flush_socket() quite so often. Wayne Davison 2005-04-07 08:32:32 +00:00
  • 92739a0aa7 Mention the latest changes. Wayne Davison 2005-04-07 08:28:06 +00:00
  • cd908ef4ff Fix a bug with --delete-after combined with --backup. Wayne Davison 2005-04-07 08:13:44 +00:00
  • ebd33e0cea Use the new HAVE_LSEEK64 define. Wayne Davison 2005-04-06 02:08:21 +00:00
  • 5f2c5bf110 Added skipping of mkstemp() on HP-UX. Wayne Davison 2005-04-06 02:07:21 +00:00
  • 417099fa20 Periodically call maybe_flush_socket(). Wayne Davison 2005-04-05 20:08:51 +00:00
  • 626bec8e84 - Added maybe_flush_socket() for use by the generator. - Always maintain the last_io value for the generator. Wayne Davison 2005-04-05 20:07:42 +00:00
  • a06e2b7cab When doing a delete pass with do_progress output, get rid of the temporary output (it used to always be covered up by output in older versions, but it might be followed by a newline in newer versions). Wayne Davison 2005-04-05 19:51:13 +00:00
  • 3ae5367ff2 Document the use of --address in client mode. Wayne Davison 2005-04-05 06:00:17 +00:00
  • b4ef0bca47 Allows --address to be used in client mode. Wayne Davison 2005-04-05 05:59:49 +00:00
  • 4313d6f9c0 Changed the bind_address local variables to be named bind_addr in order to avoid confusion with the bind_address global. Wayne Davison 2005-04-05 05:52:49 +00:00
  • 2a0dd9bd70 Make sure that the line buffer in readfd_unbuffered() is large enough to handle long-filename messages on a system that has a really short MAXPATHLEN value. Also, make it large enough to be able to comment on a MAXPATHLEN filename. Wayne Davison 2005-04-04 17:27:56 +00:00
  • 3eeac9bc7e In writefd_unbuffered(), make sure that we don't look at the r_fds variable when we're ignoring msg_fd_in. Wayne Davison 2005-04-04 00:48:39 +00:00
  • 67de72bd9b Mention fix for --compare-dest. Wayne Davison 2005-04-01 18:18:17 +00:00
  • 552a218468 Make a local-copy caused by a not-quite-up-to-date --compare-dest or --link-dest file be output as a 'c' (local change) when itemizing or as transfered file when not itemizing. Wayne Davison 2005-04-01 18:12:22 +00:00
  • d940151496 - Conditionally include <locale.h>. - Conditionally call setlocale(LC_CTYPE, ""). Wayne Davison 2005-04-01 17:25:37 +00:00
  • f5c7f4abe7 - Changed version to 2.6.5cvs. - Look for setlocale(), locale.h, and honor --disable-locale. Wayne Davison 2005-04-01 17:25:34 +00:00
  • 3ae6c1875d Starting the 2.6.5 news. Wayne Davison 2005-04-01 17:25:28 +00:00
  • 1ad6a7f611 Moved the 2.6.4 news here. Wayne Davison 2005-04-01 17:25:26 +00:00
  • 89d26123ff Changed safe_fname() to output \### (octal) to escape non-printable characters (not ?) and \\ to escape \ itself. Wayne Davison 2005-04-01 16:48:54 +00:00
  • 46bffd98cb Fix the setting of module_dirlen for a module path of "/". This fixes a crash in the exclude code when chroot is off. Wayne Davison 2005-04-01 00:18:40 +00:00
  • 41b84ce012 Don't try to tweak read-only dest-dir permissions in list-only mode. Wayne Davison 2005-03-31 23:30:03 +00:00
  • de392f1e5c Preparing for release of 2.6.4 v2.6.4 Wayne Davison 2005-03-31 03:14:34 +00:00
  • 0455cd933d - Made the handling of adjacent percents (e.g. "%%b") work like it did in older versions. - Added a comment for log_format_has(). Wayne Davison 2005-03-31 03:01:26 +00:00
  • d9c0051fae In log_formatted(), add the newline to the format string so that we can call rwrite() instead of rprintf(). Wayne Davison 2005-03-31 01:09:18 +00:00
  • 126e7affb7 Enabled width-sizing for %L. Wayne Davison 2005-03-31 00:50:58 +00:00
  • 624d6be2a5 Use new log_format_has() function instead of strstr(). Wayne Davison 2005-03-31 00:21:15 +00:00
  • 16f960feb5 Added log_format_has(). Wayne Davison 2005-03-31 00:19:13 +00:00
  • e145d51ba6 Make sure that we can't scan past the end of the format string. Wayne Davison 2005-03-30 23:39:00 +00:00
  • dcbae65444 Optimized '%f' a little more. Wayne Davison 2005-03-30 20:41:11 +00:00
  • b4bf2b5a7e Allow %i to have a field width. Wayne Davison 2005-03-30 20:18:48 +00:00
  • 9baed7609c - Allow the infix field width to start with a '-'. - Apply the field width to all escapes, not just numeric ones. Wayne Davison 2005-03-30 19:44:29 +00:00
  • 1c2efa1706 Mention the numeric field width now possible in the % escapes. Wayne Davison 2005-03-30 19:41:51 +00:00
  • 80a24d52d4 Mention that the % escapes can now have a numeric infix. Wayne Davison 2005-03-30 19:39:11 +00:00
  • af9f56a09d dropped the "const" from the return value of safe_fname() because some callers would like to manipulate the string in the buffer. Wayne Davison 2005-03-30 19:34:20 +00:00
  • ddd74b67be Allow the escapes in the log-format string to contain a numeric field width (e.g. %8l %07p). Wayne Davison 2005-03-30 18:27:09 +00:00
  • 7b558d7f8b Fixed a comment. Wayne Davison 2005-03-30 17:31:35 +00:00
  • c87ae64a82 Moved a call to output_summary() up a line. Wayne Davison 2005-03-30 16:55:11 +00:00
  • b9f0ca7274 Tweaked a couple sentences. Wayne Davison 2005-03-30 16:51:33 +00:00
  • c1759b9fa2 Changed %i to output '>' for a local copy. Wayne Davison 2005-03-30 16:35:01 +00:00
  • 9c63d83d3d Got rid of a useless extern. Wayne Davison 2005-03-30 16:33:41 +00:00
  • 1ed91a04fe - Fixed a potential crash if the receiver couldn't open the basis file and the sender (possibly via a batch) tells us to use basis data. - Enhanced the batched-update skipping message to indicate what phase is being skipped. Wayne Davison 2005-03-29 22:05:33 +00:00
  • 154cdaaa40 - Warn about missing batched updates the generator wants but the batch doesn't have. - Tweaked the "skipping ..." message that is output for already- applied batched updates. Wayne Davison 2005-03-29 19:49:40 +00:00
  • 33c4b445ef Split report() into handle_stats() and output_report() so that (1) the report happens after all --delete-after activity has ceased when pulling, and (2) a batch-file created when pushing gets the stats values written out prior to any end-of-run keep-alive packets. Wayne Davison 2005-03-29 11:11:35 +00:00
  • 53135fe89a Changed maybe_emit_filelist_progress() and emit_filelist_progress() to take an integer count instead of a struct file_list so that we can pass in a file-list-count offset for delete's separate calls to send_directory(). Wayne Davison 2005-03-29 10:57:31 +00:00
  • 083acd496d Turn off do_progress during the file-update phase so that --delete-during and --fuzzy don't get any superfluous " N files..." lines output in the middle of the processing. Wayne Davison 2005-03-29 10:41:26 +00:00
  • 00348fd793 Preparing for release of 2.6.4pre4 v2.6.4pre4 Wayne Davison 2005-03-29 06:18:24 +00:00
  • ddb6fc696b Improved several items and preparing for final 2.6.4 release. Wayne Davison 2005-03-29 06:15:47 +00:00
  • f7e48a5cb8 Add data for 2.6.4. Wayne Davison 2005-03-29 06:15:08 +00:00
  • 70352269ba If --delay-updates wasn't specified, write out two -1 indexes at the same time to avoid a useless round-trip delay for an empty delay-updates phase. Wayne Davison 2005-03-29 01:04:20 +00:00
  • 0b94147928 Added --protocol and made some batch-file improvements. Wayne Davison 2005-03-28 20:54:06 +00:00
  • da9f59264f Added --protocol to --help output. Wayne Davison 2005-03-28 20:40:25 +00:00
  • 96b7b48efa Some temporary code for 2.6.4pre3 compatibility (which can be safely removed for the next release). Wayne Davison 2005-03-28 17:29:27 +00:00
  • aea4bf2894 Chaging ITEM_UNUSED back to ITEM_DUMMY_BIT for now -- we'll need to get rid of it later on. Wayne Davison 2005-03-28 17:08:47 +00:00
  • 855ef72f3f Changed ITEM_DUMMY_BIT to ITEM_UNUSED. Wayne Davison 2005-03-27 05:58:40 +00:00
  • 98dc857b32 Got rid of temporary code that detected and rejected older 2.6.4 pre-release versions. Wayne Davison 2005-03-27 05:58:38 +00:00
  • 94af17a6eb Got rid of temporary code that set the ITEM_DUMMY_BIT. Wayne Davison 2005-03-27 05:58:36 +00:00
  • 00fd35482e --compress is now saved in a batch's option-state flags. Wayne Davison 2005-03-27 05:49:24 +00:00
  • cc3e0770bc Decided that the '<' and '>' output in the %i format were the opposite of what they should be. Wayne Davison 2005-03-27 05:32:36 +00:00
  • e7f7064cc5 - Fixed a bug in the saving of the --dirs option's state. - Added the saving of the --compress option's state. - Deal with the xfer_dirs var in a better way for pre-29 batches. Wayne Davison 2005-03-27 05:02:49 +00:00
  • 7b759fe0df Mention that --dry-run no longer conflicts with the batch options. Wayne Davison 2005-03-25 16:45:58 +00:00
  • 254ee3baab - Don't complain if --dry-run is specified with --read-batch or --write-batch. - If --write-batch is combined with --dry-run, just disable --write-batch (that avoids trying to create a batch file and tells the user what would be transferred). Wayne Davison 2005-03-24 16:41:16 +00:00
  • f957e8fdf9 If --dry-run is enabled with --read-batch, we must discard the transfer data. Wayne Davison 2005-03-24 16:38:34 +00:00
  • 822012eea9 List /etc instead of /, but only if it exists and is readable. Wayne Davison 2005-03-23 16:04:17 +00:00
  • bb21ecac5b Mention when we run fakeroot. Wayne Davison 2005-03-18 02:10:34 +00:00
  • 648859bda2 If we're not root and the "fakeroot" command is available, use it to re-run the script while pretending to be root. Wayne Davison 2005-03-18 02:07:25 +00:00
  • f328e0f3a8 Set a maximum distance-measure that find_fuzzy() will accept. Wayne Davison 2005-03-17 08:59:48 +00:00
  • 6012eaa183 Fixed a problem with the stripping of the .bak/.old/.orig suffixes in find_filename_suffix(). Wayne Davison 2005-03-17 08:45:36 +00:00
  • da2a6c1f1c Fixed the -r kluge sent for pre-2.6.4 --list-only support. Wayne Davison 2005-03-17 00:52:33 +00:00
  • 0438f100ae We need to run our post-processing activities after the end of the receiver's delay-update processing. Wayne Davison 2005-03-17 00:41:18 +00:00
  • b95ad9ac55 Mention one other recent change. Wayne Davison 2005-03-16 02:50:00 +00:00
  • 828a256123 Preparing for release of 2.6.4pre3 v2.6.4pre3 Wayne Davison 2005-03-16 01:12:44 +00:00
  • ebf447ac81 Changed error message for incompatible 2.6.4 pre-release versions. Wayne Davison 2005-03-16 01:06:33 +00:00
  • 124f349ea1 Document error messages 6 and 25. Wayne Davison 2005-03-15 23:23:45 +00:00
  • 26718401fb Added the error message for RERR_LOG_FAILURE and used it when the daemon can't open the log-file. Wayne Davison 2005-03-15 23:23:41 +00:00
  • f463e20753 Added RERR_LOG_FAILURE define. Wayne Davison 2005-03-15 23:23:39 +00:00