Commit Graph

  • 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
  • a64f19e24b Fixed the backing up of a device or socket. Wayne Davison 2008-05-22 16:44:01 -07:00
  • 4337eeb754 A cuple more fixes for --xattrs combined with --backup, this time to handle when --link-dest is also used. Wayne Davison 2008-05-22 07:32:11 -07:00
  • 928da42359 Fixed the "src" symlink in each testtmp subdir. Wayne Davison 2008-05-18 07:00:48 -07:00
  • e717fa4d37 Fix some path problems when the build dir is not the source dir. Wayne Davison 2008-05-17 15:07:24 -07:00
  • cc56eb2acc Preparing for release of 3.0.3pre2 v3.0.3pre2 Wayne Davison 2008-05-17 10:02:19 -07:00
  • 88e05f8489 Fixed an "else" in the device-making part of keep_backup(). Wayne Davison 2008-05-17 09:57:08 -07:00
  • 9ec8583ef5 Mention the latest fixes in the NEWS. Wayne Davison 2008-05-17 09:45:13 -07:00
  • e9489cd6cb Fixed several issues with preserving xattrs when using --backup. Wayne Davison 2008-05-17 09:30:46 -07:00
  • f1ca7c4429 Preserve the right errno value when trying adjunct functions during robust backup, copy, and renaming activities. Wayne Davison 2008-05-17 07:44:20 -07:00
  • adc4ebdd76 Improved the docs for --inplace and made the mentions of rsync's delta-transfer algorithm more consistent. Wayne Davison 2008-05-09 23:49:41 -07:00
  • 9a30c0cc3c Preparing for release of 3.0.3pre1 v3.0.3pre1 Wayne Davison 2008-05-07 22:12:57 -07:00
  • 47f43c023b The test of HAVE_LUTIMES accidentally omitted the 'L'. Wayne Davison 2008-05-07 22:11:17 -07:00
  • 5b385336b9 Added options to tls.c to allow us to ask for mtime and ownership info on symlinks. The testsuite will now pass these options to tls if rsync is configured to affect such attributes on symlinks. Wayne Davison 2008-05-06 10:39:19 -07:00
  • c3a2d95cfa Adding missing entry for 3.0.3 protocol-history list. Wayne Davison 2008-05-01 16:14:39 -07:00
  • 6b19df680a Mention all the latest changes in the NEWS. Wayne Davison 2008-04-28 21:29:15 -07:00
  • fdf74bede0 - Changed prev_name into a buffer so that there is no chance that its contents can be overwritten by other calls to f_name(). - Changed an hlink assert into a check that provides more debug info. Wayne Davison 2008-04-28 21:17:36 -07:00
  • 876ad10ccc Fixed a crash if a non-incremental-recursion transfer has a skipped file in a set of hard-links. Wayne Davison 2008-04-27 18:45:13 -07:00
  • 34a2b39165 Reorder the filenames to touch to try to avoid a weird error on Solaris 5.8. Also, use lsh in one of the runs in order to try a hard-link run that uses a (pretend) remote shell. Wayne Davison 2008-04-18 19:55:08 -07:00
  • 276cc45571 Added a --no-cd option to support/lsh so that the script can be used by the testsuite. Improved the home-directory-changing code and added an error message when "localhost" is not the hostname specified. Use the updated script in the testsuite instead of creating a pretend-ssh script in a couple spots. Wayne Davison 2008-04-18 07:20:30 -07:00
  • 311676ed21 Fixed a problem with how the daemon filters deal with a destination directory with a trailing slash. Wayne Davison 2008-04-16 09:32:22 -07:00
  • 4616867b0d Don't allow '.' dir to be excluded by the daemon's filter rules. Wayne Davison 2008-04-16 09:30:28 -07:00
  • 8a5ae84efd A few $last_touch tweaks. Wayne Davison 2008-04-16 09:11:15 -07:00
  • 59d2cd5a7f When running in --progress mode with a progress message active, the client now outputs a newline prior to an error message, which avoids overwriting the active file's last progress line. Wayne Davison 2008-04-15 08:39:59 -07:00
  • 1c3e6e8b26 Moved the setting of the socket options before the connect(). Wayne Davison 2008-04-15 08:34:17 -07:00
  • f2681d42ff Fixed the %M escape, which was munging the wrong spaces. Wayne Davison 2008-04-15 08:32:41 -07:00
  • 774d1c367b Use overflow_exit() for overflows, not out_of_memory(). Wayne Davison 2008-04-15 08:27:38 -07:00
  • 1b8e0e876b Consistently call the daemon parameters "parameters", not "options", which allows us to distinguish them from rsync's command-line options. Wayne Davison 2008-04-15 08:26:00 -07:00
  • 1502f4f58f Updated the README and the NEWS file. Wayne Davison 2008-04-15 08:12:56 -07:00
  • 6db1db5488 Fix a file-globbing bug in the daemon when chroot is on. Wayne Davison 2008-04-11 22:32:38 -07:00
  • 09ad90537d If the daemon test is run as root, use a --config option. Wayne Davison 2008-04-11 21:57:17 -07:00
  • da9aefa6b4 Prepare repository for more development. Wayne Davison 2008-04-11 21:48:32 -07:00
  • 8ba802f3b4 Preparing for release of 3.0.2 v3.0.2 Wayne Davison 2008-04-08 08:16:05 -07:00
  • e53f49d1af Call patch-update in its new location. Wayne Davison 2008-04-08 08:15:39 -07:00
  • 0917f581bc Roll over the NEWS files for the next release. Wayne Davison 2008-04-08 08:01:56 -07:00
  • 1fe2a3533f Fixed a potential overflow issue with realloc() that Sebastian Krahmer pointed out. Wayne Davison 2008-04-08 08:01:43 -07:00
  • 237e9a178f Have the spec file put more useful stuff into the doc dir. Wayne Davison 2008-04-05 22:46:48 -07:00
  • 0668bfe077 Moving some files from support into packaging. Wayne Davison 2008-04-05 22:45:12 -07:00