rsync/rsync-patches.git
19 years agoA compatibility fix that tries to handle a transfer between systems
Wayne Davison [Wed, 8 Sep 2004 06:15:44 +0000 (06:15 +0000)]
A compatibility fix that tries to handle a transfer between systems
that differ in their ACLS_NEED_MASK setting.

19 years agoUpdated to work with latest generator/receiver changes.
Wayne Davison [Tue, 7 Sep 2004 22:36:27 +0000 (22:36 +0000)]
Updated to work with latest generator/receiver changes.

19 years agoUpdated for latest generator/receiver changes.
Wayne Davison [Tue, 7 Sep 2004 22:36:05 +0000 (22:36 +0000)]
Updated for latest generator/receiver changes.

19 years agoFixed failing hunk.
Wayne Davison [Tue, 7 Sep 2004 22:34:21 +0000 (22:34 +0000)]
Fixed failing hunk.

19 years agoOutput statistics about how long certain file-list events take.
Wayne Davison [Tue, 7 Sep 2004 19:56:04 +0000 (19:56 +0000)]
Output statistics about how long certain file-list events take.

19 years agoA potential solution for symlink-dir loop-breaking.
Wayne Davison [Tue, 31 Aug 2004 20:49:38 +0000 (20:49 +0000)]
A potential solution for symlink-dir loop-breaking.

19 years agoMention a TODO item in the initial comments.
Wayne Davison [Tue, 31 Aug 2004 20:49:10 +0000 (20:49 +0000)]
Mention a TODO item in the initial comments.

19 years agoTweaked the text of a few error messages.
Wayne Davison [Mon, 23 Aug 2004 01:20:21 +0000 (01:20 +0000)]
Tweaked the text of a few error messages.

19 years agoConfigure now fails if ACL support is requested and no ACL support
Wayne Davison [Thu, 19 Aug 2004 19:55:11 +0000 (19:55 +0000)]
Configure now fails if ACL support is requested and no ACL support
is found.

19 years agoMake sure we complain if -A is specified and ACL support wasn't
Wayne Davison [Thu, 19 Aug 2004 17:18:35 +0000 (17:18 +0000)]
Make sure we complain if -A is specified and ACL support wasn't
compiled in.

19 years ago- Fixed an instruction in the opening comments.
Wayne Davison [Thu, 19 Aug 2004 17:07:24 +0000 (17:07 +0000)]
- Fixed an instruction in the opening comments.
- Fixed a FIXME in options.c.

19 years agoUpdated.
Wayne Davison [Fri, 13 Aug 2004 19:05:19 +0000 (19:05 +0000)]
Updated.

19 years ago- Fixed some bogus rsyserr() calls.
Wayne Davison [Fri, 13 Aug 2004 19:04:45 +0000 (19:04 +0000)]
- Fixed some bogus rsyserr() calls.
- Sanitize the --link-by-hash arg when needed.
- Got rid of a duplicate robust_rename() call that got inserted into
  finish_transfer().

19 years agoUpdated the section that ensures that server-excluded files aren't
Wayne Davison [Fri, 13 Aug 2004 19:02:24 +0000 (19:02 +0000)]
Updated the section that ensures that server-excluded files aren't
referenced by any compare-dest/link-dest args.

19 years agoMade "make test" work.
Wayne Davison [Fri, 13 Aug 2004 17:33:44 +0000 (17:33 +0000)]
Made "make test" work.

19 years agoNew testsuite tests needed to use the -d option.
Wayne Davison [Fri, 13 Aug 2004 09:02:51 +0000 (09:02 +0000)]
New testsuite tests needed to use the -d option.

19 years agoThe calls to io_start_multiplex_in() and io_start_multiplex_out()
Wayne Davison [Fri, 13 Aug 2004 08:43:06 +0000 (08:43 +0000)]
The calls to io_start_multiplex_in() and io_start_multiplex_out()
no longer include an fd arg.

19 years agoFix the time-setting section in set_perms() so that it only skips the
Wayne Davison [Fri, 13 Aug 2004 08:23:06 +0000 (08:23 +0000)]
Fix the time-setting section in set_perms() so that it only skips the
call to set_times() if both PERMS_SKIP_ATIME and PERMS_SKIP_MTIME are
set.

19 years agoChanged clean_fname() calls to the updated arg syntax.
Wayne Davison [Fri, 13 Aug 2004 07:44:57 +0000 (07:44 +0000)]
Changed clean_fname() calls to the updated arg syntax.

19 years agoFixed failing hunk.
Wayne Davison [Thu, 12 Aug 2004 18:37:07 +0000 (18:37 +0000)]
Fixed failing hunk.

19 years agoUpdated to apply cleanly.
Wayne Davison [Thu, 12 Aug 2004 00:09:17 +0000 (00:09 +0000)]
Updated to apply cleanly.

19 years agoUpdated to have latest sanitize_path() calling syntax.
Wayne Davison [Thu, 12 Aug 2004 00:04:01 +0000 (00:04 +0000)]
Updated to have latest sanitize_path() calling syntax.

19 years agoUpdated to remove changes that were applied to the trunk and to use the
Wayne Davison [Wed, 11 Aug 2004 23:55:50 +0000 (23:55 +0000)]
Updated to remove changes that were applied to the trunk and to use the
newest sanitize_path() calling syntax.

19 years agoFixed an overflow check.
Wayne Davison [Wed, 11 Aug 2004 17:31:26 +0000 (17:31 +0000)]
Fixed an overflow check.

19 years agoFixed failing hunk.
Wayne Davison [Wed, 11 Aug 2004 17:30:50 +0000 (17:30 +0000)]
Fixed failing hunk.

19 years agoRemoved fuzz.
Wayne Davison [Wed, 11 Aug 2004 17:30:43 +0000 (17:30 +0000)]
Removed fuzz.

19 years ago- Work with the latest check_one_exclude().
Wayne Davison [Tue, 10 Aug 2004 18:22:28 +0000 (18:22 +0000)]
- Work with the latest check_one_exclude().
- Got rid of unused externs.
- Document how per-dir merge-files interact with deleting.

19 years agoFixed failing hunk.
Wayne Davison [Tue, 10 Aug 2004 17:21:53 +0000 (17:21 +0000)]
Fixed failing hunk.

19 years agoMore manpage improvements.
Wayne Davison [Tue, 10 Aug 2004 05:23:13 +0000 (05:23 +0000)]
More manpage improvements.

19 years agoImproved the manpage and tweaked on memcpy().
Wayne Davison [Tue, 10 Aug 2004 04:53:28 +0000 (04:53 +0000)]
Improved the manpage and tweaked on memcpy().

19 years agoApplied.
Wayne Davison [Mon, 9 Aug 2004 20:58:50 +0000 (20:58 +0000)]
Applied.

19 years ago- Made the dirbuf value always contain an absolute path.
Wayne Davison [Mon, 9 Aug 2004 18:45:15 +0000 (18:45 +0000)]
- Made the dirbuf value always contain an absolute path.
- Fixed a bug in the token-parsing after a nested merge-file.
- Absolute excludes in daemon mode are now rooted at the module root.
- The sanitize_path() routine now takes a root value that we want to
  use in place of a leading slash.  This allows the parent to specify
  "", "/", or lp_path(module_id) (the default when expanding).

19 years ago- Changed the way that daemon excludes get anchored to the module dir
Wayne Davison [Mon, 9 Aug 2004 03:35:35 +0000 (03:35 +0000)]
- Changed the way that daemon excludes get anchored to the module dir
  to use the new "dirbuf" (setting it through a new accessor function)
  and a new XFLG_ABS_PATH flag.
- Made anchored rules read in from a per-dir merge file relative to
  the merge file's directory.  This makes it possible to set each rule
  to either be "inherited" or not based on if it is anchored.
- Got rid of the -i (inherited) option for merge files.
- Set a MATCHFLG_FINISH_SETUP flag on each per-dir merge file instead
  of using a high-water "initialized_mergelist_cnt" index.
- Make sure that any merge file that starts with a dash does not get
  its name interpreted as an option when sent over the socket.

19 years ago- Added some extra comments.
Wayne Davison [Sat, 7 Aug 2004 08:40:57 +0000 (08:40 +0000)]
- Added some extra comments.
- Always null-terminate the buffer sent to push_local_excludes() and
  dirbuf too.
- Make sure that parse_merge_name() always returns a null-terminated
  path, even if it was given a name that was not null-terminated.

19 years agoA couple more bug fixes.
Wayne Davison [Fri, 6 Aug 2004 23:25:18 +0000 (23:25 +0000)]
A couple more bug fixes.

19 years ago- Needed to send the new merge-file options across the socket.
Wayne Davison [Fri, 6 Aug 2004 23:01:43 +0000 (23:01 +0000)]
- Needed to send the new merge-file options across the socket.
- Fixed some problems when running as a daemon.
- A few other minor fixes.
- Improved the docs.

19 years agoImproved the option syntax by eliminating the --inherit=DEPTH option and
Wayne Davison [Fri, 6 Aug 2004 09:39:57 +0000 (09:39 +0000)]
Improved the option syntax by eliminating the --inherit=DEPTH option and
adding individual options to the ". [OPTIONS] FILE" command itself.  This
lets the user directly specify if the file is a per-directory file or not
(using -p) and if the rules are inherited or not (using -i).  The user
also specifies how high up the scanning starts for per-dir files by
specifying a path on per-dir files (e.g. ". -p /start/.excl").  Added the
-E option which is an easy way to specify ". -pi /.rsync-excludes".

19 years agoFixed rules being inherited without --inherit.
Wayne Davison [Wed, 4 Aug 2004 21:09:11 +0000 (21:09 +0000)]
Fixed rules being inherited without --inherit.

19 years agoImproved the manpage and added the missing --inherit option to the
Wayne Davison [Wed, 4 Aug 2004 08:46:08 +0000 (08:46 +0000)]
Improved the manpage and added the missing --inherit option to the
help output.

19 years ago- Fixed a couple problems with the daemon's path-sanitizing.
Wayne Davison [Tue, 3 Aug 2004 17:18:14 +0000 (17:18 +0000)]
- Fixed a couple problems with the daemon's path-sanitizing.
- Avoid a useless "./" prefix on the exclude filenames.

19 years agoGot rid of fuzz.
Wayne Davison [Tue, 3 Aug 2004 16:13:39 +0000 (16:13 +0000)]
Got rid of fuzz.

19 years agoFixed a failig hunk.
Wayne Davison [Tue, 3 Aug 2004 16:13:14 +0000 (16:13 +0000)]
Fixed a failig hunk.

19 years agoUpdated to work with the latest g2r-basis-filename patch.
Wayne Davison [Fri, 30 Jul 2004 18:30:00 +0000 (18:30 +0000)]
Updated to work with the latest g2r-basis-filename patch.

19 years agoWorking with the new g2r-basis-filename patch, we just transmit the
Wayne Davison [Fri, 30 Jul 2004 18:29:03 +0000 (18:29 +0000)]
Working with the new g2r-basis-filename patch, we just transmit the
index of the compare-dest name we found, not the whole name.

19 years agoReduced the transmitted data on the generator-to-receiver pipe down
Wayne Davison [Fri, 30 Jul 2004 18:27:02 +0000 (18:27 +0000)]
Reduced the transmitted data on the generator-to-receiver pipe down
to just 1 byte in all cases (previously we would send the compare-dest
name down the pipe instead of a "use the compare-dest name" flag).

19 years agoReflect the new skip_file() calling args.
Wayne Davison [Thu, 29 Jul 2004 17:22:58 +0000 (17:22 +0000)]
Reflect the new skip_file() calling args.

19 years agoGot rid of the extra compare_dest scan in skip_file().
Wayne Davison [Thu, 29 Jul 2004 17:20:59 +0000 (17:20 +0000)]
Got rid of the extra compare_dest scan in skip_file().

19 years agoNo need to check-for/complain-about a lack of hard links for the
Wayne Davison [Thu, 29 Jul 2004 16:35:24 +0000 (16:35 +0000)]
No need to check-for/complain-about a lack of hard links for the
--compare-dest option.

19 years agoGot rid of failing or fuzzy hunks.
Wayne Davison [Thu, 29 Jul 2004 16:26:30 +0000 (16:26 +0000)]
Got rid of failing or fuzzy hunks.

19 years agoNo more need for the partial-dir.diff dependency.
Wayne Davison [Thu, 29 Jul 2004 16:26:08 +0000 (16:26 +0000)]
No more need for the partial-dir.diff dependency.

19 years agoApplied.
Wayne Davison [Thu, 29 Jul 2004 16:07:38 +0000 (16:07 +0000)]
Applied.

19 years agoOptimize the --partial-dir=. option (which is the same as just
Wayne Davison [Thu, 29 Jul 2004 16:07:23 +0000 (16:07 +0000)]
Optimize the --partial-dir=. option (which is the same as just
specifying --partial).

19 years agoFix failing hunks.
Wayne Davison [Wed, 28 Jul 2004 17:16:48 +0000 (17:16 +0000)]
Fix failing hunks.

19 years agoModified to depend on the partial-dir.diff.
Wayne Davison [Wed, 28 Jul 2004 17:16:29 +0000 (17:16 +0000)]
Modified to depend on the partial-dir.diff.

19 years ago- Needed to move the partial-dir check in the generator.
Wayne Davison [Wed, 28 Jul 2004 10:10:58 +0000 (10:10 +0000)]
- Needed to move the partial-dir check in the generator.
- Improved the docs some more.

19 years ago- Added defines for the 2 new literal args.
Wayne Davison [Wed, 28 Jul 2004 02:02:43 +0000 (02:02 +0000)]
- Added defines for the 2 new literal args.
- Improved some names (variable and function).
- Don't be quite so paranoid when creating a new dir (after all, the
  regular directory-creation code isn't that paranoid).
- Improved the docs.

19 years agoFix some fuzz in the --help text hunks.
Wayne Davison [Mon, 26 Jul 2004 06:36:25 +0000 (06:36 +0000)]
Fix some fuzz in the --help text hunks.

19 years agoFixed failing hunk.
Wayne Davison [Mon, 26 Jul 2004 06:32:13 +0000 (06:32 +0000)]
Fixed failing hunk.

19 years ago- Handle the receive-failed case properly.
Wayne Davison [Sun, 25 Jul 2004 17:45:16 +0000 (17:45 +0000)]
- Handle the receive-failed case properly.
- The warning/error for a verify failure now differentiates between
  retained (to the original file) and put into the partial-dir.
- Improved the docs.

19 years agoWhen we need to create the partial_dir directory, remove anything that
Wayne Davison [Sat, 24 Jul 2004 17:05:46 +0000 (17:05 +0000)]
When we need to create the partial_dir directory, remove anything that
might be in the way (such as a symlink).

19 years ago- Made a relative --partial-dir actually be relative to the current
Wayne Davison [Fri, 23 Jul 2004 21:54:35 +0000 (21:54 +0000)]
- Made a relative --partial-dir actually be relative to the current
  file's destination directory.
- Handle the case where we can't build the relative partial-dir path
  because it is too long.
- Sanitize the value for the daemon.

19 years agoImplement a --partial-dir=DIR option.
Wayne Davison [Fri, 23 Jul 2004 19:40:29 +0000 (19:40 +0000)]
Implement a --partial-dir=DIR option.

19 years agoWork with latest g2r-basis-filename.diff patch.
Wayne Davison [Fri, 23 Jul 2004 17:22:20 +0000 (17:22 +0000)]
Work with latest g2r-basis-filename.diff patch.

19 years ago- Make sure we can't block in the generator (use a kluge for now).
Wayne Davison [Fri, 23 Jul 2004 17:21:00 +0000 (17:21 +0000)]
- Make sure we can't block in the generator (use a kluge for now).
- Corrected an fd var reference in the read_batch receiver code.
- Tweaked a couple variable names.

19 years agoWhen --read-batch was specified, do not put the generator's output
Wayne Davison [Thu, 22 Jul 2004 03:12:12 +0000 (03:12 +0000)]
When --read-batch was specified, do not put the generator's output
into multiplexed mode (there's no sender to receive the messages).

19 years agoGot rid of failures and fuzz.
Wayne Davison [Thu, 22 Jul 2004 00:35:33 +0000 (00:35 +0000)]
Got rid of failures and fuzz.

19 years agoUpdated.
Wayne Davison [Wed, 21 Jul 2004 01:52:03 +0000 (01:52 +0000)]
Updated.

19 years agoFixed failing hunks.
Wayne Davison [Mon, 19 Jul 2004 17:17:10 +0000 (17:17 +0000)]
Fixed failing hunks.

19 years agoTweaked a label name.
Wayne Davison [Mon, 19 Jul 2004 08:40:56 +0000 (08:40 +0000)]
Tweaked a label name.

19 years agoUpdated to apply over the latest g2r-basis-filename.diff patch.
Wayne Davison [Mon, 19 Jul 2004 08:40:20 +0000 (08:40 +0000)]
Updated to apply over the latest g2r-basis-filename.diff patch.

19 years agoUpdated to handle --read-batch mode. This actually fixes a potential
Wayne Davison [Sat, 17 Jul 2004 21:31:34 +0000 (21:31 +0000)]
Updated to handle --read-batch mode.  This actually fixes a potential
race condition where the receiver can get ahead of the generator and
try to create files before the directories have been created (for
instance).

19 years agoFixed for latest source.
Wayne Davison [Sat, 17 Jul 2004 15:34:53 +0000 (15:34 +0000)]
Fixed for latest source.

19 years ago- Write a length prefix instead of a trailing null for the name that
Wayne Davison [Sat, 17 Jul 2004 15:33:49 +0000 (15:33 +0000)]
- Write a length prefix instead of a trailing null for the name that
  goes down the pipe from the generator to the receiver.
- Use the helper functions in io.c to read/write the pipe data (now
  that they have been improved to properly support non-main-socket
  fds).
- Make the generator side of the pipe non-blocking so that we can
  (and now do) monitor the incoming messages from the receiver while
  we're trying to send them the next name.

19 years agoUpdated.
Wayne Davison [Fri, 16 Jul 2004 20:25:01 +0000 (20:25 +0000)]
Updated.

19 years agoHas been applied to CVS.
Wayne Davison [Fri, 16 Jul 2004 20:07:06 +0000 (20:07 +0000)]
Has been applied to CVS.

19 years agoGot rid of the unused "i" value in struct sum_buf and replaced it
Wayne Davison [Fri, 16 Jul 2004 19:55:55 +0000 (19:55 +0000)]
Got rid of the unused "i" value in struct sum_buf and replaced it
will a "flags" value.

19 years agoFixed the return type on the new links_depth() function.
Wayne Davison [Fri, 16 Jul 2004 17:02:12 +0000 (17:02 +0000)]
Fixed the return type on the new links_depth() function.

19 years agoA proposed --links-depth option.
Wayne Davison [Fri, 16 Jul 2004 16:43:30 +0000 (16:43 +0000)]
A proposed --links-depth option.

19 years agoUpdated to apply to latest source.
Wayne Davison [Thu, 15 Jul 2004 17:06:41 +0000 (17:06 +0000)]
Updated to apply to latest source.

19 years agoReset @rejects for each new patch application.
Wayne Davison [Thu, 15 Jul 2004 16:51:35 +0000 (16:51 +0000)]
Reset @rejects for each new patch application.

19 years agoNo longer needed after batch-file rewrite.
Wayne Davison [Thu, 15 Jul 2004 02:20:45 +0000 (02:20 +0000)]
No longer needed after batch-file rewrite.

19 years agoCleanup any reject files after a dependency patch fails to apply.
Wayne Davison [Wed, 14 Jul 2004 17:35:51 +0000 (17:35 +0000)]
Cleanup any reject files after a dependency patch fails to apply.

19 years agoUpdated to use match.c's new "want_i" variable.
Wayne Davison [Wed, 7 Jul 2004 08:41:55 +0000 (08:41 +0000)]
Updated to use match.c's new "want_i" variable.

19 years agoA few more improvements to the input-parsing code and a couple
Wayne Davison [Tue, 6 Jul 2004 16:24:50 +0000 (16:24 +0000)]
A few more improvements to the input-parsing code and a couple
output tweaks.

19 years agoGot rid of extra comparisons in compare_targets().
Wayne Davison [Sun, 4 Jul 2004 09:02:18 +0000 (09:02 +0000)]
Got rid of extra comparisons in compare_targets().

19 years agoIgnore "tmp".
Wayne Davison [Sun, 4 Jul 2004 09:01:32 +0000 (09:01 +0000)]
Ignore "tmp".

19 years agoA few more improvements including an ability to build the patched
Wayne Davison [Sun, 4 Jul 2004 09:01:23 +0000 (09:01 +0000)]
A few more improvements including an ability to build the patched
source and to spawn a shell or run a command.

19 years agoUpdated the format using the new verify-patches script.
Wayne Davison [Sat, 3 Jul 2004 21:22:43 +0000 (21:22 +0000)]
Updated the format using the new verify-patches script.

19 years agoUse the new diff-dependency feature to make the patch depend on
Wayne Davison [Sat, 3 Jul 2004 21:22:30 +0000 (21:22 +0000)]
Use the new diff-dependency feature to make the patch depend on
g2r-basis-filename.diff.  Updated the format using the new
verify-patches script.

19 years agoTransformed shell script into perl script and improved it to allow
Wayne Davison [Sat, 3 Jul 2004 21:20:11 +0000 (21:20 +0000)]
Transformed shell script into perl script and improved it to allow
diffs to depend on other diffs.  Diffs are made locally now (not
using cvs) which makes them faster as well as making the date
header compatible with patch's -Z option (which we now use to
avoid useless changes to the diff headers).  Automatically exclude
generated files from the diff (such as proto.h).

19 years agoModified to work with the trunk's hash_search() optimization.
Wayne Davison [Sat, 3 Jul 2004 00:18:40 +0000 (00:18 +0000)]
Modified to work with the trunk's hash_search() optimization.

19 years ago- Added a test for ftruncate() to configure. If the function does not
Wayne Davison [Fri, 2 Jul 2004 21:26:42 +0000 (21:26 +0000)]
- Added a test for ftruncate() to configure.  If the function does not
  exist, we disable support for --inplace.
- Mention the availability of inplace support in the --version output.
- Improved the sorting of the targets to include sub-sorting the same
  target by sum1, sum2, and offset.  This makes the comparisons later
  when searching for matching targets more optimal.
- We now mark chunks that were at idential offsets so that we can
  potentially reuse them.
- Prefer a cunk with an identical offset over another matching chunk.
- Fixed a bug in one error message that was outputting fnametmp instead
  of fnamecmp.
- Don't call cleanup_set() for an inplace transfer.

19 years agoUpdated to apply cleanly.
Wayne Davison [Wed, 30 Jun 2004 07:46:23 +0000 (07:46 +0000)]
Updated to apply cleanly.

19 years agoIncorporated the g2r-basis-filename.diff changes so that we don't
Wayne Davison [Wed, 30 Jun 2004 07:38:53 +0000 (07:38 +0000)]
Incorporated the g2r-basis-filename.diff changes so that we don't
duplicate the fuzzy scan in the receiver that the generator already
performed.

19 years agoMerged in the g2r-basis-filename.diff changes so that the receiver
Wayne Davison [Wed, 30 Jun 2004 07:10:39 +0000 (07:10 +0000)]
Merged in the g2r-basis-filename.diff changes so that the receiver
does not have to duplicate all the compare-dest searching that the
generator had to do.

19 years agoAdded a pipe from the generator to the receiver that communicates
Wayne Davison [Tue, 29 Jun 2004 19:32:12 +0000 (19:32 +0000)]
Added a pipe from the generator to the receiver that communicates
what basis file we used to generate the file data (if it was not
the default name).

19 years agoSimplified the patch a lot, fixing the one failing testcase in the
Wayne Davison [Tue, 29 Jun 2004 17:49:00 +0000 (17:49 +0000)]
Simplified the patch a lot, fixing the one failing testcase in the
testsuite.  Very light testing of the result.

19 years agoAdded back the alternate.c file that got lost from the patch.
Wayne Davison [Tue, 29 Jun 2004 15:17:45 +0000 (15:17 +0000)]
Added back the alternate.c file that got lost from the patch.

19 years ago- Got rid of the main.c bugfix (it is now in CVS).
Wayne Davison [Mon, 28 Jun 2004 21:17:25 +0000 (21:17 +0000)]
- Got rid of the main.c bugfix (it is now in CVS).
- Improved some stuff in await_fds().
- Tweaked some stuff in the opening comments.

19 years agoFixed a typo.
Wayne Davison [Wed, 23 Jun 2004 17:36:50 +0000 (17:36 +0000)]
Fixed a typo.