Commit Graph

  • 459abd75f5 Properly handle a failure to create a partial directory, which is especially important for --delay-updates, particularly when --remove-source-files was also specified. Wayne Davison 2008-08-01 18:03:57 -07:00
  • a808346dbe Fixed a couple minor problems in util.c: - Make sure that handle_partial_dir() never returns a truncated fname. - Make robust_rename() return that it failed to do a cross-device copy if the partial-dir could not be created. Wayne Davison 2008-08-01 18:00:18 -07:00
  • fa181223d8 Properly handle a failure to create a partial directory, which is especially important for --delay-updates, particularly when --remove-source-files was also specified. Wayne Davison 2008-08-01 17:53:43 -07:00
  • 342bfb5e23 Output an FERROR* for a general io_error, and an FWARNING for other io_error flags. Wayne Davison 2008-07-31 07:59:45 -07:00
  • 9ed569486f Output an FERROR* for a general io_error, and an FWARNING for other io_error flags. Wayne Davison 2008-07-31 07:55:59 -07:00
  • 2fa069d85f Mention a missing sender-side hash improvment that went out in 3.0.0. Wayne Davison 2008-07-30 08:33:35 -07:00
  • 1fe0d14263 Mention a missing sender-side hash improvment that went out in 3.0.0. Wayne Davison 2008-07-30 08:33:05 -07:00
  • a25aed50e6 Make hard-linking work when a device has an st_dev of 0. Wayne Davison 2008-07-29 17:59:08 -07:00
  • c8b823f9d8 Make hard-linking work when a device has an st_dev of 0. Wayne Davison 2008-07-29 18:06:26 -07:00
  • 45c37e737f Mention some mount options that can interfere with --link-dest. Wayne Davison 2008-07-28 18:25:18 -07:00
  • 302e4346c2 Mention some mount options that can interfere with --link-dest. Wayne Davison 2008-07-28 18:24:25 -07:00
  • 8e5eafccdf Back-porting some manpage improvements. Wayne Davison 2008-07-28 17:07:38 -07:00
  • 41adbcec9f Added a client --munge-links option that works like the daemon "munge symlinks" parameter. Wayne Davison 2008-07-28 16:35:03 -07:00
  • 582831a447 - Don't require a daemon config &directive to use an equal sign. - Improved some daemon-config error messages. Wayne Davison 2008-07-27 16:05:18 -07:00
  • 312b68417f Made include_config() more efficient, and fixed a memory leak. Wayne Davison 2008-07-27 15:05:53 -07:00
  • 2206abf884 Added a command-line override for daemon config parameters: --dparam=PARAMETER=VALUE (-M PARAMETER=VALUE). Wayne Davison 2008-07-27 12:13:35 -07:00
  • fcd613d6c7 - Got rid of unused pstring/P_GSTRING/P_SEP/P_SEPARATOR code. - Made pointer-adding code a little better. Wayne Davison 2008-07-27 12:06:26 -07:00
  • 8a3ddcfc81 Added &include and &merge config-file directives that allow the daemon's config file incorporate the contents of other files. Wayne Davison 2008-07-26 20:03:45 -07:00
  • c9604e2115 Changed the module array to use an item_list structure. Wayne Davison 2008-07-26 19:57:02 -07:00
  • b583594ac7 Change the references to "service" to be either "section" or "module". Wayne Davison 2008-07-26 19:11:32 -07:00
  • 36828daef1 Reorder the static functions to avoid the need for forward declarations. Wayne Davison 2008-07-26 17:47:02 -07:00
  • 8880d8ec5e Since the loadparm.c file is changing, I'm reformatting it to use the rsync style. Wayne Davison 2008-07-26 17:42:09 -07:00
  • e88b92bade Preparing for release of 3.0.4pre1 v3.0.4pre1 Wayne Davison 2008-07-24 17:03:26 -07:00
  • f8722dba56 Fixed the --fake-super test in the xattrs testsuite when there are root-level xattrs on the files (e.g. selinux values). Wayne Davison 2008-07-24 07:46:16 -07:00
  • 56fc9f70d3 Enhanced the release scripts to be able to handle a branch release. Wayne Davison 2008-07-23 23:21:42 -07:00
  • ee03cb99d9 Fixed the timeout/flush loop-check logic to work properly with incremental recursion. Wayne Davison 2008-07-23 23:37:11 -07:00
  • 92d706a274 Don't interrupt the make if a generated build file didn't really change. Wayne Davison 2008-07-23 23:28:57 -07:00
  • 581c830c56 A couple xattr fixes for --fake-super. Wayne Davison 2008-07-23 23:12:39 -07:00
  • 9e58ef45f3 If the user specifies --protocol=29, rsync will avoid sending an -e option to the server (which is only useful for protocols 30 and above anyway). This gives the user an easy way to talk to a restricted server that has overly restrictive option-checking. Wayne Davison 2008-07-23 23:09:15 -07:00
  • 05bd05a7a1 Pass --branch option to patch-update script. Wayne Davison 2008-07-23 17:03:03 -07:00
  • 89b6b4ce4b We only need to deal with local patch branches now. Wayne Davison 2008-07-23 14:32:58 -07:00
  • 68cdc3b791 Fixed a potential alignment issue in the IRIX ACL code when allocating the initial struct acl object. Also, cast mallocs to avoid warnings. Wayne Davison 2008-07-22 21:35:21 -07:00
  • 209371b891 Fixed a bug in match_hard_links() where an empty directory would try to allocate 0 bytes of memory (which can fail on some OSes). Wayne Davison 2008-07-22 21:34:20 -07:00
  • 6fd2662982 Allow a release from a non-master branch. Wayne Davison 2008-07-22 09:11:34 -07:00
  • 1fdf0302c0 Start the 3.0.4 branch. Wayne Davison 2008-07-22 09:05:00 -07:00
  • aacd188034 Fixed a potential alignment issue in the IRIX ACL code when allocating the initial struct acl object. Also, cast mallocs to avoid warnings. Wayne Davison 2008-07-22 08:31:17 -07:00
  • bb640d3221 Explicitly cast a -1 that is being assigned to a size_t. Wayne Davison 2008-07-21 23:21:09 -07:00
  • 0566dc54b1 Use PTR_ADD for the new instances of void-pointer arithmetic. Wayne Davison 2008-07-21 23:12:02 -07:00
  • aad635f766 Explicitly cast an int64 to an int32. Wayne Davison 2008-07-21 23:11:23 -07:00
  • a72f37bb67 Got rid of a variable that was set but not used. Wayne Davison 2008-07-21 23:11:04 -07:00
  • 93465f51bc Improved var-checker and tweaked all the issues it found. Wayne Davison 2008-07-21 00:10:22 -07:00
  • 26a7af26aa Renamed extern-squish -> var-checker. Wayne Davison 2008-07-21 00:09:16 -07:00
  • b791d6802b Include the array-size in array externs so that IBM's code-checker can do more checking for us. Wayne Davison 2008-07-20 22:41:29 -07:00
  • 741597c2df Turn off extra debugging now that the problem is fixed. Wayne Davison 2008-07-20 22:27:40 -07:00
  • 37077bd339 Improved the handling of --msgs2stderr a little more. Wayne Davison 2008-07-20 22:20:17 -07:00
  • ced4fd8993 Fixed a bug in match_hard_links() where an empty directory would try to allocate 0 bytes of memory (which can fail on some OSes). Wayne Davison 2008-07-20 20:34:06 -07:00
  • eabc85ef5e Added a debug-helping option, --msgs2stderr, than should help all messages to be seen in a situation where rsync is dying (as long as stderr is a viable output method for the remote rsync). Wayne Davison 2008-07-20 20:08:08 -07:00
  • 5a18b34de3 Changed the chksum debug flag to deltasum. Wayne Davison 2008-07-20 20:02:09 -07:00
  • 56ac812359 A few more HLINK debug messages. Wayne Davison 2008-07-20 13:54:53 -07:00
  • e42fc158c9 Output even more debug messages. Wayne Davison 2008-07-20 13:06:54 -07:00
  • 886df221c1 Added a '%C' (MD5 checksum) flag for the output/logfile formatting. Wayne Davison 2008-07-19 22:45:05 -07:00
  • fb01d1fb07 Changed the POOL_QALIGN flag to POOL_NO_QALIGN, reversing the setting (making pools aligned by default). Added the missing code to make the documented behavior of pool_free() with a NULL addr work. Updated the pool_alloc.3 manpage. Wayne Davison 2008-07-19 08:49:53 -07:00
  • 51ce67d599 Improved the alignment code and changed POOL_APPEND to POOL_PREPEND. Wayne Davison 2008-07-18 20:57:52 -07:00
  • a02348b5df We now pass the POOL_QALIGN flag to pool_create(). Also optimized the verbose-message check at the start of recv_file_list(). Wayne Davison 2008-07-18 20:46:58 -07:00
  • 28a5b78c6f Improved the hard-link logging. Wayne Davison 2008-07-18 17:35:22 -07:00
  • 7bbd60101e Turn on flist5 debugging. Wayne Davison 2008-07-18 17:34:59 -07:00
  • d239efa3ff Some minor tweaking for the info+debug option parsing. Wayne Davison 2008-07-18 08:17:05 -07:00
  • 269a8fb604 Make the hands.test use a higher hlink debug level. Wayne Davison 2008-07-18 08:12:06 -07:00
  • b1617a0825 Add --debug=hlink to hands.test. Wayne Davison 2008-07-18 07:19:21 -07:00
  • 806f530bcb Don't interrupt the make for a generated file didn't really change. Wayne Davison 2008-07-17 19:48:53 -07:00
  • 7f0db4fd8e Use big_num() in a few more places. Wayne Davison 2008-07-17 17:01:10 -07:00
  • 3a8fad7805 Moving big_num() into lib/compat.c so tls.c can use it. Wayne Davison 2008-07-17 16:59:59 -07:00
  • 0c096e29aa Added some HLINK debugging output and enabled it for hardlink tests. Wayne Davison 2008-07-17 07:43:11 -07:00
  • 6d56efa6ea Changed human_num() to big_num() with an extra arg so that it can be used in place of all %.0f output idioms. Wayne Davison 2008-07-17 07:37:31 -07:00
  • 97dde6b620 A couple xattr fixes for --fake-super. Wayne Davison 2008-07-14 23:48:33 -07:00
  • 75d9697869 A few more minor improvements in the --info/--debug code. Wayne Davison 2008-07-14 23:34:41 -07:00
  • f35798a57e Added a "test_fail" function to 00-hello.test. Wayne Davison 2008-07-14 22:47:03 -07:00
  • b8993a1ee9 Made the info_verbosity array 1 element larger. Wayne Davison 2008-07-14 07:40:10 -07:00
  • 951e826b75 Added the --info=FLAGS an --debug=FLAGS options, which allows fine-grained output control (in addition to the coarse -v). Wayne Davison 2008-07-13 20:51:08 -07:00
  • d8d1389348 Fixed the timeout/flush loop-check logic to work properly with incremental recursion. Wayne Davison 2008-07-13 17:29:47 -07:00
  • 2970362338 If the user specifies --protocol=29, rsync will avoid sending an -e option to the server (which is only useful for protocols 30 and above anyway). This gives the user an easy way to talk to a restricted server that has overly restrictive option-checking. Wayne Davison 2008-07-11 09:34:28 -07:00
  • 7a2eca415b Added the --remote-option=OPT (-M OPT) option. Wayne Davison 2008-07-05 08:30:16 -07:00
  • 854411909b Got rid of some trailing whitespace. Wayne Davison 2008-07-05 01:41:19 -07:00
  • bb4e4d889f The --progress output now leaves the cursor at the end of the line (instead of the start) in order to be extra sure that an error won't overwrite it. We also ensure that the progress option can't be enabled on the server side. Wayne Davison 2008-07-05 00:21:05 -07:00
  • 93f3fbf73e Prepare repository for more development. Wayne Davison 2008-07-04 23:45:57 -07:00
  • d252e47d09 Improved the docs for various delete options. Wayne Davison 2008-07-04 13:14:16 -07:00
  • db8f3f7350 Preparing for release of 3.0.3 v3.0.3 Wayne Davison 2008-06-29 20:15:37 -07:00
  • 85fd80ce10 Mention the addition of the deny-rsync script, and tweak some comments. Wayne Davison 2008-06-28 10:12:57 -07:00
  • a24d64bfaa Fixed a problem with a file descriptor being left open in the generator when handling an empty file. Wayne Davison 2008-06-26 08:14:11 -07:00
  • 33cc92a63a Some deny-rsync fixes: - Fixed messages longer than 63 chars. - Don't require the presence of a "bc" program. - Append a newline to the message to make the script easier to call. - Make extra sure the message outputs without escape interpretation. - Stick around long enough for a client to reliably get the message. Wayne Davison 2008-06-23 23:05:07 -07:00
  • 5e7f63f0bf The deny-rsync script from bug 3945. Matt McCutchen 2008-06-23 22:56:13 -07:00
  • 8bd77e7098 Fixed the sending of large files with older rsync versions by handling the old block-size limit for protocols < 29. Wayne Davison 2008-06-23 08:02:46 -07:00
  • 13074c982b Preparing for release of 3.0.3pre3 v3.0.3pre3 Wayne Davison 2008-06-22 19:03:46 -07:00
  • 2171b9395b The sender now sets IOERR_GENERAL in more skipped-file instances. Matt McCutchen 2008-06-22 19:00:51 -07:00
  • 20bb1eb7ae Mention more fixes in the NEWS. Wayne Davison 2008-06-22 18:45:07 -07:00
  • 7ee7bcd4e9 Improved the build rules for rsync.1 and rsyncd.conf.5 when building in a separate build directory from the source. Wayne Davison 2008-06-22 18:26:15 -07:00
  • 844810d609 Avoid problems with timestamp rounding that cp -p and touch -r may do. Wayne Davison 2008-06-17 15:59:47 -07:00
  • 67347196b1 Fix the problem with setting xattrs on a directory that has an identical match found in a --link-dest/--copy-dest hierarchy. Wayne Davison 2008-06-12 23:08:43 -07:00
  • e424e26128 Cast the datum_len value to a long for rprintf(). Wayne Davison 2008-06-12 06:59:51 -07:00
  • ca7d17e41d Handle a solo_file of a directory for --delete-during. Wayne Davison 2008-06-09 07:42:03 -07:00
  • 6283e9ef43 A couple more xattr improvements: - Made the XSTATE_* defines avoid using 0. - Call !XATTR_ABBREV() in recv_xattr_request(). - Improved the "internal abbrev" error message. - Fixed the potential for a directory time glitch in xattrs.diff. Wayne Davison 2008-06-08 21:07:30 -07:00
  • 7462c6ac39 Fixed an "Internal abbrev error" when dealing with an xattr value that is unchanged on an early file, and changed on a later file. Added 2 new test cases to ensure this stays fixed. Wayne Davison 2008-06-08 20:26:22 -07:00
  • f31850966f Improved the progress_is_active code to not overwrite the progress output in more circumstances. Wayne Davison 2008-06-04 09:01:02 -07:00
  • 4ecf3e0671 Improved handling of a system that doesn't have a 64-bit offset type. Wayne Davison 2008-06-04 08:15:51 -07:00
  • 60a986f504 Improved the proto.h target so that a build in a different dir from the srcdir will ensure that the builddir has a copy of the proto.h file when the Makefile found it to be out of date. This prevents the repeated building of all the targets when the srcdir's proto.h file is accurate, but older than the newest .c file. Wayne Davison 2008-06-04 07:13:22 -07:00
  • 0e9c3564c6 Improved the daemon testing, including adding a test to ensure that daemon excludes can't exclude a dot dir. Wayne Davison 2008-05-31 14:52:24 -07:00
  • 164cb66add Fixed the destination path check so that it cannot exclude a dot dir. Wayne Davison 2008-05-31 14:51:38 -07:00
  • 0d9eba0312 Have send_file_list() check is_excluded() (but only on non-dot-dirs) and then call send_file_name() with NO_FILTERS. This gets rid of the need for a FLAG_DOTDIR_NAME flag (used only by make_file()). Wayne Davison 2008-05-31 14:41:20 -07:00
  • d1f66d8d79 If an arg is excluded, don't include its implied dirs. Wayne Davison 2008-05-31 11:27:13 -07:00
  • cc911409d6 Make sure the generator doesn't try to send a negative checksum count to the sender (which would cause it to die with a cryptic error). Instead, warn the user when the file's size is too large for checksum processing. Wayne Davison 2008-05-31 09:08:13 -07:00