rsync/rsync-patches.git
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.

19 years agoOptimized the calling of access() in one loop.
Wayne Davison [Wed, 23 Jun 2004 17:32:40 +0000 (17:32 +0000)]
Optimized the calling of access() in one loop.

19 years agoA modified version of Vidar Madsen's --compare-dest patch.
Wayne Davison [Wed, 23 Jun 2004 17:14:40 +0000 (17:14 +0000)]
A modified version of Vidar Madsen's --compare-dest patch.

19 years agoUpdated to apply cleanly.
Wayne Davison [Sun, 20 Jun 2004 21:17:38 +0000 (21:17 +0000)]
Updated to apply cleanly.

19 years agoSome improvements from Chris Shoemaker.
Wayne Davison [Fri, 18 Jun 2004 17:19:10 +0000 (17:19 +0000)]
Some improvements from Chris Shoemaker.

19 years agoAdded missing documentation.
Wayne Davison [Tue, 15 Jun 2004 16:21:00 +0000 (16:21 +0000)]
Added missing documentation.

19 years agoAdd a --max-size option.
Wayne Davison [Tue, 15 Jun 2004 15:37:47 +0000 (15:37 +0000)]
Add a --max-size option.

19 years agoFixed a failed hunk.
Wayne Davison [Wed, 9 Jun 2004 21:58:15 +0000 (21:58 +0000)]
Fixed a failed hunk.

19 years agoApplied to CVS.
Wayne Davison [Wed, 9 Jun 2004 21:51:35 +0000 (21:51 +0000)]
Applied to CVS.

19 years agoFixed a failure.
Wayne Davison [Wed, 9 Jun 2004 15:39:15 +0000 (15:39 +0000)]
Fixed a failure.

19 years agoGot rid of some fuzz.
Wayne Davison [Wed, 9 Jun 2004 15:39:08 +0000 (15:39 +0000)]
Got rid of some fuzz.

19 years agoFixed fuzz and failed hunks.
Wayne Davison [Sun, 6 Jun 2004 21:30:35 +0000 (21:30 +0000)]
Fixed fuzz and failed hunks.

19 years agoOne minor tweak.
Wayne Davison [Sun, 6 Jun 2004 21:29:38 +0000 (21:29 +0000)]
One minor tweak.

19 years agoFixed a typo and added an extra note.
Wayne Davison [Sun, 6 Jun 2004 21:08:51 +0000 (21:08 +0000)]
Fixed a typo and added an extra note.

20 years agoGot rid of proto.h hunk.
Wayne Davison [Sat, 5 Jun 2004 20:46:37 +0000 (20:46 +0000)]
Got rid of proto.h hunk.

20 years agoAllow an rsync-daemon to glob more than 1000 file entries.
Wayne Davison [Sat, 5 Jun 2004 20:39:47 +0000 (20:39 +0000)]
Allow an rsync-daemon to glob more than 1000 file entries.

20 years agoThis has been merged into the main codebase.
Wayne Davison [Sat, 5 Jun 2004 16:21:15 +0000 (16:21 +0000)]
This has been merged into the main codebase.

20 years agoSimplified the code that avoids the re-stat for already-existing dirs.
Wayne Davison [Sat, 5 Jun 2004 16:12:41 +0000 (16:12 +0000)]
Simplified the code that avoids the re-stat for already-existing dirs.

20 years agoDon't let set_perms() re-stat an existing directory or it will not set
Wayne Davison [Sat, 5 Jun 2004 16:00:28 +0000 (16:00 +0000)]
Don't let set_perms() re-stat an existing directory or it will not set
the modify time on the symlinked dirs.

20 years agoPut the new code in generator.c in a better spot.
Wayne Davison [Sat, 5 Jun 2004 15:37:46 +0000 (15:37 +0000)]
Put the new code in generator.c in a better spot.

20 years agoImproved the code that supports --inherit.
Wayne Davison [Fri, 4 Jun 2004 07:15:22 +0000 (07:15 +0000)]
Improved the code that supports --inherit.

20 years agoFixed failures/fuzz.
Wayne Davison [Fri, 4 Jun 2004 05:31:02 +0000 (05:31 +0000)]
Fixed failures/fuzz.

20 years agoNew option allows a symlink to a dir on the receiver where a dir is
Wayne Davison [Fri, 4 Jun 2004 05:09:46 +0000 (05:09 +0000)]
New option allows a symlink to a dir on the receiver where a dir is
on the sender.

20 years agoMade inheritance of parent-dir rules optional.
Wayne Davison [Sun, 30 May 2004 22:50:43 +0000 (22:50 +0000)]
Made inheritance of parent-dir rules optional.

20 years agoRemoved an unneeded '{' that my tweaking should have removed.
Wayne Davison [Sun, 30 May 2004 22:47:49 +0000 (22:47 +0000)]
Removed an unneeded '{' that my tweaking should have removed.

20 years agoNew patch from Eran Tromer (tweaked for CVS).
Wayne Davison [Sat, 29 May 2004 21:34:26 +0000 (21:34 +0000)]
New patch from Eran Tromer (tweaked for CVS).

20 years ago- Improved the sanitize_path() logic for merged include files.
Wayne Davison [Mon, 24 May 2004 00:47:04 +0000 (00:47 +0000)]
- Improved the sanitize_path() logic for merged include files.
- Added a debug message for every include/exclude file we read in.
- Tweaked the exclude.test file a little more.

20 years agoFixed some failing hunks.
Wayne Davison [Sat, 22 May 2004 19:38:07 +0000 (19:38 +0000)]
Fixed some failing hunks.

20 years agoGot rid of some fuzz.
Wayne Davison [Sat, 22 May 2004 19:37:32 +0000 (19:37 +0000)]
Got rid of some fuzz.

20 years agoUpdated the exclude test to test merge files.
Wayne Davison [Sat, 22 May 2004 19:36:36 +0000 (19:36 +0000)]
Updated the exclude test to test merge files.

20 years agoImproved the docs.
Wayne Davison [Sat, 22 May 2004 06:46:26 +0000 (06:46 +0000)]
Improved the docs.

20 years agoChanged order of list-clearing loop in pop_local_excludes() to avoid
Wayne Davison [Sat, 22 May 2004 06:05:24 +0000 (06:05 +0000)]
Changed order of list-clearing loop in pop_local_excludes() to avoid
accessing already-freed memory.

20 years agoImproved the push/pop/search-for-dup code.
Wayne Davison [Fri, 21 May 2004 23:54:57 +0000 (23:54 +0000)]
Improved the push/pop/search-for-dup code.

20 years agoRemoved applied patch.
Wayne Davison [Fri, 21 May 2004 09:44:45 +0000 (09:44 +0000)]
Removed applied patch.

20 years agoImproved the manpage markup a little.
Wayne Davison [Fri, 21 May 2004 09:32:50 +0000 (09:32 +0000)]
Improved the manpage markup a little.

20 years agoStrip off the new "a/" and "b/" path prefixes in the diff headers.
Wayne Davison [Fri, 21 May 2004 09:18:47 +0000 (09:18 +0000)]
Strip off the new "a/" and "b/" path prefixes in the diff headers.

20 years agoFixed failed hunks.
Wayne Davison [Fri, 21 May 2004 09:14:48 +0000 (09:14 +0000)]
Fixed failed hunks.

20 years agoRemoving applied patch.
Wayne Davison [Fri, 21 May 2004 08:13:41 +0000 (08:13 +0000)]
Removing applied patch.

20 years agoFixed the logic in the write-only check.
Wayne Davison [Fri, 21 May 2004 08:12:47 +0000 (08:12 +0000)]
Fixed the logic in the write-only check.

20 years agoFixed failing hunks.
Wayne Davison [Tue, 18 May 2004 09:53:28 +0000 (09:53 +0000)]
Fixed failing hunks.

20 years agoDo a better job of finding the .rej files to edit (since they can
Wayne Davison [Tue, 18 May 2004 09:52:32 +0000 (09:52 +0000)]
Do a better job of finding the .rej files to edit (since they can
be in a subdir).

20 years agoAdded some extra error checking and made a couple minor parsing
Wayne Davison [Mon, 17 May 2004 21:58:06 +0000 (21:58 +0000)]
Added some extra error checking and made a couple minor parsing
tweaks (e.g. "1" is an mday -- use ":01" for the old minutes
interpretation).

20 years agoChanged the time-spec parsing to allow abbreviated values and to use
Wayne Davison [Mon, 17 May 2004 19:50:22 +0000 (19:50 +0000)]
Changed the time-spec parsing to allow abbreviated values and to use
"T" instead of "@" to separate the date from the time.

20 years agoSwitched the storage for the merge-file lists from a single,
Wayne Davison [Mon, 17 May 2004 16:35:02 +0000 (16:35 +0000)]
Switched the storage for the merge-file lists from a single,
reallocated array (which made push/pop easy) to separate, unchanging
allocations directly attached to the exclude_struct item.  This fixes
a problem where a listp pointer to a parent list might get invalidated
when a new merge-file list forced the array to grow (and its memory to
move).

20 years agoFixed a problem where the "listp" pointer in make_exclude() might become
Wayne Davison [Sun, 16 May 2004 22:07:44 +0000 (22:07 +0000)]
Fixed a problem where the "listp" pointer in make_exclude() might become
invalid if it was pointing inside the array we just reallocated.

20 years agoTook the general exclude-list improvements from this patch (memory
Wayne Davison [Sun, 16 May 2004 07:57:16 +0000 (07:57 +0000)]
Took the general exclude-list improvements from this patch (memory
savings, improved match_flags handling) and checked them into the
trunk, making this patch simpler.

20 years agoFixed failing hunks and/or fuzz.
Wayne Davison [Sat, 15 May 2004 20:52:13 +0000 (20:52 +0000)]
Fixed failing hunks and/or fuzz.

20 years ago- Improved the recently-added exclude-list comment.
Wayne Davison [Sat, 15 May 2004 20:10:06 +0000 (20:10 +0000)]
- Improved the recently-added exclude-list comment.
- Put slash_cnt into a union along with a new var named "array_index".
  This avoids abusing the slash_cnt var in a cryptic way.
- Made some vars unsigned.
- Added some new error messages for overflow conditions.
- Improved the man page's description of this new feature.

20 years ago- Use "array" for the root-list's array pointer, not "head".
Wayne Davison [Sat, 15 May 2004 07:10:03 +0000 (07:10 +0000)]
- Use "array" for the root-list's array pointer, not "head".
- Added a big comment explaining how the inherited content gets added
  to a local dir's linked list.

20 years agoOne more tweak.
Wayne Davison [Sat, 15 May 2004 02:47:18 +0000 (02:47 +0000)]
One more tweak.

20 years agoGot rid of "extra" pointer out of exclude_list_struct (we can get
Wayne Davison [Sat, 15 May 2004 00:53:47 +0000 (00:53 +0000)]
Got rid of "extra" pointer out of exclude_list_struct (we can get
that info from tail->next).  Modified to apply to the latest CVS
source.

20 years agoGot rid of the option to regenerate the proto.h file.
Wayne Davison [Thu, 13 May 2004 19:22:04 +0000 (19:22 +0000)]
Got rid of the option to regenerate the proto.h file.

20 years agoGot rid of the changes to proto.h and mentioned the build instructions
Wayne Davison [Thu, 13 May 2004 19:20:32 +0000 (19:20 +0000)]
Got rid of the changes to proto.h and mentioned the build instructions
at the top of the file.

20 years agoFixed failed hunks.
Wayne Davison [Thu, 13 May 2004 19:18:55 +0000 (19:18 +0000)]
Fixed failed hunks.

20 years agoMy slightly modified version of the ACL (access control list) patch
Wayne Davison [Thu, 13 May 2004 18:06:04 +0000 (18:06 +0000)]
My slightly modified version of the ACL (access control list) patch
from Christophe Saout that was originally created by Buck Huppmann.

20 years agoAdd an option, --dir-times, that tells rsync to preserve the modtime of
Wayne Davison [Thu, 13 May 2004 07:13:37 +0000 (07:13 +0000)]
Add an option, --dir-times, that tells rsync to preserve the modtime of
directories (while also changing --times not to do that).

20 years agoUpdated to apply cleanly.
Wayne Davison [Sun, 9 May 2004 03:40:00 +0000 (03:40 +0000)]
Updated to apply cleanly.

20 years agoCraig Barratt's --checksum-seed option.
Wayne Davison [Sun, 2 May 2004 16:24:36 +0000 (16:24 +0000)]
Craig Barratt's --checksum-seed option.

20 years agoPatch from Mark Curtis.
Wayne Davison [Tue, 27 Apr 2004 23:40:17 +0000 (23:40 +0000)]
Patch from Mark Curtis.

20 years agoThe --fsync option from Sami Farin.
Wayne Davison [Tue, 27 Apr 2004 20:06:00 +0000 (20:06 +0000)]
The --fsync option from Sami Farin.

20 years agoUpdated.
Wayne Davison [Tue, 27 Apr 2004 03:05:35 +0000 (03:05 +0000)]
Updated.

20 years agoTook John's new patch (with the --stopat option) and created a much
Wayne Davison [Tue, 27 Apr 2004 03:04:54 +0000 (03:04 +0000)]
Took John's new patch (with the --stopat option) and created a much
simplified version with the options slightly tweaked.

20 years agoUpdated version of Casey Marshall's openssl patch.
Wayne Davison [Sun, 25 Apr 2004 18:39:40 +0000 (18:39 +0000)]
Updated version of Casey Marshall's openssl patch.

20 years agoA simplified version of the netgroup-authorization patch from
Wayne Davison [Sun, 25 Apr 2004 17:37:05 +0000 (17:37 +0000)]
A simplified version of the netgroup-authorization patch from
Travis Freeland.

20 years agoUse egrep in place of a sequence of greps.
Wayne Davison [Sat, 24 Apr 2004 20:14:25 +0000 (20:14 +0000)]
Use egrep in place of a sequence of greps.

20 years agoSuperseded by the better solution in merge-exclude-file.diff.
Wayne Davison [Sat, 24 Apr 2004 20:13:07 +0000 (20:13 +0000)]
Superseded by the better solution in merge-exclude-file.diff.