Commit Graph

  • bee9df73c1 Changed the parsing of suffixes for --min-size and --max-size a little. Wayne Davison 2005-11-12 20:08:00 +00:00
  • 60613dc896 Output the stats and the end-of-run verbose output using the new human_num() and human_dnum() functions, which both honor the new --human-readable option. Wayne Davison 2005-11-12 19:53:26 +00:00
  • e175fb07f7 Added two new functions: human_num() and human_dnum(), which output numbers in human-readable units if the --human-readable option was specified. Wayne Davison 2005-11-12 19:53:23 +00:00
  • 4a70af6f81 Added the human_readable variable (for linking with util.o). Wayne Davison 2005-11-12 19:53:20 +00:00
  • 8f14cc496b Parse the new --human-readable (-m) option. Wayne Davison 2005-11-12 19:53:17 +00:00
  • 3b4ecc6b80 Document the new --human-readable (-m) option. Wayne Davison 2005-11-12 19:53:12 +00:00
  • a7e60f0c59 Only call cleanup_set() if keep_partial is set. Wayne Davison 2005-11-10 16:57:30 +00:00
  • 3d7cc5710d If cleanup_set() gets passed a NULL fnametmp or fname, set cleanup_fname to NULL. Wayne Davison 2005-11-10 16:56:32 +00:00
  • 86fc7e6880 Got rid of a superfluous newline. Wayne Davison 2005-11-10 16:47:52 +00:00
  • acee11fc60 - Indent the "oom:" label away from column 0. - Got rid of a superfluous newline. Wayne Davison 2005-11-10 16:47:27 +00:00
  • b2e7c91313 Indent the "prepare_to_open:" and "notify_others:" labels away from column 0. Wayne Davison 2005-11-10 16:47:03 +00:00
  • 97b7bff4d6 - Got rid of a superfluous empty line. - Indent the "oom:" and "skip_filters:" labels away from column 0. Wayne Davison 2005-11-10 16:45:00 +00:00
  • e16ca9ef31 Got rid of a superfluous empty line. Wayne Davison 2005-11-10 16:44:06 +00:00
  • b2e6caa01e Indent the "failure:" label away from column 0. Wayne Davison 2005-11-10 16:43:44 +00:00
  • 2997e9f769 Indent the "oom:" label away from column 0. Wayne Davison 2005-11-10 16:42:46 +00:00
  • 2374023982 Mention the big improvement when --delete and --checksum were specified. Wayne Davison 2005-11-10 06:43:10 +00:00
  • 902f03d101 In make_file(), only compute the checksum when we're the sender. This stops computing useless checksums during the delete scan when --checksum (-c) was specified. Wayne Davison 2005-11-10 06:01:55 +00:00
  • cfe3978049 Use the new checksum_len value instead of recomputing the right value for the current protocol_version over and over. Wayne Davison 2005-11-10 03:07:18 +00:00
  • 7752df41b7 Compute the right checksum length for the current protocol_version only once instead of over and over again. Wayne Davison 2005-11-10 03:00:38 +00:00
  • d8b108c2a1 If a partial-dir file is present but the main file is up-to-date, just remove the partial-dir file. Wayne Davison 2005-11-10 02:56:58 +00:00
  • 184dd27a18 Call delete_in_dir(NULL, NULL, NULL) in do_delete_pass(). Wayne Davison 2005-11-09 19:46:42 +00:00
  • 0e5665d3ab Made recursively deleting extraneous directories more memory efficient by removing the need for a MAXPATHLEN buffer on the stack of delete_item(). Wayne Davison 2005-11-09 19:39:46 +00:00
  • ef3bb69ad8 Mention the new --chmod option. Wayne Davison 2005-11-07 04:47:06 +00:00
  • 45d41d08bd Test the --chmod option. Wayne Davison 2005-11-07 04:28:52 +00:00
  • dd32e2c3d4 Added support for the new --chmod option. Wayne Davison 2005-11-07 04:28:35 +00:00
  • 2b7e0f33a6 Call tweak_mode() on regular files and dirs if --chmod was specified. Wayne Davison 2005-11-07 04:28:32 +00:00
  • 0582cdae8d Added chmod.o to OBJS2. Wayne Davison 2005-11-07 04:28:29 +00:00
  • 9e8ea423e2 Document the new --chmod option. Wayne Davison 2005-11-07 04:28:23 +00:00
  • 0c983c1fd4 New --chmod support routines. Wayne Davison 2005-11-07 04:23:22 +00:00
  • 3381ffa6ea Fixed a sign error in the output. Wayne Davison 2005-11-03 19:55:30 +00:00
  • 3b15340966 Mention the change in the output of --progress. Wayne Davison 2005-11-03 19:46:45 +00:00
  • 91683c434b Make the just-updated file-count status even less cryptic. Wayne Davison 2005-11-03 19:45:59 +00:00
  • 9e7530c414 Improved the output of the transferred-file count and the position in the flist (which was changed to a countdown of files to check) so that it's clearer what the numbers mean. Wayne Davison 2005-11-03 19:38:14 +00:00
  • 8fd30fc43c Got rid of some early-checksum code that accidentally got committed. Wayne Davison 2005-11-02 07:22:02 +00:00
  • b1b04fcdd4 Mention lower stack requiements for recursion. Wayne Davison 2005-11-01 20:13:20 +00:00
  • 56f0c976be Decreased the amount of stack needed for each level of directory recursion by eliminating the need for a MAXPATHLEN buffer in send_if_directory(). Also improved a few variable names in send_file_list(). Wayne Davison 2005-11-01 20:09:41 +00:00
  • 9aacb4df0e Fixed a typo pointed out by Peter Strazovec. Wayne Davison 2005-10-30 22:29:59 +00:00
  • 0fdb1aa8ff In the device section, avoid calling unlink() if the stat() failed. Wayne Davison 2005-10-30 22:28:11 +00:00
  • bad0110609 Document the new --compress-level option. Wayne Davison 2005-10-26 16:48:44 +00:00
  • 3cc185a088 Handle new def_compress_level setting. Wayne Davison 2005-10-26 16:48:07 +00:00
  • e8a8167ad9 Obey new def_compress_level setting. Wayne Davison 2005-10-26 16:47:49 +00:00
  • 854a1aad35 Added --compress-level option. Wayne Davison 2005-10-26 16:47:15 +00:00
  • 84e6d6fdcd - Changed the "status" variables into "exit_code" variables. - Added an error message to wait_process_with_flush() that reports the errno we get when waitpid() fails. - Increased the value of MAXCHILDPROCS. Wayne Davison 2005-10-26 15:53:04 +00:00
  • f14a65d94c Tweaked the error message for RERR_WAITCHILD. Wayne Davison 2005-10-26 15:50:14 +00:00
  • 37439b36e7 Updated the docs for pre-/post-xfer exec. Wayne Davison 2005-10-24 21:03:53 +00:00
  • c95ca2a228 Enhanced the "pre-xfer exec" handling so that it gets the user's request info and puts that into the environment as RSYNC_REQUEST. Wayne Davison 2005-10-24 21:03:50 +00:00
  • 97d8e7095f Changed wait_process() into a simpler, yet more versatile function, and used it in the new wait_process_with_flush() function (the old function's new name). Made wait_process() public. Wayne Davison 2005-10-24 21:03:47 +00:00
  • 20c1926a01 Fixed a typo in a comment. Wayne Davison 2005-10-20 18:30:33 +00:00
  • d030233def Get rid of some superfluous empty lines. Wayne Davison 2005-10-19 07:49:10 +00:00
  • 35812ea1f9 One extra tweak to the just-committed code. Wayne Davison 2005-10-15 19:15:29 +00:00
  • d649b78920 Added relative_paths extern. Wayne Davison 2005-10-15 19:11:36 +00:00
  • 7e43da819e If we're sanitizing paths with --relative enabled, we need to preserve the first /./ dir so that we can use its position to trim the implied directories. Wayne Davison 2005-10-15 19:08:31 +00:00
  • 40aaa571b4 Document --ignore-non-existing (not --existing) and what happens if the option is combined with --ignore-existing. Wayne Davison 2005-10-15 16:39:31 +00:00
  • 470319d33b Changed the --help text to mention --ignore-non-existing instead of --existing. Wayne Davison 2005-10-15 16:38:35 +00:00
  • 1db954e9bc Made parse_size_arg()'s parsing a little stricter. Wayne Davison 2005-10-15 06:53:04 +00:00
  • d697314b42 Mention --min-size/--max-size changes. Wayne Davison 2005-10-14 20:40:31 +00:00
  • 59dd678603 Documented --min-size. Wayne Davison 2005-10-14 20:16:21 +00:00
  • 02b5cb238b Added code to implement the --min-size logic. Wayne Davison 2005-10-14 20:16:09 +00:00
  • 74de13d19c Added handling of the --min-size option. Wayne Davison 2005-10-14 20:15:18 +00:00
  • 837d01dd5a Improved parse_size_arg() a little more. Wayne Davison 2005-10-14 19:48:34 +00:00
  • 926d86d1f9 Document the extended parsing of --max-size values. Wayne Davison 2005-10-14 19:03:05 +00:00
  • aeb213ea0c Improved parse_size_arg() so that it can be told to use powers of ten instead of binary K/M/G powers, and so that it can be told to add or subtract one from the result. We also make sure to pass the arg to --max-size in a compatible manner with older versions. Wayne Davison 2005-10-14 18:56:07 +00:00
  • 7c6ea3d8c7 Fixed a typo in an option name. Wayne Davison 2005-10-12 23:59:00 +00:00
  • d409c6ac9c Mention va_copy change. Wayne Davison 2005-10-11 20:21:56 +00:00
  • 92f0b9d6ab If va_copy is defined, use it when defining VA_COPY. Wayne Davison 2005-10-11 20:21:03 +00:00
  • 2c8c8bbaad Pass XFLG_ABS_IF_SLASH instead of XFLG_ANCHORED2ABS for server excludes. Wayne Davison 2005-10-07 18:40:30 +00:00
  • 4fc8140a60 Support new XFLG_ABS_IF_SLASH flag. Wayne Davison 2005-10-07 18:39:40 +00:00
  • 699f7024f1 Added XFLG_ABS_IF_SLASH. Wayne Davison 2005-10-07 18:38:25 +00:00
  • ce0da32a9c Mention recent changes. Wayne Davison 2005-10-07 18:24:35 +00:00
  • 82360c6b17 Clarify how the fitler rule "-/" works. Wayne Davison 2005-10-07 18:18:16 +00:00
  • 493568465b Improved the usage comments. Wayne Davison 2005-10-04 04:12:28 +00:00
  • bf485d3d6b A simple filter script to output messages from a single module. Wayne Davison 2005-10-03 18:40:59 +00:00
  • e90aab4982 Changed the variable names for --existing and --ignore-existing. Wayne Davison 2005-09-29 18:07:55 +00:00
  • 550d4e2346 Reverted one xfer_dirs change from the last commit that should not have gone in. Wayne Davison 2005-09-29 17:27:11 +00:00
  • 991daf008d Keeping silent about stat() errors is never a good idea -- it hides files that are not up-to-date. Wayne Davison 2005-09-29 17:07:45 +00:00
  • 505ada146c Mention that --delete now works with --dirs. Wayne Davison 2005-09-29 08:15:34 +00:00
  • 75c51953f1 - When --dirs is specified w/o --recursive, avoid marking solo dirs with the XMIT_TOP_DIR flag. - Only set in_del_hier if --recursive is enabled. Wayne Davison 2005-09-29 07:48:05 +00:00
  • 8d6c1c4e97 Allow deletions to occur in directories transferred with the --dirs option in addition to the regular --recursive behavior. Wayne Davison 2005-09-29 07:41:50 +00:00
  • 10a1a3f511 Fixed a poorly-worded sentence and a misspelled word. Wayne Davison 2005-09-29 07:37:00 +00:00
  • 40e6752fba Some systems don't define WCOREDUMP(), so #ifdef that code. Wayne Davison 2005-09-26 17:41:14 +00:00
  • dbefb6b4e4 Fixed wait_process() to handle cases where waitpid() fails or the child process did not exit cleanly. Wayne Davison 2005-09-26 17:12:13 +00:00
  • 6016841086 Changed RERR_CRASH to RERR_CRASHED. Wayne Davison 2005-09-26 17:11:03 +00:00
  • 0047f535ef Handle new RERR_CRASH AND RERR_TERMINATED exit codes. Wayne Davison 2005-09-26 17:07:50 +00:00
  • 90eca40d27 Defined RERR_CRASH and RERR_TERMINATED. Wayne Davison 2005-09-26 17:06:33 +00:00
  • 0417c34e2d Mention some chanages in the patches dir. Wayne Davison 2005-09-26 04:47:25 +00:00
  • d64c2b226a Use AC_HELP_STRING() in the two AC_ARG_WITH() macros that used a hard-wired string. Wayne Davison 2005-09-24 17:17:30 +00:00
  • 868676dc15 Reordered the usage lines to cover push, then pull (which has a better visible pattern than covering push & pull for each host-type). Wayne Davison 2005-09-21 22:39:49 +00:00
  • e31058d41e Cast some time values to (int), just to silence some warnings on Stratus VOS. Wayne Davison 2005-09-21 17:42:15 +00:00
  • ea8291d8f7 Include limits.h (if it exists), which defines NAME_MAX on some systems. Wayne Davison 2005-09-21 17:38:44 +00:00
  • 1348267518 If we get less data than expected from a read() in map_ptr(), we need to try to keep reading to see if we get an error or more data. Wayne Davison 2005-09-21 17:37:41 +00:00
  • f0323d68eb Check for limits.h. Wayne Davison 2005-09-21 17:35:51 +00:00
  • 12a01be14f Tweaked the output that the mknod() tests generate. Wayne Davison 2005-09-21 17:15:58 +00:00
  • e0a18ce3f7 Tweaked some comments. Wayne Davison 2005-09-19 17:21:00 +00:00
  • 8ad5cea371 Changed one strcpy() into a strlcpy(). Wayne Davison 2005-09-17 21:49:24 +00:00
  • 9059e0ac2f Improved the sDefault initialization so that the prefixed comments exactly match the variable names (making sure that they will sort exactly the same way as the variables). Wayne Davison 2005-09-16 20:35:05 +00:00
  • 29fad7a3d8 Got rid of some old command-line parsing code that was only useful when talking to a 1.x client. Wayne Davison 2005-09-16 16:40:30 +00:00
  • 02efda9f01 Mention '!' fix. Wayne Davison 2005-09-16 16:14:24 +00:00
  • 35a388b141 Really fix '!' in a .cvsignore file this time. Wayne Davison 2005-09-16 16:10:01 +00:00
  • 9a4a237ede Tweaked the code a little in the always_checksum handling of the send & receive file-list functions. Wayne Davison 2005-09-16 05:52:54 +00:00
  • 5efbddbadb Mention that the dir used with --delay-updates cannot be on a different filesystem from the destination files. Wayne Davison 2005-09-15 22:27:14 +00:00