Commit Graph

  • a0f1ed55cd Change the daemon-timeout conveyance into a protocol-31 message. Wayne Davison 2009-10-27 12:34:39 -07:00
  • 4dde3347fb Fix %b and %c so that they count per-transfer bytes again. Wayne Davison 2009-10-25 22:22:03 -07:00
  • 44a97a34b1 Enhance log_format_has() to understand the "'" modifier. Wayne Davison 2009-10-25 21:24:48 -07:00
  • 281a141ea7 Updated NEWS with some of the recent changes. Wayne Davison 2009-10-25 13:51:09 -07:00
  • 8e6b4ddbe8 A few more --files-from fixes, and an enhanced testsuite for it. Wayne Davison 2009-10-24 12:39:58 -07:00
  • 9ccc8f8bbb Add a check30 target. Wayne Davison 2009-10-24 12:37:26 -07:00
  • 2170667802 Make use of $suitedir. Wayne Davison 2009-10-24 11:42:29 -07:00
  • 705132bcee Fixed some backward-compatibility issues with --files-from. Wayne Davison 2009-10-24 11:12:37 -07:00
  • 0dd2310cac Moved some --iconv text that was supposed to be in --files-from. Wayne Davison 2009-10-24 00:23:21 -07:00
  • cbc63a09e8 Fixed a couple iconv loops to properly handle incomplete chars that span two reads. Wayne Davison 2009-10-24 00:15:40 -07:00
  • a0a88e0ef3 Move free_xbuf() into ifuncs.h. Wayne Davison 2009-10-23 22:55:06 -07:00
  • d8a7290f86 Give iconvbufs() an ICB_INIT flag. Wayne Davison 2009-10-23 22:51:29 -07:00
  • 3b8f819222 A protocol 31 daemon will inform the client about its timeout setting so that the client will be able to cooperate with keep-alive. Wayne Davison 2009-10-20 15:07:51 -07:00
  • 8b3e6fb985 Make sure daemon's io_timeout is used as a maximum value. Wayne Davison 2009-10-20 15:05:15 -07:00
  • d720569422 Moved a few group-related functions with some minor tweaks; Wayne Davison 2009-10-19 11:21:55 -07:00
  • 0a56ef128c Silence some rprintf() size_t warnings. Wayne Davison 2009-10-19 08:06:21 -07:00
  • 0a9fbe17de Allow %VAR% environment references in daemon-config parameter values. Wayne Davison 2009-10-17 15:53:25 -07:00
  • d23cc156aa Call seteuid() when calling setuid(). Wayne Davison 2009-10-17 15:03:11 -07:00
  • 6f098b0f8c Fix some man page problems Scott Kostyshak pointed out. Wayne Davison 2009-10-17 11:06:49 -07:00
  • 1ec57e4ddc Fix check for an empty output buffer and limit to flist_eof. Wayne Davison 2009-10-17 09:09:27 -07:00
  • 20caffd2b3 A major overhaul of I/O routines, creating perform_io(). Wayne Davison 2009-10-16 22:39:21 -07:00
  • df6350a8b8 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
  • 7a7810aa2f Avoid calling send_extra_file_list() when we shouldn't. Wayne Davison 2009-10-13 10:45:23 -07:00
  • 41000dffc1 Avoid stopping multiplexed out over the message fd. Use simpler multiplexed-out stopping method. Make sure we can't false-match a socket fd. Wayne Davison 2009-10-12 09:03:42 -07:00
  • d8587b4690 Change the msg pipe to use a real multiplexed IO mode for the data that goes from the receiver to the generator. Wayne Davison 2009-09-15 16:12:24 -07:00
  • e8bb37f567 Better mask handling, including some changes to help solaris. Wayne Davison 2009-09-12 09:40:31 -07:00
  • ee1c00fea8 Pass "new_mode" to set_acl() and change its return values. Wayne Davison 2009-09-12 09:27:07 -07:00
  • 1b502f3ec2 Put file descriptor arg at the start of the arg list for consistency. Wayne Davison 2009-09-12 09:13:38 -07:00
  • 44d7d045c7 Improve the "--delete does not work without -r or -d" message. Wayne Davison 2009-09-07 14:22:59 -07:00
  • 1a2e41af94 Add support for transferring & setting nsec time values. Wayne Davison 2009-09-07 13:49:52 -07:00
  • accc091fe9 Always use lutimes() if it is available. Wayne Davison 2009-09-07 13:45:33 -07:00
  • 4b660bae92 Add a few new "dont compress" suffixes and improve the docs. Wayne Davison 2009-09-05 10:26:51 -07:00
  • 2f1fb732d4 Improve error handling and get rid of a lingering fprintf(). Wayne Davison 2009-09-05 10:25:42 -07:00
  • 59924aa8cf Fix daemon's conveyance of io_error value from sender. Wayne Davison 2009-09-05 09:40:53 -07:00
  • b15fa9bd7b 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
  • 2c1aa2efac Need to use O_RDONLY in solaris sys_lremovexattr(). Wayne Davison 2009-09-03 15:25:55 -07:00
  • 6e310d38fc Have --fake-super turn a symlink into a file when NO_SYMLINK_XATTRS is defined. Wayne Davison 2009-09-02 09:06:29 -07:00
  • 3b83a22057 Define and use "our_gid" variable. Wayne Davison 2009-09-02 08:56:34 -07:00
  • 8e15bd87dd Better compiling if SUPPORT_LINKS is not defined. Wayne Davison 2009-09-02 08:53:40 -07:00
  • 4a440e4be8 Rebuild proto.h if config.h changes. Wayne Davison 2009-09-02 08:52:41 -07:00
  • 486ecd3d9c Fix attropen() flags for writing an xattr on solaris. Wayne Davison 2009-09-02 07:36:57 -07:00
  • 17cc4c383b Fix read_xattr() for solaris. Wayne Davison 2009-09-01 12:11:32 -07:00
  • c55fb5e1d6 Create non-transferred files in a more atomic manner: If a symlink, device, special-file, or hard-linked file is replacing an existing non-directory, the new file is created using a temporary filename and then renamed into place. Also changed the handling of a cluster of hard-linked symlinks/devices/special-files to always ensure the first item in the cluster is correct, since it doesn't really save any significant work to try to find an existing correct item later in the cluster to link with. Wayne Davison 2009-08-29 11:27:40 -07:00
  • 8a21be11f0 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
  • ce827c3e50 Have the sender use dead time to pad out the file list. Wayne Davison 2009-08-22 08:15:26 -07:00
  • 2523d0cc14 Allow Solaris sys_llistxattr() to return the list length when size == 0. Wayne Davison 2009-08-15 06:40:12 -07:00
  • 18bd04018d Fix some variable references. Wayne Davison 2009-08-15 06:27:19 -07:00
  • 4c3e9c09eb Fix a bogus free in uncache_tmp_xattrs(). Wayne Davison 2009-08-14 07:04:24 -07:00
  • 2daed024b1 Fix a bogus free in uncache_tmp_xattrs(). Wayne Davison 2009-08-14 07:04:24 -07:00
  • 05a652d0b7 Some improvements to the solaris xattr routines. Inspired by the patch to bug 6633. Wayne Davison 2009-08-13 08:02:00 -07:00
  • 845ed84d70 Fix a warning about a %d not getting an int (on some platforms). Wayne Davison 2009-08-10 09:24:53 -07:00
  • 049f8cbc8a Initial version of xattr routines for Solaris. Wayne Davison 2009-08-08 13:27:58 -07:00
  • 0d5ebab1d6 Add conditional support for excluding types of files from xattr ops. Wayne Davison 2009-08-08 13:21:26 -07:00
  • dab0fb7cf0 Get section reference right. Fixes bug #6573. Wayne Davison 2009-08-01 11:28:45 -07:00
  • 62342430bf Added solaris IPv6 checking to configure. Fixes #6438. Patch from Tim Spriggs. Wayne Davison 2009-06-05 12:56:15 -07:00
  • 63070274f2 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
  • 06886d36cf Adding a new script that creates a local patch/* branch for each file given on the command-line. Wayne Davison 2009-05-23 13:40:34 -07:00
  • 9ba4d44fa8 Improved the usage output. Wayne Davison 2009-05-23 13:40:23 -07:00
  • 350242c5c1 Determine the master's commit hash and note it in each patch that is based on the master in the new "based-on:" line. Wayne Davison 2009-05-23 13:12:01 -07:00
  • 181c9faf92 Mention some recent changes. Wayne Davison 2009-05-23 11:45:17 -07:00
  • c8fa85b23b Refactorings to the filter code, most notably: Matt McCutchen 2009-05-23 10:59:14 -07:00
  • a61ec6b168 Improved a couple variable names. Wayne Davison 2009-05-23 10:08:17 -07:00
  • 7b6c5c7794 Use typedefs for the filter structures. Wayne Davison 2009-05-23 08:50:42 -07:00
  • b32d425451 Change filter MATCHFLGs to FILTRULEs. Wayne Davison 2009-05-23 08:01:43 -07:00
  • 134f97c9cc Support an older AIX system that doesn't have ENOTSUP. Wayne Davison 2009-05-14 11:23:38 -07:00
  • 87755c6cea 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
  • 8f73c8a498 Adding release info for 3.0.6 to the trunk. Wayne Davison 2009-05-08 11:13:37 -07:00
  • 6622816eff Preparing for release of 3.0.6 v3.0.6 Wayne Davison 2009-05-08 10:07:14 -07:00
  • 3f137ce0e2 Fix typo pointed out by Chris Pepper. Wayne Davison 2009-05-07 08:02:17 -07:00
  • 0cdb547f5c Fix typo pointed out by Chris Pepper. Wayne Davison 2009-05-07 08:02:17 -07:00
  • 56017d3150 Enhance name_to_{u,g}id() to optionally parse numbers and rename to {user,group}_to_*(). Based on a patch by Matt McCutchen. Wayne Davison 2009-05-07 07:34:42 -07:00
  • d616bff57f Move the description of include/exclude modifiers to a better place in the man page. Matt McCutchen 2009-05-04 22:30:47 -04:00
  • d960af72b2 Move the description of include/exclude modifiers to a better place in the man page. Matt McCutchen 2009-05-04 22:30:47 -04:00
  • fd2b6046cb Clarify which options are transfer rules, and what that means. Wayne Davison 2009-04-27 07:21:56 -07:00
  • 40b3a59fc8 Clarify which options are transfer rules, and what that means. Wayne Davison 2009-04-27 07:21:56 -07:00
  • 4640ae85fe Change sending/receiving/storing of the rdev value for special files. Since the value is not needed, the (superfluous) sending of the value is optimized so that a valid rdev value is sent as efficiently as possible. The receiver no longer caches an rdev value for special files, and the generator will always pass a 0 rdev value to do_mknod() for special files. Fixes bug #6280. Wayne Davison 2009-04-26 07:49:00 -07:00
  • a8e6e14869 Change sending/receiving/storing of the rdev value for special files. Since the value is not needed, protocol 31 no longer sends it, while older protocols are optimized so the sender just sends a valid rdev value as efficiently as possible. The receiver no longer caches an rdev value for special files, and the generator will always pass a 0 rdev value to do_mknod() for special files. Fixes bug #6280. Wayne Davison 2009-04-26 07:28:55 -07:00
  • 307555eba3 Use upper-case HLINK in a --debug setting to avoid a really weird bug in the strncasecmp() of OpenSUSE 10.2 (x86_64). Wayne Davison 2009-04-13 21:07:12 -07:00
  • 24f739c118 Clarify the read-batch fix. Wayne Davison 2009-04-13 07:42:20 -07:00
  • 261808dac1 Switch to upper-case in the {debug,info}_verbosity arrays. Wayne Davison 2009-04-13 07:37:49 -07:00
  • 5250c3bc20 Changed the commands used to "make gen" without any stoppage. Wayne Davison 2009-04-12 15:18:33 -07:00
  • 996824825f Preparing for release of 3.0.6pre1 v3.0.6pre1 Wayne Davison 2009-04-12 15:28:34 -07:00
  • bbef6566cd Changed the commands used to "make gen" without any stoppage. Wayne Davison 2009-04-12 15:18:33 -07:00
  • 9be5093726 Don't allow --remove-s*-files with --read-batch. Wayne Davison 2009-04-12 12:57:31 -07:00
  • 9eaba7266c Don't allow --remove-s*-files with --read-batch. Wayne Davison 2009-04-12 12:57:31 -07:00
  • d510e82fc6 Fixed the use of --xattrs with --only-write-batch. Wayne Davison 2009-04-12 12:51:20 -07:00
  • feb8dacc14 Fixed the use of --xattrs with --only-write-batch. Wayne Davison 2009-04-12 12:48:59 -07:00
  • 4e9c7fae8f The suffix must be non-empty if the backup-dir is the same as the dest dir. Wayne Davison 2009-04-11 17:31:13 -07:00
  • 3696674bc6 More backup improvements: Wayne Davison 2009-04-11 11:31:31 -07:00
  • 5e2d51ee06 Fix "just in case" unlink. Prefer renaming of normal files if hard-linking fails. Wayne Davison 2009-04-11 06:32:25 -07:00
  • d735fe2014 Improved link_or_rename() to handle prefer_rename better. Wayne Davison 2009-04-10 23:16:41 -07:00
  • 7e6c8ad653 Don't try to backup a file being removed from the backup area. Wayne Davison 2009-04-10 23:14:06 -07:00
  • ff908116ef Allow a "make reconfigure" to continue, even if the Makefile changes. Wayne Davison 2009-04-10 16:24:12 -07:00
  • 407ea78a62 Allow a "make reconfigure" to continue, even if the Makefile changes. Wayne Davison 2009-04-10 16:24:12 -07:00
  • cb197514d9 Fixed an ACL/xattr corruption issue where the --backup option could cause rsync to associate the wrong ACL/xattr information with received files. Wayne Davison 2009-04-10 16:22:44 -07:00
  • ea53d161be Fixed an ACL/xattr corruption issue where the --backup option could cause rsync to associate the wrong ACL/xattr information with received files. Wayne Davison 2009-04-10 16:09:39 -07:00
  • a055dbdd88 Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests. Wayne Davison 2009-04-10 08:19:16 -07:00
  • 7875e6fe63 Don't try to simplify an ACL that has a mask w/o any named values. Wayne Davison 2009-04-09 22:49:24 -07:00
  • 5eb8bd4962 Don't try to simplify an ACL that has a mask w/o any named values. Wayne Davison 2009-04-09 22:49:24 -07:00
  • 8e2771aa6e Some improvements to the rsync.yo manpage: - Mention the switch from MD4 to MD5. - Mention the default for the --log-file-format option. Wayne Davison 2009-04-07 07:32:35 -07:00