rsync/rsync-patches.git
17 years agoUpdated to work with the latest F_FFLAGS() macro, and the statx
Wayne Davison [Fri, 30 Mar 2007 23:33:12 +0000 (23:33 +0000)]
Updated to work with the latest F_FFLAGS() macro, and the statx
changes for ACLs.

17 years agoRemoved some superfluous lines that got added somehow.
Wayne Davison [Sun, 25 Mar 2007 22:45:13 +0000 (22:45 +0000)]
Removed some superfluous lines that got added somehow.

17 years agoThe first version of my reworked xattr patch. We now use a checksum
Wayne Davison [Sun, 25 Mar 2007 22:03:53 +0000 (22:03 +0000)]
The first version of my reworked xattr patch.  We now use a checksum
on longer xattr values to look for changes, we request any needed
abbreviated values from the sender when they're needed, and we now
properly check if a file has xattr changes (so that we itemize it
correctly, and avoid hard-linking files that aren't 100% identical).

17 years agoClose the output fd when fsync() fails on it.
Wayne Davison [Tue, 20 Mar 2007 17:09:09 +0000 (17:09 +0000)]
Close the output fd when fsync() fails on it.

17 years agoMoved one fsync() call.
Wayne Davison [Mon, 19 Mar 2007 20:44:52 +0000 (20:44 +0000)]
Moved one fsync() call.

17 years agoFixed failing hunks.
Wayne Davison [Sun, 18 Mar 2007 06:21:54 +0000 (06:21 +0000)]
Fixed failing hunks.

17 years agoA modified version of this patch was committed to the trunk.
Wayne Davison [Sun, 18 Mar 2007 06:01:49 +0000 (06:01 +0000)]
A modified version of this patch was committed to the trunk.

17 years agoA bit more fixing, as requested by Matt.
Wayne Davison [Wed, 14 Mar 2007 20:36:06 +0000 (20:36 +0000)]
A bit more fixing, as requested by Matt.

17 years agoFixed a failing hunk.
Wayne Davison [Wed, 14 Mar 2007 00:25:57 +0000 (00:25 +0000)]
Fixed a failing hunk.

17 years agoA small tweak to the new code in itemize().
Wayne Davison [Mon, 12 Mar 2007 06:15:46 +0000 (06:15 +0000)]
A small tweak to the new code in itemize().

17 years agoMatt's recent improvements, slightly edited.
Wayne Davison [Mon, 12 Mar 2007 06:08:26 +0000 (06:08 +0000)]
Matt's recent improvements, slightly edited.

17 years agoFixed a couple compilation problems, and changed the compatibilty
Wayne Davison [Mon, 12 Mar 2007 05:08:18 +0000 (05:08 +0000)]
Fixed a couple compilation problems, and changed the compatibilty
code to turn off inc_recurse when --detect-renamed is used.

17 years agoFixed failing hunks.
Wayne Davison [Mon, 12 Mar 2007 04:36:09 +0000 (04:36 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Sun, 11 Mar 2007 06:56:57 +0000 (06:56 +0000)]
Fixed failing hunks.

17 years agoFixed a couple compile problems.
Wayne Davison [Sun, 11 Mar 2007 01:15:21 +0000 (01:15 +0000)]
Fixed a couple compile problems.

17 years agoFixed failing hunks.
Wayne Davison [Sun, 11 Mar 2007 01:09:45 +0000 (01:09 +0000)]
Fixed failing hunks.

17 years agoThis patch will make rsync 3.0.x able to exchange ACLs with an older
Wayne Davison [Sun, 11 Mar 2007 00:55:09 +0000 (00:55 +0000)]
This patch will make rsync 3.0.x able to exchange ACLs with an older
rsync that was patched to support the --acls option.

17 years agoWhen deleting extraneous xattrs, never delete items from the system
Wayne Davison [Sat, 10 Mar 2007 01:20:26 +0000 (01:20 +0000)]
When deleting extraneous xattrs, never delete items from the system
namespace.  Furthermore, for a non-root user, ignore any non-user
namespace items.

17 years agoWe now remove any extraneous xattr values from a file that isn't
Wayne Davison [Thu, 8 Mar 2007 01:37:38 +0000 (01:37 +0000)]
We now remove any extraneous xattr values from a file that isn't
being updated.

17 years agoSimplified the populating of the sx struct's ACL info.
Wayne Davison [Sat, 3 Mar 2007 20:13:40 +0000 (20:13 +0000)]
Simplified the populating of the sx struct's ACL info.

17 years agoFixed some build problems that crept into the code.
Wayne Davison [Tue, 20 Feb 2007 23:04:11 +0000 (23:04 +0000)]
Fixed some build problems that crept into the code.

17 years agoFixed failing hunks.
Wayne Davison [Tue, 20 Feb 2007 05:35:43 +0000 (05:35 +0000)]
Fixed failing hunks.

17 years agoFixed a failing hunk.
Wayne Davison [Sat, 3 Feb 2007 05:47:37 +0000 (05:47 +0000)]
Fixed a failing hunk.

17 years agoFixed failing hunks.
Wayne Davison [Tue, 30 Jan 2007 04:07:41 +0000 (04:07 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Sat, 27 Jan 2007 15:01:01 +0000 (15:01 +0000)]
Fixed failing hunks.

17 years agoFixed some patch fuzz.
Wayne Davison [Sun, 21 Jan 2007 05:29:19 +0000 (05:29 +0000)]
Fixed some patch fuzz.

17 years agoRestored a "return;" at the end of a void function that is actually
Wayne Davison [Sun, 21 Jan 2007 05:28:57 +0000 (05:28 +0000)]
Restored a "return;" at the end of a void function that is actually
needed to allow the user to disable ACL support.

17 years agoApplied Matt's fix for a misplaced hunk.
Wayne Davison [Sun, 21 Jan 2007 04:55:07 +0000 (04:55 +0000)]
Applied Matt's fix for a misplaced hunk.

17 years agoUpdated to apply cleanly.
Wayne Davison [Thu, 28 Dec 2006 16:11:25 +0000 (16:11 +0000)]
Updated to apply cleanly.

17 years agoUpdated to apply to latest source.
Wayne Davison [Thu, 28 Dec 2006 16:06:41 +0000 (16:06 +0000)]
Updated to apply to latest source.

17 years ago- Updated to apply to latest source.
Wayne Davison [Thu, 28 Dec 2006 16:06:23 +0000 (16:06 +0000)]
- Updated to apply to latest source.
- Use ACL-compatibility mode when talking protocol_version < 30.

17 years ago- Make sure that our patched files can end up with the same mtime as
Wayne Davison [Wed, 27 Dec 2006 18:01:25 +0000 (18:01 +0000)]
- Make sure that our patched files can end up with the same mtime as
  a file patched by a dependency.
- Use --del instead of --delete when running rsync.

17 years agoFixed some patch fuzz.
Wayne Davison [Wed, 27 Dec 2006 07:28:22 +0000 (07:28 +0000)]
Fixed some patch fuzz.

17 years agoFixed failing hunks.
Wayne Davison [Wed, 27 Dec 2006 07:26:16 +0000 (07:26 +0000)]
Fixed failing hunks.

17 years agoAdding the manpage writeup from Matt.
Wayne Davison [Mon, 18 Dec 2006 07:38:15 +0000 (07:38 +0000)]
Adding the manpage writeup from Matt.

17 years agoFixed failing hunks.
Wayne Davison [Mon, 18 Dec 2006 07:30:55 +0000 (07:30 +0000)]
Fixed failing hunks.

17 years agoFixed a compilation problem.
Wayne Davison [Sun, 17 Dec 2006 02:36:00 +0000 (02:36 +0000)]
Fixed a compilation problem.

17 years agoUpdated to work once more (using the new file_struct idioms).
Wayne Davison [Sun, 17 Dec 2006 02:29:19 +0000 (02:29 +0000)]
Updated to work once more (using the new file_struct idioms).

17 years agoFixed a compilation error that crept into the code.
Wayne Davison [Sun, 17 Dec 2006 01:34:26 +0000 (01:34 +0000)]
Fixed a compilation error that crept into the code.

17 years agoFixed some compilation errors that crept into the code.
Wayne Davison [Sun, 17 Dec 2006 01:32:37 +0000 (01:32 +0000)]
Fixed some compilation errors that crept into the code.

17 years agoFixed failing hunks.
Wayne Davison [Sun, 17 Dec 2006 01:04:09 +0000 (01:04 +0000)]
Fixed failing hunks.

17 years agoFixing failing hunks.
Wayne Davison [Sat, 16 Dec 2006 19:30:11 +0000 (19:30 +0000)]
Fixing failing hunks.

17 years agoUpdate the man page concerning the current ACL compatibility support.
Wayne Davison [Sat, 16 Dec 2006 07:26:32 +0000 (07:26 +0000)]
Update the man page concerning the current ACL compatibility support.

17 years agoFixed failing hunks.
Wayne Davison [Fri, 15 Dec 2006 23:05:02 +0000 (23:05 +0000)]
Fixed failing hunks.

17 years agoRemoving this patch for now, as I'm not considering using threads
Wayne Davison [Fri, 15 Dec 2006 03:14:31 +0000 (03:14 +0000)]
Removing this patch for now, as I'm not considering using threads
to replace the two receiver-side processes at the moment.

17 years agoFixed a failing hunk.
Wayne Davison [Fri, 15 Dec 2006 03:12:59 +0000 (03:12 +0000)]
Fixed a failing hunk.

17 years agoFixed failing hunks.
Wayne Davison [Tue, 12 Dec 2006 20:25:19 +0000 (20:25 +0000)]
Fixed failing hunks.

17 years agoGot rid of some commented-out code.
Wayne Davison [Sat, 9 Dec 2006 17:40:17 +0000 (17:40 +0000)]
Got rid of some commented-out code.

17 years agoGot rid of some patch fuzz.
Wayne Davison [Sat, 9 Dec 2006 02:05:16 +0000 (02:05 +0000)]
Got rid of some patch fuzz.

17 years agoFixed failing hunks.
Wayne Davison [Sat, 9 Dec 2006 02:03:39 +0000 (02:03 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Fri, 8 Dec 2006 23:59:17 +0000 (23:59 +0000)]
Fixed failing hunks.

17 years agoFixed patch to work with --delete-delay.
Wayne Davison [Fri, 8 Dec 2006 23:58:59 +0000 (23:58 +0000)]
Fixed patch to work with --delete-delay.

17 years agoFixed a couple compile glitches.
Wayne Davison [Thu, 7 Dec 2006 04:43:43 +0000 (04:43 +0000)]
Fixed a couple compile glitches.

17 years agoUpdated to work with new rsync.h defines.
Wayne Davison [Thu, 7 Dec 2006 04:40:03 +0000 (04:40 +0000)]
Updated to work with new rsync.h defines.

17 years agoFixed failing hunks.
Wayne Davison [Thu, 7 Dec 2006 04:32:04 +0000 (04:32 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Thu, 7 Dec 2006 04:08:04 +0000 (04:08 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Tue, 5 Dec 2006 18:32:37 +0000 (18:32 +0000)]
Fixed failing hunks.

17 years agoDecided against this patch.
Wayne Davison [Mon, 4 Dec 2006 03:30:35 +0000 (03:30 +0000)]
Decided against this patch.

17 years agoFixed failing hunks.
Wayne Davison [Mon, 4 Dec 2006 03:27:41 +0000 (03:27 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Sun, 3 Dec 2006 09:35:26 +0000 (09:35 +0000)]
Fixed failing hunks.

17 years ago- Added a lock file.
Wayne Davison [Sun, 3 Dec 2006 09:34:29 +0000 (09:34 +0000)]
- Added a lock file.
- Check that the generated files handled by prepare_source have
  their date values set right after a CVS checkout.

17 years agoFixed failing hunks and added preallocate.diff.
Wayne Davison [Fri, 1 Dec 2006 18:39:13 +0000 (18:39 +0000)]
Fixed failing hunks and added preallocate.diff.

17 years agoMatt added "const" to a couple char pointers.
Wayne Davison [Sat, 25 Nov 2006 02:49:13 +0000 (02:49 +0000)]
Matt added "const" to a couple char pointers.

17 years agoFixed failing hunks.
Wayne Davison [Fri, 24 Nov 2006 08:41:23 +0000 (08:41 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Thu, 23 Nov 2006 04:07:50 +0000 (04:07 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Tue, 21 Nov 2006 08:52:10 +0000 (08:52 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Sun, 19 Nov 2006 05:56:21 +0000 (05:56 +0000)]
Fixed failing hunks.

17 years agoSimplified the patch a bit.
Wayne Davison [Tue, 14 Nov 2006 08:37:29 +0000 (08:37 +0000)]
Simplified the patch a bit.

17 years agoFixed failing hunks.
Wayne Davison [Sat, 11 Nov 2006 17:32:27 +0000 (17:32 +0000)]
Fixed failing hunks.

17 years agoAdded missing no-delete check.
Wayne Davison [Sat, 11 Nov 2006 07:58:28 +0000 (07:58 +0000)]
Added missing no-delete check.

17 years agoFixed failing hunks.
Wayne Davison [Sat, 11 Nov 2006 07:45:25 +0000 (07:45 +0000)]
Fixed failing hunks.

17 years agoFixed some patch fuzz.
Wayne Davison [Fri, 10 Nov 2006 20:41:43 +0000 (20:41 +0000)]
Fixed some patch fuzz.

17 years agoFixed failing hunks.
Wayne Davison [Fri, 10 Nov 2006 20:40:55 +0000 (20:40 +0000)]
Fixed failing hunks.

17 years agoFixed the combining of --delete with --xattrs.
Wayne Davison [Fri, 10 Nov 2006 20:34:48 +0000 (20:34 +0000)]
Fixed the combining of --delete with --xattrs.

17 years agoFixed the combination of --acls with --delete-*.
Wayne Davison [Fri, 10 Nov 2006 15:29:19 +0000 (15:29 +0000)]
Fixed the combination of --acls with --delete-*.

17 years agoFixed failing hunks.
Wayne Davison [Fri, 10 Nov 2006 07:40:36 +0000 (07:40 +0000)]
Fixed failing hunks.

17 years agoUse the new isDigit() function.
Wayne Davison [Fri, 10 Nov 2006 05:58:10 +0000 (05:58 +0000)]
Use the new isDigit() function.

17 years agoFixed failing hunks.
Wayne Davison [Fri, 10 Nov 2006 05:57:10 +0000 (05:57 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunk.
Wayne Davison [Thu, 9 Nov 2006 02:50:26 +0000 (02:50 +0000)]
Fixed failing hunk.

17 years ago- Fixed the setting of extra_len in receive_xattr().
Wayne Davison [Tue, 7 Nov 2006 04:37:59 +0000 (04:37 +0000)]
- Fixed the setting of extra_len in receive_xattr().
- Fixed name_len in Linux code when prepending "user.rsync.".
- Got rid of CENT_POS to make use of RPRE_LEN consistent.

17 years agoFixed the setting of extra_len in receive_xattr().
Wayne Davison [Tue, 7 Nov 2006 04:35:23 +0000 (04:35 +0000)]
Fixed the setting of extra_len in receive_xattr().

17 years agoMake sure that any weird mode bits (if they exist up beyond the
Wayne Davison [Sun, 5 Nov 2006 06:20:49 +0000 (06:20 +0000)]
Make sure that any weird mode bits (if they exist up beyond the
format bits) can't cause problems for the mode comparisons in
set_stat_xattr().

17 years agoTweaked the increment style of a "for" loop.
Wayne Davison [Sat, 4 Nov 2006 18:18:58 +0000 (18:18 +0000)]
Tweaked the increment style of a "for" loop.

17 years agoMoved the %-name preserving code into the regular xattr patch.
Wayne Davison [Sat, 4 Nov 2006 18:05:27 +0000 (18:05 +0000)]
Moved the %-name preserving code into the regular xattr patch.

17 years agoThe non-linux version should not strip the "rsync." prefix from any
Wayne Davison [Sat, 4 Nov 2006 18:01:30 +0000 (18:01 +0000)]
The non-linux version should not strip the "" prefix from any
name that starts with a '%'.  This makes all xattr-enabled rsync
versions compatible with xattrs generated by a fake-super enabled
version, and supports any future %-names that we might want to put
in this hierarchy.

17 years ago- The non-Linux version now preserves the user namespace on our
Wayne Davison [Sat, 4 Nov 2006 17:49:56 +0000 (17:49 +0000)]
- The non-Linux version now preserves the user namespace on our
  rsync.%stat xattr when transferring it with -X and without
  --fake-super.
- A change in the xattr patch fixed a bug in a "for" loop when
  we need to tweak a name that is losing our user.rsync prefix.

17 years ago- Improved the error messages.
Wayne Davison [Sat, 4 Nov 2006 17:40:52 +0000 (17:40 +0000)]
- Improved the error messages.
- Tweaked a "for" loop for the fake-super patch's sake.

17 years agoSimplified the prefix defines and made to work with the latest
Wayne Davison [Sat, 4 Nov 2006 16:04:10 +0000 (16:04 +0000)]
Simplified the prefix defines and made to work with the latest
xattr patch.

17 years agoThe non-Linux version should also discard non-user-space attrs
Wayne Davison [Sat, 4 Nov 2006 15:49:10 +0000 (15:49 +0000)]
The non-Linux version should also discard non-user-space attrs
when not running as root (for consistency).

17 years agoFixed length check when excluding XSTAT_ATTR.
Wayne Davison [Sat, 4 Nov 2006 08:14:39 +0000 (08:14 +0000)]
Fixed length check when excluding XSTAT_ATTR.

17 years agoFixed the value of CENT_POS for non-Linux systems.
Wayne Davison [Sat, 4 Nov 2006 07:36:03 +0000 (07:36 +0000)]
Fixed the value of CENT_POS for non-Linux systems.

17 years agoMust bump the value of name_len when adding the rsync prefix.
Wayne Davison [Sat, 4 Nov 2006 07:35:13 +0000 (07:35 +0000)]
Must bump the value of name_len when adding the rsync prefix.

17 years ago- We save our extended stat attributes using the name
Wayne Davison [Sat, 4 Nov 2006 00:31:41 +0000 (00:31 +0000)]
- We save our extended stat attributes using the name
  rsync.%stat now.  This keeps all our attriubutes in the
  rsync hierarchy, and the name should avoid a conflict with
  any namespace values that we might alias.
- If a Linux receiver is not running as root, it discards any
  non-user namespaces.  If it is running as fake-root, the non-
  user namespaces are stored in the rsync hierarchy.

17 years ago- Changed the xattr namespaces check to filter out system xattrs
Wayne Davison [Sat, 4 Nov 2006 00:24:24 +0000 (00:24 +0000)]
- Changed the xattr namespaces check to filter out system xattrs
  instead of looking for specific namespace prefixes.  This will
  ensure that we send a namespace such as "security".
- Changed the positions of the xattr name & datum in the combined
  buffer so that we can change the name pointer without affecting
  the base pointer of the buffer (which needs to be unchanged so
  that we can free it).
- If a non-Linux system gets a non-user namespace, we now store
  namespace FOO as rsync.FOO.  This allows us to strip the rsync
  prefix when sending the values back.
- Fixed a memory leak when handling an error.
- Improved some of the variable names.

17 years agoFixed a compile problem in the non-Linux code.
Wayne Davison [Fri, 3 Nov 2006 07:59:02 +0000 (07:59 +0000)]
Fixed a compile problem in the non-Linux code.

17 years agoNamespace improvements.
Wayne Davison [Thu, 2 Nov 2006 17:31:08 +0000 (17:31 +0000)]
Namespace improvements.

17 years agoFixed to work with the latest xattr.diff.
Wayne Davison [Thu, 2 Nov 2006 00:40:11 +0000 (00:40 +0000)]
Fixed to work with the latest xattr.diff.

17 years agoPreliminary xattr support for FreeBSD supplied by Wesley W. Terpstra
Wayne Davison [Thu, 2 Nov 2006 00:31:09 +0000 (00:31 +0000)]
Preliminary xattr support for FreeBSD supplied by Wesley W. Terpstra
(with an extra fix by me).  Untested, but looks promising.

17 years agoWe now look for extra "patch -p1 <patches/FOO" commands instead
Wayne Davison [Wed, 1 Nov 2006 21:33:37 +0000 (21:33 +0000)]
We now look for extra "patch -p1 <patches/FOO" commands instead
of looking for "Depends-On-Patch: FOO" lines.

17 years agoUpdated the opening comments to mention how to apply the patch
Wayne Davison [Wed, 1 Nov 2006 21:33:37 +0000 (21:33 +0000)]
Updated the opening comments to mention how to apply the patch
prior to the build.  Also updated to apply cleanly.