Commit Graph

  • 794f2cbab3 Adding release info for 3.0.7 to the trunk. Wayne Davison 2009-12-31 13:41:14 -08:00
  • 54f00c3f89 Preparing for release of 3.0.7 v3.0.7 Wayne Davison 2009-12-31 13:08:07 -08:00
  • 12e59929e2 Allow any gcc to make use of __builtin_alloca for alloca. Wayne Davison 2009-12-30 19:58:57 -08:00
  • 1fc8c51705 Allow any gcc to make use of __builtin_alloca for alloca. Wayne Davison 2009-12-30 19:58:57 -08:00
  • fc4bb1230e Configure check for -Wno-unused-parameter now tries to link too. Wayne Davison 2009-12-30 19:57:47 -08:00
  • b04604945d Configure check for -Wno-unused-parameter now tries to link too. Wayne Davison 2009-12-30 19:57:47 -08:00
  • a01e3b490e Change naming of local patch-related branches and unify the git-status checking into a library. Wayne Davison 2009-12-30 12:48:15 -08:00
  • 2b2a473831 Add understanding of RSYNC_PROTECT_ARGS environment var. Wayne Davison 2009-12-30 12:02:52 -08:00
  • 808b1d61c0 Fixed the passing of a '/' modifier for an absolute-path filter rule. Wayne Davison 2009-12-30 12:25:33 -08:00
  • 4c4a296209 Allow "./configure --with-protect-args" to make -s the default. Wayne Davison 2009-12-29 12:08:41 -08:00
  • e89a0fc094 Handle check-in and tagging of patches dir. Wayne Davison 2009-12-26 14:29:51 -08:00
  • 2f01fb1152 Preparing for release of 3.0.7pre2 v3.0.7pre2 Wayne Davison 2009-12-24 08:31:37 -08:00
  • 164faae84f Improve handling of MSG_IO_ERROR message. Wayne Davison 2009-12-23 14:10:25 -08:00
  • ae358c1960 Revert to having the receiver handle timeouts on the receiving side. This will give 3.0.7 the standard timeout handling with just a few improvements: a fix for the detection of recent sender I/O, the use of MSG_DATA for really old rsync versions, and better setting of select_timeout for shorter timeout settings. Wayne Davison 2009-12-23 11:31:28 -08:00
  • 212dfdb960 Preparing for release of 3.0.7pre1 v3.0.7pre1 Wayne Davison 2009-12-21 18:25:00 -08:00
  • c11a77894b Ensure that the generator gets notified about an I/O error for the dir that generated the error. This ensures that a --delete-during avoids deleting in a newly transferred inc-recurse directory. Requires 3.0.7 or greater on both sides of the transfer. Wayne Davison 2009-12-21 14:27:55 -08:00
  • de6ab501b6 Pass the 'f' compatibility flag to the server (via -e) so that 3.0.7 knows we support the safer flist-xfer method. Wayne Davison 2009-12-21 14:37:47 -08:00
  • 96cce18ce6 Defer forwarding messages during the forwarding of flist data. Wayne Davison 2009-12-21 13:48:44 -08:00
  • a21264a8b9 Mention the compress fix. Wayne Davison 2009-12-21 10:52:54 -08:00
  • 96486cc534 Mention latest --timeout fixes. Wayne Davison 2009-12-21 10:25:15 -08:00
  • e0b1b82d84 Don't die if inflate() returns Z_BUF_ERROR in see_deflate_token(). Wayne Davison 2009-12-21 10:13:52 -08:00
  • 4286ea6036 Don't die if inflate() returns Z_BUF_ERROR in see_deflate_token(). Wayne Davison 2009-12-21 10:13:52 -08:00
  • 626b5ae839 Don't set last_io_out in check_timeout. Wayne Davison 2009-12-19 13:42:35 -08:00
  • d94b958400 Improve --timeout method to take into account all socket I/O that is going on. The receiving side also switches timeout handling from the receiver to the generator. Given this setup, all keep-alive messages are now sent as empty MSG_DATA messages, with MSG_NOOP messages only being understood and (when necessary) acted upon to forward a keep-alive event to an older receiver. This is both safer and more compatible with older versions. Wayne Davison 2009-12-19 13:38:25 -08:00
  • 79731940bb Added an am_receiver variable. Wayne Davison 2009-12-19 10:14:49 -08:00
  • 92d021488e Improve --timeout method to take into account all I/O that is going on. The receiving side also switches timeout handling from the receiver to the generator, which obviates the need for the sender to send any keep-alive messages at all (for protocol 31 and beyond). Given this setup, all keep-alive messages are now sent as empty MSG_DATA messages, with MSG_NOOP messages only being understood and (when necessary) acted upon to forward a keep-alive event to an older receiver. This is both safer and more compatible with older versions. Wayne Davison 2009-12-19 10:15:15 -08:00
  • 82b2a31a46 Added an am_receiver variable. Wayne Davison 2009-12-19 10:14:49 -08:00
  • eeea1bbd72 Improved some I/O comments. Wayne Davison 2009-12-17 09:00:52 -08:00
  • bdc038fce0 Use 0-length MSG_DATA when MSG_NOOP is not available (is both safer and supports older rsyncs). Wayne Davison 2009-12-16 13:32:03 -08:00
  • aa3999d66c Fix the val reading for MSG_ERROR_EXIT. Use 0-length MSG_DATA when MSG_NOOP is not available (is both safer and supports older rsyncs). Wayne Davison 2009-12-16 12:08:53 -08:00
  • 6e9ad2bb03 Allow per-test timeout overrides. Give hardlinks more time. Wayne Davison 2009-12-15 08:44:46 -08:00
  • c5130bc123 Improve the timeout messages. Wayne Davison 2009-12-15 08:32:18 -08:00
  • 2eacba9c41 Avoid -u option to id since solaris doesn't support it. Wayne Davison 2009-12-13 18:15:09 -08:00
  • f8e1fa6272 Free a strdup() in do_cmd() that checker was complaining about. Wayne Davison 2009-12-13 19:28:01 -08:00
  • 8e7f3107a4 Avoid -u option to id since solaris doesn't support it. Wayne Davison 2009-12-13 18:15:09 -08:00
  • c2dd3ec32c Avoid a compiler warnings about a signed/unsigned mismatch. Wayne Davison 2009-12-13 17:52:05 -08:00
  • e9ad7bb1f8 Increase the testrun timeout for slow compilefarm systems. Wayne Davison 2009-12-13 17:48:57 -08:00
  • b9107ee61e Fix a compiler warning about a %d mismatch. Wayne Davison 2009-12-13 17:47:35 -08:00
  • 45426a7604 Run each testsuite test with a timeout. Wayne Davison 2009-12-13 14:14:38 -08:00
  • dc2a0923a2 Avoid another checker warning. Wayne Davison 2009-12-13 13:21:30 -08:00
  • 0c5853c32e Get rid of some unused externs. Wayne Davison 2009-12-12 22:43:51 -08:00
  • 3baa4d2b31 Include info on who is exiting. Wayne Davison 2009-12-12 22:42:35 -08:00
  • ac32cdd7d4 Prevent the reading of another message before the end of the current one. Wayne Davison 2009-12-12 21:53:19 -08:00
  • 6d952fdbe7 Change a variable name in read_a_msg(). Wayne Davison 2009-12-12 21:40:02 -08:00
  • 018dc6f998 Mention the newly cherry-picked changes. Wayne Davison 2009-12-12 17:05:03 -08:00
  • 523dad4bb3 Use seteuid() (if available) when using setuid(). Wayne Davison 2009-12-12 16:43:13 -08:00
  • e0c17aa3b7 Beginning work on a 3.0.7 release. Wayne Davison 2009-12-12 16:20:54 -08:00
  • 79870bd269 Don't (wrongly) retouch dir permissions with --fake-super. (Patch from Matt.) Wayne Davison 2009-11-28 21:46:42 -08:00
  • e4368e37fe Add IPv6 detection on cygwin. Wayne Davison 2009-11-26 15:17:49 -08:00
  • eee529f571 Save first filename and linenum in case exit_cleanup() recurses. Wayne Davison 2009-11-08 00:12:33 -08:00
  • ff4715a7c2 Moved some --iconv text that was supposed to be in --files-from. Wayne Davison 2009-10-24 00:23:21 -07:00
  • 855983b434 Make sure daemon's io_timeout is used as a maximum value. Wayne Davison 2009-10-20 15:05:15 -07:00
  • 2455140b04 Fix some man page problems Scott Kostyshak pointed out. Wayne Davison 2009-10-17 11:06:49 -07:00
  • ae4d4205e3 Avoid type-punned compiler warnings for the byteorder.h macros by using inline functions for the 4-char <-> uint32 conversions. Wayne Davison 2009-10-13 21:07:46 -07:00
  • 9523670032 Improve the "--delete does not work without -r or -d" message. Wayne Davison 2009-09-07 14:22:59 -07:00
  • 01e57e926c Improve error handling and get rid of a lingering fprintf(). Wayne Davison 2009-09-05 10:25:42 -07:00
  • ebbab3788f Fix daemon's conveyance of io_error value from sender. Wayne Davison 2009-09-05 09:40:53 -07:00
  • d041c17c40 Avoid an dry-run error trying to stat a prior hard-link file that hasn't really been created. Wayne Davison 2009-09-05 08:16:22 -07:00
  • b2b1af40c2 Rebuild proto.h if config.h changes. Wayne Davison 2009-09-02 08:52:41 -07:00
  • c5759a2817 Fix the chmod-temp-dir test if /var/tmp doesn't exist. Fixes bug 6569. Wayne Davison 2009-08-22 09:33:55 -07:00
  • 5ef08b8c39 Get section reference right. Fixes bug #6573. Wayne Davison 2009-08-01 11:28:45 -07:00
  • 03f907e386 Added solaris IPv6 checking to configure. Fixes #6438. Patch from Tim Spriggs. Wayne Davison 2009-06-05 12:56:15 -07:00
  • 573e24346c Mention that --whole-file is not the default for a local transfer when writing a batch file. Wayne Davison 2009-06-01 09:09:09 -07:00
  • a415379037 Support an older AIX system that doesn't have ENOTSUP. Wayne Davison 2009-05-14 11:23:38 -07:00
  • cc4edc2d78 Switch from inet_aton() to inet_pton() (since we supply a compatibility function for the latter, it will always exist). Wayne Davison 2009-05-14 11:22:37 -07:00
  • 07bd6618b9 Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests. Wayne Davison 2009-04-10 08:19:16 -07:00
  • 870cf55287 This should fix another checker warning. Wayne Davison 2009-12-12 15:58:15 -08:00
  • 7d0fe4da70 Fix checker compile warning. Wayne Davison 2009-12-12 15:51:03 -08:00
  • 763880ba81 Turn iobuf.in into a circular input buffer. Wayne Davison 2009-12-12 15:16:46 -08:00
  • 2885270b52 Fix a hang that can happen when the sender is sending an extra file-list and no one is reading (i.e. do advantageous reading in perform_io()). Wayne Davison 2009-12-12 09:32:14 -08:00
  • 0c2e8f9364 Don't send MSG_ERROR_EXIT messages at the end of the transfer. Added some debug output for MSG_ERROR_EXIT messages. Wayne Davison 2009-12-12 08:54:36 -08:00
  • 24079e988f Don't (wrongly) retouch dir permissions with --fake-super. (Patch from Matt.) Wayne Davison 2009-11-28 21:46:42 -08:00
  • 8a68cad1f7 Add IPv6 detection on cygwin. Wayne Davison 2009-11-26 15:17:49 -08:00
  • d03c0b1ed3 Fix a comment. Wayne Davison 2009-11-23 22:45:29 -08:00
  • 907e6a32a0 Change the handling of circular buffers to not waste 4 bytes all the time (we only waste from 1-3 bytes some of the time). Wayne Davison 2009-11-23 08:16:18 -08:00
  • e4c598c830 Make some RERR_* choices better, and another noop_io_until_death() tweak. Wayne Davison 2009-11-16 12:35:17 -08:00
  • ae598f3847 Don't complain about a socket EOF unless it affects a read. Make sure a write error drains any messages in the input buffer. Wayne Davison 2009-11-15 12:49:09 -08:00
  • d85d029b92 Tweak the noop_io_until_death() timeout and comment it. Wayne Davison 2009-11-14 23:05:52 -08:00
  • d620b907e4 Improved a couple comments and added some "else" optimizations. Wayne Davison 2009-11-14 10:01:13 -08:00
  • 5692657757 No need to check MIN_FILECNT_LOOKAHEAD w/extra_flist_sending_enabled. Wayne Davison 2009-11-14 09:58:25 -08:00
  • c493b6b81d Make the two "wrap-bytes" sections simpler and more similar. Wayne Davison 2009-11-14 09:55:17 -08:00
  • 4e2a7e59e5 Prefer send_msg_int() over send_msg() for better debug output. Wayne Davison 2009-11-14 09:52:40 -08:00
  • b82d8c9d1a Tweaked sizing checks in perform_io(). Wayne Davison 2009-11-14 09:51:26 -08:00
  • 75ea845904 Fixed the buffer-has-space check in write_buf(). Wayne Davison 2009-11-14 09:43:02 -08:00
  • ce795fcd75 Make --bwlimit take the same size suffixes as the --max-size option (while keeping it backward compatible). Improve --bwlimit docs. Wayne Davison 2009-11-12 23:55:21 -08:00
  • aa381148a3 Fix the daemon test when running it as root. Wayne Davison 2009-11-12 22:05:45 -08:00
  • cece2e3f5e Make use of seteuid() determined by configure. Wayne Davison 2009-11-08 20:17:02 -08:00
  • f397616e00 Change an RERR_* to RERR_FILEIO. Wayne Davison 2009-11-08 11:51:02 -08:00
  • 4351c039ad Mention who got the unknown logcode. Wayne Davison 2009-11-08 11:50:43 -08:00
  • 304d7b5817 More improvements for abnormal exits. Wayne Davison 2009-11-08 11:43:16 -08:00
  • 9270e88d76 Save first filename and linenum in case exit_cleanup() recurses. Wayne Davison 2009-11-08 00:12:33 -08:00
  • 2907af472d Try to silence some warnings from "checker". Wayne Davison 2009-11-07 09:46:20 -08:00
  • 8346c62a95 Mention the error improvements. Wayne Davison 2009-11-07 09:46:01 -08:00
  • 4655dcf218 Give noop_io_until_death() a time limit. Wayne Davison 2009-11-07 09:45:43 -08:00
  • f9185203ee Added notifications about error-exit values: Wayne Davison 2009-11-07 00:39:50 -08:00
  • 84c11e85a4 Fix MSG_IO_TIMEOUT when the daemon is the receiver. Wayne Davison 2009-11-01 13:57:17 -08:00
  • 6be8a8b14d A daemon treats --msgs2stderr as "output only to the log, not the user". Wayne Davison 2009-11-01 13:36:02 -08:00
  • ef9d3a152b Make sure rwrite() can handle any logcode value in --msgs2stderr mode. Wayne Davison 2009-11-01 13:26:15 -08:00
  • fe16d9a67d Fix a hang when dealing with really large numbers of files in an incremental recursion scan. Wayne Davison 2009-10-29 17:35:50 -07:00
  • 23a0d1e200 Get rid of some unneeded externs. Wayne Davison 2009-10-27 12:38:30 -07:00