Commit Graph

  • b7e8628c4b - Added support for --copy-dest, which behaves like --link-dest, but it copies the identical files instead of hard-linking them. - Added support for multiple --*-dest options. Wayne Davison 2004-11-27 17:52:47 +00:00
  • e4977b0b9f - Define MAX_BASIS_DIRS. - Renamed FNAMECMP_CMPDEST to FNAMECMP_BASIS_DIR. Wayne Davison 2004-11-27 17:52:45 +00:00
  • b127c1dc58 Document --copy-dest and the support for multiple --*-dest options. Wayne Davison 2004-11-27 17:52:42 +00:00
  • 07bff66fb5 Fixed a socket-data conflict when verbosity is >= 2 and the files-from list is coming from a remote receiver. Wayne Davison 2004-11-20 17:10:54 +00:00
  • 4a888ae6d4 Mention latest fix. Wayne Davison 2004-11-20 07:23:20 +00:00
  • a0a33ee506 Call set_msg_fd_in() during the early phase of being a client sender so that we monitor the socket for any messages that it might send to us (and thus avoid a potential hang when verbosity is high). Wayne Davison 2004-11-20 07:08:44 +00:00
  • 98f8c9a5e5 Some minor improvements to read_msg_fd() made it safe to use both set_msg_fd_in() and read_msg_fd() during the early phase of being a client sender (up through the sending of the file list). This makes sure that the sender monitors the socket from the receiver for any messages that it might send to us, and thus avoids a hang when verbosity is high. Wayne Davison 2004-11-20 07:07:37 +00:00
  • 1f69bec480 Mention that the --bwlimit may now be combined with --daemon. Wayne Davison 2004-11-17 19:41:09 +00:00
  • 8f1b4f3642 - Mention the latest enhancements. - Aged the 2.6.3 news into OLDNEWS. Wayne Davison 2004-11-17 19:35:11 +00:00
  • ca39ebf9fb Aged the 2.6.3 release news. Wayne Davison 2004-11-17 19:34:31 +00:00
  • 9fb0844100 - Added the --bwlimit option to the options that are handled in combination with --daemon. This value is both a default bwlimit value and a maximum limit if the client asks for something larger. - Enabled popt support for option aliases. Wayne Davison 2004-11-17 19:29:20 +00:00
  • bdf278f7a5 Separate the daemon options from the normal client options. Wayne Davison 2004-11-17 19:11:53 +00:00
  • c8f2f8572f Tweaked the error code for a pipe() failure. Wayne Davison 2004-11-13 22:32:34 +00:00
  • 5d54f33962 Mentioned the new fork() check. Wayne Davison 2004-11-13 21:50:56 +00:00
  • ba449e444b Die with an appropriate error if do_fork() fails. Wayne Davison 2004-11-13 21:49:26 +00:00
  • 87ba7282f6 Mention the new --max-size option. Wayne Davison 2004-11-11 01:45:31 +00:00
  • 7d1bfaf7be Obey the max_size setting. Wayne Davison 2004-11-11 01:45:28 +00:00
  • 7d5acf1d44 Added the --max-size option. Wayne Davison 2004-11-11 01:45:25 +00:00
  • 3610c4583a Document --max-size. Wayne Davison 2004-11-11 01:45:22 +00:00
  • 41cfde6be3 Checking in the g2r-basis-filename patch that ensures that the receiver uses the same basis file that the generator used (avoiding a duplicate check that could cause a hang if a compare-dest file was a named pipe). Wayne Davison 2004-11-03 20:30:31 +00:00
  • 34bde8d54a Always include lib/snprintf.o when we include lib/compat.o. Wayne Davison 2004-11-02 16:47:15 +00:00
  • 1ed55e3e3e Mention latest fix. Wayne Davison 2004-10-27 06:35:50 +00:00
  • f80a8520e8 Don't ever call make_backup() if we're removing a destination directory (just remove it). Wayne Davison 2004-10-27 06:34:13 +00:00
  • 740bab942d Mention the latest bug-fix. Wayne Davison 2004-10-18 20:44:09 +00:00
  • 08b1b4860f Fixed an off-by-one error in the handling of --max-delete=N. Wayne Davison 2004-10-18 20:41:57 +00:00
  • 18ea5dc0d7 Mention new option parsing. Wayne Davison 2004-10-14 17:11:28 +00:00
  • 3ac7f5d4c1 Separate the daemon options so that the user can't mix client options with daemon options and visa versa. Wayne Davison 2004-10-14 17:08:15 +00:00
  • ad71500818 It seems that some popt releases don't define POPT_TABLEEND, so don't use it. Wayne Davison 2004-10-14 09:11:12 +00:00
  • b2ad840a6b Decided we don't need the build_gen target after all. Wayne Davison 2004-10-12 20:08:51 +00:00
  • 8db7cc2cff - Got rid of some awkward spacing in the long_options table. - Use the POPT_TABLEEND macro to end the long_options table. - Improved the count_args() function to accept a NULL pointer. - Simplified the code that sets *argc using count_args(). Wayne Davison 2004-10-11 10:43:25 +00:00
  • ac1541f4b7 Mention the latest changes. Wayne Davison 2004-10-10 20:33:07 +00:00
  • 09e2bbce8a Call flush_write_file() in _exit_cleanup() if we are keeping a partially-received file. Wayne Davison 2004-10-10 20:31:54 +00:00
  • 73496a36a1 Handle systems where the makedev() macro is named mkdev(). Wayne Davison 2004-10-08 21:27:22 +00:00
  • 8303cc1021 A new target, build_gen, works like gen w/o man-page generation. Wayne Davison 2004-10-08 19:52:38 +00:00
  • ab759cd27b Improved an error message by using rsyserr(). Wayne Davison 2004-10-07 17:02:39 +00:00
  • 64444de582 Mention in -a's usage message that -H isn't implied. Wayne Davison 2004-10-07 17:00:36 +00:00
  • e425fbe85d Re-enable the "!" token-handling in a .cvsignore file. Wayne Davison 2004-10-06 00:10:08 +00:00
  • 4f4b2f0927 The device-handling code is no longer omitted based on HAVE_MKNOD (this is because do_mknod() might be using a different function to handle fifos and sockets without the help of mknod(). Wayne Davison 2004-10-01 06:58:23 +00:00
  • da6eb9d123 Improved do_mknod() so that it handles creating a fifo file and a socket file when mknod() itself does not. Wayne Davison 2004-10-01 06:56:14 +00:00
  • 1b15e07e99 Make sure that all programs that use syscall.o also include lib/compat.o so that we can use strlcpy(). Wayne Davison 2004-10-01 06:53:26 +00:00
  • e49d720081 - Check if struct sockaddr_un has a sun_len member. - Check if mknod() can make a fifo file. - Check if mknod() can make a socket file. Wayne Davison 2004-10-01 06:51:34 +00:00
  • 3267d6a9ce Some systems need do_mkstemp() to use setmode() to set O_BINARY. Wayne Davison 2004-10-01 02:34:22 +00:00
  • 3ba2c330e1 Check for the setmode() function. Wayne Davison 2004-10-01 02:31:10 +00:00
  • 618c8a73db Preparing for release of 2.6.3 v2.6.3 Wayne Davison 2004-09-30 16:36:42 +00:00
  • aa0ea373cd Mention the enhancement that was made (quite a while ago) to the daemon's wildcard-expansion limit (formerly 1000 items, now memory limited). Wayne Davison 2004-09-30 10:46:43 +00:00
  • 6c3fda83ba Refined the text of a few of the news items. Wayne Davison 2004-09-30 09:58:39 +00:00
  • a3571c6cce - Mention the fix for lost output with 2>&1. - Prepare the file for the 2.6.3 final release. Wayne Davison 2004-09-30 09:37:38 +00:00
  • 6fcedb7dbe Mention the (anticipated) 2.6.3 release date. Wayne Davison 2004-09-30 09:36:29 +00:00
  • 18882701d2 Set our stderr output to blocking I/O to avoid any loss of output. Wayne Davison 2004-09-29 17:58:07 +00:00
  • 30c041f9ad Changed the errors concerning the secrets file to output with FLOG instead of FERROR. Wayne Davison 2004-09-24 17:04:05 +00:00
  • be7cf82299 - Make sure that match_address() always restores the "tok" string, even on error. - Turned the various FERROR messages into (the more proper) FLOG. Wayne Davison 2004-09-24 16:50:07 +00:00
  • fde045cd77 Turned the various FERROR messages into (the more proper) FLOG. Wayne Davison 2004-09-24 16:39:41 +00:00
  • 183150b741 Added some more --inplace info (i.e. it implies --partial and conflicts with 3 basis-file-affecting options). Wayne Davison 2004-09-23 21:15:04 +00:00
  • a2570930e8 Made the refused-option message clearer, like Paul suggested. Wayne Davison 2004-09-23 17:39:05 +00:00
  • fdb6716c0f Create a FIFO using mkfifo. Wayne Davison 2004-09-23 16:34:43 +00:00
  • a20a88d235 Assume that gettimeofday() takes two arguments when cross-compiling. Wayne Davison 2004-09-23 16:00:44 +00:00
  • 48d3ff94c9 Only output major/minor info for a character/block device, not for a FIFO or a socket. Wayne Davison 2004-09-23 05:33:48 +00:00
  • a33857da09 Mention that --partial-dir now sets an exclude that helps to avoid losing the partial data when deleting, and avoid copying any partial data from the sender. Wayne Davison 2004-09-22 04:14:43 +00:00
  • 13791b1eeb If the partial-dir value is relative, add a directory-exclude for it to the end of the user's exclude list. Wayne Davison 2004-09-22 04:12:13 +00:00
  • 9a5e37fca8 In get_exclude_tok(), if XFLG_DIRECTORY was passed in the xflags, set MATCHFLG_DIRECTORY in the mflags we return. Wayne Davison 2004-09-22 04:11:15 +00:00
  • 3e976df0fb Added XFLG_DIRECTORY define. Wayne Davison 2004-09-22 04:10:10 +00:00
  • 42afed9c1a Preparing for release of 2.6.3pre2 v2.6.3pre2 Wayne Davison 2004-09-21 16:10:35 +00:00
  • 37c36e2692 Mention the daemon-socket-connection change. Wayne Davison 2004-09-21 15:47:20 +00:00
  • 7fbc7031f4 Mentioned a couple more changes. Wayne Davison 2004-09-21 15:31:33 +00:00
  • 9f004a9ea9 The delete_one() function no longer needs to handle the case where it thinks it is removing a directory and it is really removing a symlink. Wayne Davison 2004-09-21 09:24:06 +00:00
  • 23f4587f2b - Turned readlink_stat() into a static function. - Made readlink_stat() no longer honor keep_dirlinks. - The make_file() function now checks keep_dirlinks late in the function so that it only transforms a symlink to a local dir into a directory if the receiver also has a directory by that name. This makes the use of --delete with --keep-dirlinks work much better. Wayne Davison 2004-09-21 09:24:02 +00:00
  • 4d8f5b0ae7 - Fixed a problem with the $bakdir value. - Made the files have better contents to copy. - Also test --backup without --backup-dir. Wayne Davison 2004-09-20 19:50:04 +00:00
  • 89389a29ef Output a backup message when verbose > 1 and we did a copy prior to an --inplace update. Wayne Davison 2004-09-20 19:47:59 +00:00
  • 29fe3961ab Output the same backup-message prefix when verbose > 1 regardless of the setting of --backup-dir. Wayne Davison 2004-09-20 19:46:45 +00:00
  • 4e8a085ac9 Use $diffopt instead of -u. Wayne Davison 2004-09-20 05:17:57 +00:00
  • fb22c2774d Got rid of a superfluous static buffer. Wayne Davison 2004-09-20 05:01:38 +00:00
  • 7d059d4c37 A simple test of the backup functionality. Wayne Davison 2004-09-20 04:59:01 +00:00
  • 9715c5899a Improved a comment. Wayne Davison 2004-09-20 04:17:42 +00:00
  • cc07f21211 Mention the new RSYNC_PARTIAL_DIR environment variable. Wayne Davison 2004-09-18 17:37:54 +00:00
  • b4d1e854ef Document the new RSYNC_PARTIAL_DIR environment variable. Wayne Davison 2004-09-18 17:35:20 +00:00
  • 075aa18fd4 Look for the RSYNC_PARTIAL_DIR environment variable when --partial was specified (and --partial-dir was not). Wayne Davison 2004-09-18 17:34:56 +00:00
  • e0204f5621 Mention that older rsync versions had a problem with --link-dest and how to work around it. Wayne Davison 2004-09-18 01:49:19 +00:00
  • a9ac4411e5 Mention the latest changes. Wayne Davison 2004-09-17 16:53:51 +00:00
  • 50b31539c2 - Added the ability to parse a literal IPv6 address in an "rsync:" URL (e.g. rsync://[2001:638:500:101::21]:873/module/dir). - Improved a couple --files-from error messages. Wayne Davison 2004-09-17 16:50:53 +00:00
  • 56194bcd95 When outputting the flist info (in a debug-level of verbosity) we now mention the UID of the file when we are the sender (as well as when we are root). Wayne Davison 2004-09-17 16:39:34 +00:00
  • eb8ffa9040 Actually, since the close calls shouldn't fail (now that listener is properly set to -1 on close), we don't really need to play the save-errno game after all. Wayne Davison 2004-09-16 17:22:31 +00:00
  • a7a1cc2c75 Make sure that /etc and /bin actually are readable before we try to list them. Wayne Davison 2004-09-16 17:16:36 +00:00
  • ab217f7ffa - Set "listener" to -1 after we close it so that the error-handler doesn't try to re-close it. - Set blocking I/O before the second (final) connect() call. Wayne Davison 2004-09-16 17:09:46 +00:00
  • a20c9893e4 Don't try to optimize-away the sending of the --delete option if --delete-after was specified (since we don't know what the protocol version will be yet). Wayne Davison 2004-09-08 07:33:06 +00:00
  • 3bb400ca14 If --backup was used with --inplace, we don't limit the basis-file matches (as we normally would) because the receiver is using the backup-file as the basis-file. Wayne Davison 2004-09-07 21:45:19 +00:00
  • cd6aa5b5c0 When --backup is used with --inplace, we make a copy of the destination file into its backup spot while generating the checksums. Wayne Davison 2004-09-07 21:44:02 +00:00
  • dc55d7bdab If we're making backups with --inplace, use the backup file as the basis file while still updating the real destination file inplace. Wayne Davison 2004-09-07 21:34:26 +00:00
  • 8b115ac8dc Turn off make_backups during the redo phase, just like the receiver. Wayne Davison 2004-09-07 21:32:36 +00:00
  • c94e4afbfa Moved the code that determines the backup filename into a new function named get_backup_name(). Wayne Davison 2004-09-07 21:29:26 +00:00
  • 6566d205e2 Made full_write() non-static. Wayne Davison 2004-09-07 21:26:26 +00:00
  • e484f0cc04 W mustn't backup an inplace file in finish_transfer(). Wayne Davison 2004-09-07 20:37:36 +00:00
  • bd397b8cba Reject the use of --compare-dest or --link-dest with --inplace (it will take extra code to suppor this). Wayne Davison 2004-09-07 20:36:36 +00:00
  • f8c8ef9eac When we say we're skipping a non-regular file, actually skip it. Wayne Davison 2004-09-07 19:49:09 +00:00
  • 72c19bb3de A minor optimization to the partial-dir code. Wayne Davison 2004-09-07 17:03:51 +00:00
  • 89f7eff382 Fix the case where a partial-dir file exists but the destination file does not. Wayne Davison 2004-09-07 16:50:07 +00:00
  • b90a6d9ff6 Mention that --whole-file interferes with the reuse of a --partial-dir file. Wayne Davison 2004-09-07 16:49:10 +00:00
  • 584ba4ebae Fixed a typo Paul pointed out. Wayne Davison 2004-09-05 21:30:00 +00:00
  • ba3db4795e Allow the use of the --exclude*/--include* options to a server process again, but make sure that the user didn't specify a server-excluded file for one of the --*-from options. Wayne Davison 2004-08-26 17:39:48 +00:00
  • 59d73bf3d2 Some fixes & clarifications for the BATCH MODE section. Wayne Davison 2004-08-18 07:50:36 +00:00
  • 919ca3a3cc Few few more minor improvements to the existing change items. Wayne Davison 2004-08-18 07:49:03 +00:00