Commit Graph

  • 6de417d9d4 If the system's popt.h file is not found, use our provided popt code. Wayne Davison 2008-03-16 20:35:18 -07:00
  • ffe8feb265 Added "const" to a couple more char * args. Wayne Davison 2008-03-16 19:48:44 -07:00
  • c9b62cf375 Fixed hard-linking when some of the files can get skipped. This adds the FLAG_SKIP_HLINK flag, which gets set on any hard-linked file that the user wants to skip (e.g. via --ignore-existing, --append, etc.). The code in hlink.c now deals with the skipped files instead of triggering an assert() error. Wayne Davison 2008-03-16 18:06:47 -07:00
  • 7bc595785e Made the FLAG_MOUNT_DIR bit only honored on a directory. Wayne Davison 2008-03-16 17:52:01 -07:00
  • 022dec7aba Moved the --append check so that files that don't need to be transferred still get their non-content attributes updated, and combining --append with --hard-links will not prevent the discovery of unchanged files. Wayne Davison 2008-03-16 17:50:28 -07:00
  • ddaef70ced Make the --ignore-existing option not overwrite a regular file with a dir/symlink/device/special-file, just like it already refuses to overwrite a non-regular file with a regular file. Wayne Davison 2008-03-16 17:06:52 -07:00
  • 2357a51e09 A daemon no longer tries to refuse the iconv option when it is not enabled. Wayne Davison 2008-03-16 12:11:19 -07:00
  • 24ded29ff6 Fixed a hang when using --remove-source-files in dry-run mode. Wayne Davison 2008-03-16 06:56:26 -07:00
  • ddff23a7f9 Added missing $(CPPFLAGS) from the building of rounding.h. Wayne Davison 2008-03-15 14:09:20 -07:00
  • 53936ef935 Fixed the use of --protect-args (-s) with a daemon. Wayne Davison 2008-03-15 11:25:01 -07:00
  • 7f9bf6b710 Generate a helpful message when we get an option-error from a daemon while requesting a file-listing and we suspect that the remote rsync is complaining about the -d option. Wayne Davison 2008-03-15 08:51:07 -07:00
  • cfdb27b0c1 Another optimization of "bp" adding when creating a file_struct. Wayne Davison 2008-03-15 07:27:33 -07:00
  • fc3ca11040 Got rid of some useless uses of the -t option. Wayne Davison 2008-03-15 07:26:46 -07:00
  • d6c9c3319b - Fixed a crash bug when backing up files with ACLs enabled and we create a directory in the backup-path area. - Fixed a bug where make_file() was setting F_PATHNAME() on the receiving side. - A non-pool (temp-memory) file structure now stores the size of its extra_cnt value in the F_DEPTH() int so that unmake_file() can always be sure of how to free() the memory. - The ACL-preserving code no longer allocates 4 more bytes per file entry than it needs. - Got rid of a useless adding of the symlink length to "bp". Wayne Davison 2008-03-15 00:43:31 -07:00
  • 8afaef4219 Have configure check to see if /usr/include/popt/popt.h is around (rather than /usr/include/popt.h), and use the included popt lib if it is (to avoid a potential conflict due to our use of -I.). Wayne Davison 2008-03-14 22:55:59 -07:00
  • 11faa893ca (Matt) More itemize clarifications. Wayne Davison 2008-03-13 17:45:13 -07:00
  • 600b56b316 Clarify that the change/checksum itemize flag can be missing when talking to older rsync versions. Wayne Davison 2008-03-12 16:51:13 -07:00
  • ee39281d14 Fixed the 'T' itemized output for a symlink the right way this time. Wayne Davison 2008-03-11 14:50:21 -07:00
  • 0607c30700 - One more fix for the 'T' itemized output for a symlink when we're the client on the receiving side of a protocol-29 connection. Wayne Davison 2008-03-11 07:25:31 -07:00
  • 492ad04277 (Matt) Add missing --no-y option. Wayne Davison 2008-03-10 21:40:04 -07:00
  • 1ed9018e69 Fixed some itemized logging failures: - If a symlink/device/special-file changes its value without any attribute changes, the itemized event no longer gets dropped. - We put a 'c' into the checksum/change field now to indicate when a symlink/device/special-file changes its value without changing its type. This lets us properly interpret the --copy-links output to know which items are getting copied without changes and which are getting created with new content. - Fixed the 'T' itemized output for a symlink when rsync tries to set the right time but fails due to lack of OS/disk support. Wayne Davison 2008-03-10 21:15:37 -07:00
  • ff0e15804f Fixed the itemizing of perms with -E. Wayne Davison 2008-03-09 19:50:51 -07:00
  • 894e6299c1 Some popt improvements: - Fixed a bug in short-opt parsing when an abutting arg has an '='. - Allow a short-opt to be separated from its arg by an '='. - Avoid an IBM-checker warning about an impossible case in a switch and a warning about a potential NULL-pointer dereference. - Fixed a memory leak. Wayne Davison 2008-03-08 10:54:17 -08:00
  • c080190365 Fixed the latest xattrs tests on OS X. Wayne Davison 2008-03-07 17:13:38 -08:00
  • 26f0e56587 Restore a long-attribute test that was temporarily disabled. Wayne Davison 2008-03-07 16:45:26 -08:00
  • b4e6aac985 Fixed a syntax problem for non-HAVE_LINUX_ATTRS systems. Wayne Davison 2008-03-07 16:41:09 -08:00
  • 7c21776e54 Handle the very latest spot for the nightly dir. Wayne Davison 2008-03-07 16:25:05 -08:00
  • d724dd186e Fixed the interaction of --fake-super with --link-dest & --xattrs. Fixed the munging of non-user namespace xattrs w/--fake-super. Fixed the sorting of received xattrs when name-munging occurs. Added xattr tests to verify that these things stay fixed. Wayne Davison 2008-03-07 16:16:29 -08:00
  • cbbd8e2e8b The --fake-super option conflicts with -XX (which copies internal rsync xattrs literally). Wayne Davison 2008-03-07 15:23:39 -08:00
  • af6241f7ad Simplify the description of what we're doing. Wayne Davison 2008-03-06 09:40:46 -08:00
  • 852e763b89 Added even more no-OPTION overrides. Wayne Davison 2008-03-06 09:38:48 -08:00
  • 0f71592015 Made the description of ignored symlink errors more accurate. Wayne Davison 2008-03-06 09:36:57 -08:00
  • e63d3a29e2 Updated nightly-rsync and release-rsync to handle the new ftp directory layout. Wayne Davison 2008-03-04 23:56:45 -08:00
  • 38cef641a5 Updated rrsync to deal with the latest 3.0.0's use of the -e option. Added a couple more long options that might get passed. Wayne Davison 2008-03-04 22:50:41 -08:00
  • 6226396c4a Don't call utimes() on a dir that doesn't need its mtime changed. Wayne Davison 2008-03-04 22:48:01 -08:00
  • 89b47d43de - Made the itemize test check for CAN_HARDLINK_SYMLINK define instead of running its own test using ln. - Made the merge test call checkit with absolute paths so that some folk's cd command won't foul things up with extra output. Wayne Davison 2008-03-04 21:46:00 -08:00
  • d1c06c2180 Fixing a problem with a NULL config_file pointer when accessing a single-use daemon without no --config option specified. Added a test to ensure that this doesn't break in the future. Wayne Davison 2008-03-03 18:33:11 -08:00
  • 800a4485f3 Improved the error-checking when tweaking the files for a new release. Wayne Davison 2008-03-03 11:37:42 -08:00
  • fede378577 Updated copyright year in --version output and improved the release script to look for year changes in options.c and to get the version defaults totally right in the prompts. Wayne Davison 2008-03-03 08:46:30 -08:00
  • 3bc207b9dd Fixed a thinko and a typo in the --append option. Wayne Davison 2008-03-03 07:16:38 -08:00
  • ebac031925 Show the last compile error if we failed to create rounding.h. Wayne Davison 2008-03-01 21:00:41 -08:00
  • 3cbe640d3c Tweak the files to start work on the next release. The work-in-progress version is 3.0.1dev. Wayne Davison 2008-03-01 20:35:18 -08:00
  • 4cb6197b21 Preparing for release of 3.0.0 v3.0.0 Wayne Davison 2008-03-01 12:12:04 -08:00
  • d3d07a5e86 Include 2008 in the copyright years. Wayne Davison 2008-03-01 12:01:41 -08:00
  • 62ca38262f Fixed the lastversion default when changing from a pre-release to a final release. Ensure that newly-created "extra files" get included in the diff. Wayne Davison 2008-03-01 11:26:03 -08:00
  • d62fb8894f Mention a couple more items of note. Wayne Davison 2008-03-01 09:47:13 -08:00
  • fc29efc38d Use variables to hold the constant itemized strings so that future changes are easier to make. Wayne Davison 2008-02-27 17:48:25 -08:00
  • c4c9bb944b Temporarily set uid_ndx in the delete code if the transfer is not preserving ownership, but we want to know what the UIDs are on the files we're deleting. Changed the DEL_OWNED_BY_US flag to be DEL_NO_UID_WRITE, which is only set when a file is owned by us and we can't write to it. Fixed a glitch in the error handling of the --delete-delay code where it might try to enable delete-after in incremental-transfer mode. Made a simple (well tested) optimization in the --delete-delay code and a few other readability changes. Wayne Davison 2008-02-27 16:19:05 -08:00
  • 236adddc18 Use preserve_[ug]id values for send/recv checking, which will allow the delete code to temporarily set [ug]id_ndx during delete processing, as needed. Got rid of a couple duplicate tests. Wayne Davison 2008-02-27 16:15:14 -08:00
  • 5b3aa8028b Added missing init_iconv() call when initiating a daemon transfer. Wayne Davison 2008-02-27 07:19:13 -08:00
  • 16e24c2043 Don't force the user to start from the master branch when any clean starting branch will do. Return to the starting branch. Wayne Davison 2008-02-24 13:16:01 -08:00
  • 7869953bbf Fixed the description of the 'x' in the itemized output. Wayne Davison 2008-02-23 20:55:01 -08:00
  • d07edfc895 Added a default to the new switch in str_acl_type(). Wayne Davison 2008-02-23 08:14:18 -08:00
  • 85b057cccf Check the return code from mbr_uid_to_uuid()/mbr_gid_to_uuid() so that the user sees the right error if they failed. Wayne Davison 2008-02-23 07:44:55 -08:00
  • a2c473bb59 Tweaked the ACL type-names returned by str_acl_type() so that error messages are a little clearer. Wayne Davison 2008-02-23 07:31:29 -08:00
  • f587061a5b Cast ai->ai_addrlen to int for an rprintf() call using %d. Wayne Davison 2008-02-22 15:15:32 -08:00
  • d9e92804a5 The code expects id_t and mode_t to be unsigned, so the code now defines each one to be unsigned int (instead of int) when the type is missing. Wayne Davison 2008-02-21 20:51:54 -08:00
  • 46e858a631 Improved several things in the NEWS files, including some typos that Matt fixed. Wayne Davison 2008-02-20 09:52:33 -08:00
  • e0fe5231c2 Output info on what's being signed to make it clearer what is happening. Improved the final admonition. Wayne Davison 2008-02-19 19:17:08 -08:00
  • 698bc16e87 Preparing for release of 3.0.0pre10 v3.0.0pre10 Wayne Davison 2008-02-19 18:28:00 -08:00
  • 7b4f48650c Make a few more char pointers const. Wayne Davison 2008-02-19 16:35:22 -08:00
  • a43ff267e9 Tweaked a comparison that "checker" was complaining about. Wayne Davison 2008-02-19 11:52:00 -08:00
  • 717d04669a Fixed the hard-link check again, adding a comment as to why it is coded the way it is. Wayne Davison 2008-02-18 17:16:08 -08:00
  • 15dbffc215 Fixed a compilation problem when iconv support is disabled. Wayne Davison 2008-02-18 16:48:20 -08:00
  • 0099e42332 Only set FLAG_TIME_FAILED if receiver_symlink_times is set. Wayne Davison 2008-02-18 16:48:04 -08:00
  • 1ed56a05c2 Extended the protocol-30 info-passing code at startup, and use it to tell the client if the server can set the times on a symlink (both the server->client byte and the client->server use of -e). Make use of this info to allow the proper output of the 't' flag when rsync can set the time on a symlink (and we're talking protocol >= 30). Added output of "[no] symtimes" info in the --version message. Fixed the itemize.test so that it works when rsync believes that it can set the time of a symlink, but it can't really do it. Wayne Davison 2008-02-18 14:10:13 -08:00
  • 28fb6365d0 Added --no-one-file-system and --no-x options. Wayne Davison 2008-02-18 12:42:04 -08:00
  • 8365126b8d Some permssion fixes: - Changed itemized output to only report 'p' with -p or -E. - Fixed a duplicate output of a link-dest file with -vv but no -i. - Improved unchanged_attrs() to handle -E. Wayne Davison 2008-02-18 10:02:35 -08:00
  • d770837ec0 Fixed a typo reported in a Debian bug report. Wayne Davison 2008-02-18 09:59:44 -08:00
  • 59658acfec Mention the leading '*'-char rule for itemized output. Wayne Davison 2008-02-18 08:25:15 -08:00
  • 46f800e8c7 Decided to pad the "*deleting" message to make the names line up. Wayne Davison 2008-02-17 23:46:26 -08:00
  • 1c65a93d03 The daemon no longer logs a recv entry for a file that is not actually being updated due to the --only-write-batch option. Wayne Davison 2008-02-17 23:44:52 -08:00
  • cae7885e2f Don't output a duplicate warning when the daemon-config excludes a directory or when a directory is ignored via --ignore-non-existing. Use a new var, is_dir, to simplify the dir code in recv_generator(). Wayne Davison 2008-02-17 22:11:44 -08:00
  • eaa28e654f Use the name "ChangeLog" for the ftp copy of the repository history. Wayne Davison 2008-02-16 14:45:22 -08:00
  • beef86d0dd A few minor changes, including better push_dir()/pop_dir() verbosity. Wayne Davison 2008-02-15 22:19:43 -08:00
  • 2fe1feea75 Added a way to specify where the chroot should occur in the module's path, which allows a daemon admin to have chroot protection and still have files that are outside the transfer area (such as libraries). Wayne Davison 2008-02-15 18:55:02 -08:00
  • 0b52f94da7 Some daemon security improvements, including the new parameters "charset" and "numeric ids". Wayne Davison 2008-02-14 13:24:16 -08:00
  • f96bac8468 (Matt) Dropped a superfluous word from a sentence. Wayne Davison 2008-02-12 17:30:02 -08:00
  • 8444a7c00d (Matt) Needed to remove a few more files for distclean target. Wayne Davison 2008-02-12 17:29:09 -08:00
  • c9d3bc3fca A few more NEWS tweaks. Wayne Davison 2008-02-10 21:21:24 -08:00
  • 8340aa9670 Mention a couple more items. Wayne Davison 2008-02-10 21:02:05 -08:00
  • 3e2c0024d5 Made reconfigure target check if configure.sh was up-to-date. Wayne Davison 2008-02-10 20:39:31 -08:00
  • 205393a2b5 Preparing for release of 3.0.0pre9 v3.0.0pre9 Wayne Davison 2008-02-10 20:16:25 -08:00
  • 5f0f2e0894 Some improvements for --hard-links and --filter options. Wayne Davison 2008-02-10 20:10:13 -08:00
  • a5bb0902b4 One more fix in set_modtime() when we get ENOSYS on a symlink. Wayne Davison 2008-02-10 15:39:21 -08:00
  • d348d5fd5f Add a trailing slash to a modname arg that has no path information. This ensures that the user gets a "skipping" message if they didn't specify -r or -d. (A trailing-slash was already being added to a lone modname for --list-only transfers.) Wayne Davison 2008-02-09 22:07:03 -08:00
  • 21897ecbed Improved the "symlink has no referent" logic to work with all the --copy*links options. Wayne Davison 2008-02-09 21:41:50 -08:00
  • 01103e1870 Make do_recv() reset copy_unsafe_links too (just like it does for copy_links and copy_dirlinks). Wayne Davison 2008-02-09 21:33:13 -08:00
  • 2d8f9b1df0 Ignore exit-code 23 when we expect a daemon-excluded file to be excluded. Wayne Davison 2008-02-09 21:30:49 -08:00
  • 68f1e7e594 (Matt) Made a daemon-refused file an FERROR_XFER with a better message. Wayne Davison 2008-02-07 11:24:38 -08:00
  • 87629cf2f6 Re-indent some code in set_file_attrs() to make the flow clearer. Wayne Davison 2008-02-07 07:24:58 -08:00
  • e7f642cffe Using rebase for the patches has become a failing-hunk pain in the neck, so I'm switching to using merge. Wayne Davison 2008-02-06 16:39:53 -08:00
  • 3e8fe565ed A daemon needs to call setup_iconv() after parsing the options it receives. Wayne Davison 2008-02-06 16:13:37 -08:00
  • e96c7777d7 Fixed return code from hard_link_one() when not verbose. Wayne Davison 2008-02-06 16:06:33 -08:00
  • 71daa07fb1 Make get_xattr_names() even safer at fetching the list of attr names. Wayne Davison 2008-02-06 07:52:00 -08:00
  • 287bb276d5 Only check F_OWNER() if uid_ndx is non-zero. Wayne Davison 2008-02-04 21:17:27 -08:00
  • ddc8110dea Fixed local_child() so that the client side really does handle the log-file writing. Wayne Davison 2008-02-04 12:52:41 -08:00
  • c0f4228d66 Don't try to use recv_xattr_request() with --dry-run. Fixes an internal abbrev error on the sending side. Wayne Davison 2008-02-04 12:30:19 -08:00
  • d6e6333a02 Store the key64 flag from hashtable_create() in the hashtable structure so that hashtable_find() knows which hashtable is which on a 64-bit architecture. Wayne Davison 2008-02-04 07:29:22 -08:00
  • 970ce063ee Fixed finding of parent's description when @ARGV doesn't mention it. Wayne Davison 2008-02-04 00:12:01 -08:00