rsync/rsync-patches.git
18 years agoFixed failing hunks.
Wayne Davison [Tue, 18 Apr 2006 04:45:44 +0000 (04:45 +0000)]
Fixed failing hunks.

18 years agoA slight tweak to the logic that calls log_exit().
Wayne Davison [Tue, 18 Apr 2006 04:45:30 +0000 (04:45 +0000)]
A slight tweak to the logic that calls log_exit().

18 years agoAdded a simple ACL-copying test to the testsuite.
Wayne Davison [Tue, 11 Apr 2006 00:19:37 +0000 (00:19 +0000)]
Added a simple ACL-copying test to the testsuite.

18 years agoA tweak to the configure output from Mike Frysinger.
Wayne Davison [Sat, 8 Apr 2006 16:25:09 +0000 (16:25 +0000)]
A tweak to the configure output from Mike Frysinger.

18 years agoMake sure that whenever log_init() gets called, that a daemon rsync
Wayne Davison [Sat, 8 Apr 2006 16:15:30 +0000 (16:15 +0000)]
Make sure that whenever log_init() gets called, that a daemon rsync
will use the current value of lp_log_file().

18 years agoChanged variable "logfile" to "logfile_fp".
Wayne Davison [Thu, 6 Apr 2006 21:14:18 +0000 (21:14 +0000)]
Changed variable "logfile" to "logfile_fp".

18 years ago- Make sure that logfile_name is set properly for all possible
Wayne Davison [Thu, 6 Apr 2006 07:51:54 +0000 (07:51 +0000)]
- Make sure that logfile_name is set properly for all possible
  daemon modes.
- Fixed some failing hunks.

18 years agoFixed a failing hunk.
Wayne Davison [Wed, 22 Mar 2006 09:24:41 +0000 (09:24 +0000)]
Fixed a failing hunk.

18 years agoImproved the opening comments.
Wayne Davison [Wed, 22 Mar 2006 09:21:46 +0000 (09:21 +0000)]
Improved the opening comments.

18 years agoA fix to define SUPPORT_FLAGS earlier in rsync.h.
Wayne Davison [Tue, 21 Mar 2006 21:59:35 +0000 (21:59 +0000)]
A fix to define SUPPORT_FLAGS earlier in rsync.h.

18 years agoA little more misc. cleanup.
Wayne Davison [Tue, 21 Mar 2006 07:55:12 +0000 (07:55 +0000)]
A little more misc. cleanup.

18 years agoA new version of an old patch by Rolf Grossmann.
Wayne Davison [Mon, 20 Mar 2006 23:54:26 +0000 (23:54 +0000)]
A new version of an old patch by Rolf Grossmann.

18 years agoThis is a better version for the updated acls.diff patch than
Wayne Davison [Mon, 20 Mar 2006 18:01:57 +0000 (18:01 +0000)]
This is a better version for the updated acls.diff patch than
what I had created before.

18 years ago- Fixed a logic problem for an ACLS_NEED_MASK system where group_obj
Wayne Davison [Mon, 20 Mar 2006 00:59:12 +0000 (00:59 +0000)]
- Fixed a logic problem for an ACLS_NEED_MASK system where group_obj
  would not get reconstructed correctly for simple ACL sets.
- Fixed a build problem for an ACLS_NEED_MASK system.
- Avoid sending redundant group/mask info when possible.
- Renamed NO_ENTRY define ACL_NO_ENTRY.

18 years agoMake sure that an ACLS_NEED_MASK system strips a redundant mask
Wayne Davison [Sat, 18 Mar 2006 08:50:40 +0000 (08:50 +0000)]
Make sure that an ACLS_NEED_MASK system strips a redundant mask
value prior to the send so that the ACL transmission is as efficient
as it would be on a non-ACLS_NEED_MASK sytem.

18 years agoFixed a failing hunk.
Wayne Davison [Fri, 17 Mar 2006 23:58:08 +0000 (23:58 +0000)]
Fixed a failing hunk.

18 years agoUpdated the rsync.yo file.
Wayne Davison [Fri, 17 Mar 2006 17:55:46 +0000 (17:55 +0000)]
Updated the rsync.yo file.

18 years agoIf the user repeats the --acls (-A) option, use a backward-compatible
Wayne Davison [Fri, 17 Mar 2006 17:19:37 +0000 (17:19 +0000)]
If the user repeats the --acls (-A) option, use a backward-compatible
ACL-send that should let us send files to an older ACL-enabled rsync.

18 years ago- Added configure support for cygwin.
Wayne Davison [Thu, 16 Mar 2006 21:38:59 +0000 (21:38 +0000)]
- Added configure support for cygwin.
- Added support for a system that loses the special mode bits
  (such as cygwin) via the SMB_ACL_LOSES_SPECIAL_MODE_BITS define.
- Made the default-acls.test work on solaris.

18 years agoUpdated to work with latest io.c changes.
Wayne Davison [Thu, 16 Mar 2006 17:54:16 +0000 (17:54 +0000)]
Updated to work with latest io.c changes.

18 years agoUpdated to work with the newest io.c code.
Wayne Davison [Thu, 16 Mar 2006 03:12:42 +0000 (03:12 +0000)]
Updated to work with the newest io.c code.

18 years agoSet LC_COLLATE=C explicitly in the environment.
Wayne Davison [Wed, 15 Mar 2006 01:59:45 +0000 (01:59 +0000)]
Set LC_COLLATE=C explicitly in the environment.

18 years agoA first-cut at a --log-file=FILE option.
Wayne Davison [Tue, 14 Mar 2006 19:28:08 +0000 (19:28 +0000)]
A first-cut at a --log-file=FILE option.

18 years agoRemoved patch fuzz.
Wayne Davison [Mon, 13 Mar 2006 22:03:21 +0000 (22:03 +0000)]
Removed patch fuzz.

18 years agoModifed to work with the latest acls.diff patch.
Wayne Davison [Mon, 13 Mar 2006 22:02:10 +0000 (22:02 +0000)]
Modifed to work with the latest acls.diff patch.

18 years agoThe tag char doesn't need to be unsigned.
Wayne Davison [Mon, 13 Mar 2006 21:50:55 +0000 (21:50 +0000)]
The tag char doesn't need to be unsigned.

18 years agoSome improved error checking.
Wayne Davison [Mon, 13 Mar 2006 21:45:54 +0000 (21:45 +0000)]
Some improved error checking.

18 years agoFixed a problem in the computing of a missing mask value.
Wayne Davison [Mon, 13 Mar 2006 01:03:51 +0000 (01:03 +0000)]
Fixed a problem in the computing of a missing mask value.

18 years agoA much-improved version of the --acls option that Matt and I have been
Wayne Davison [Sat, 11 Mar 2006 21:47:01 +0000 (21:47 +0000)]
A much-improved version of the --acls option that Matt and I have been
working on.

18 years agoFixed a failing hunk.
Wayne Davison [Sat, 11 Mar 2006 18:13:22 +0000 (18:13 +0000)]
Fixed a failing hunk.

18 years ago- Reverted some of the recent changes that were not quite right.
Wayne Davison [Sat, 11 Mar 2006 05:41:17 +0000 (05:41 +0000)]
- Reverted some of the recent changes that were not quite right.
- Changed the chmod()/set_acl() interaction yet again.  Now, -A mode
  has chmod() only turn off bits that got disabled while it properly
  sets the special permission bits; then set_acl() finishes the job
  by turning on any new access bits when it sets the updated ACL.

18 years agoThe ACL code in make_file() needed to happen after the --chmod
Wayne Davison [Fri, 10 Mar 2006 21:53:41 +0000 (21:53 +0000)]
The ACL code in make_file() needed to happen after the --chmod
code twiddled the permissions.

18 years agoChanged the uid/gid mapping to not use such a convoluted call-back
Wayne Davison [Fri, 10 Mar 2006 19:34:30 +0000 (19:34 +0000)]
Changed the uid/gid mapping to not use such a convoluted call-back
method; just return a pointer to the id that needs to be updated.

18 years agoThe pack_smb_acl() function sets more than just the mask now: the
Wayne Davison [Fri, 10 Mar 2006 18:40:18 +0000 (18:40 +0000)]
The pack_smb_acl() function sets more than just the mask now:  the
group permissions IIF no mask exists, and the other permissions too.

18 years agoReverting the change in 1.21.
Wayne Davison [Fri, 10 Mar 2006 17:04:22 +0000 (17:04 +0000)]
Reverting the change in 1.21.

18 years ago- If an access ACL has a mask, we set it to the group bits of the
Wayne Davison [Fri, 10 Mar 2006 17:02:50 +0000 (17:02 +0000)]
- If an access ACL has a mask, we set it to the group bits of the
  file on the disk (which will be 0 for a new file) and let the
  following chmod() fix it.
- The chmod() call now follows set_acl() again.
- Improved the code in receive_rsync_acl().
- If we don't receive one of the  SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ,
  SMB_ACL_OTHER, and/or SMB_ACL_MASK objects, we set the access bits
  based on the incoming file's mode bits.
- Tweaked some comments.

18 years agoUpdated the opening comments.
Wayne Davison [Thu, 9 Mar 2006 20:36:11 +0000 (20:36 +0000)]
Updated the opening comments.

18 years agoMoved the set_xattr() call back after do_chmod().
Wayne Davison [Thu, 9 Mar 2006 19:51:50 +0000 (19:51 +0000)]
Moved the set_xattr() call back after do_chmod().

18 years agoMoved the set_acl() call after the do_chmod() call again.
Wayne Davison [Thu, 9 Mar 2006 19:50:49 +0000 (19:50 +0000)]
Moved the set_acl() call after the do_chmod() call again.

18 years agoHave the xattr-function callers check preserve_xattrs.
Wayne Davison [Thu, 9 Mar 2006 17:46:22 +0000 (17:46 +0000)]
Have the xattr-function callers check preserve_xattrs.

18 years agoAdded a comment.
Wayne Davison [Thu, 9 Mar 2006 17:30:22 +0000 (17:30 +0000)]
Added a comment.

18 years agoMade the ACL-function callers check preserve_acls.
Wayne Davison [Thu, 9 Mar 2006 17:14:36 +0000 (17:14 +0000)]
Made the ACL-function callers check preserve_acls.

18 years agoMade all the type loops more efficient.
Wayne Davison [Thu, 9 Mar 2006 17:00:24 +0000 (17:00 +0000)]
Made all the type loops more efficient.

18 years ago- Made the "types" array a single static instead of a separate
Wayne Davison [Thu, 9 Mar 2006 16:08:58 +0000 (16:08 +0000)]
- Made the "types" array a single static instead of a separate
  dynamically initialized version for each function.
- Moved the set_acl() prior to chmod().

18 years agoThis change from Matt makes rsync invent a simple ACL list for an
Wayne Davison [Thu, 9 Mar 2006 15:47:12 +0000 (15:47 +0000)]
This change from Matt makes rsync invent a simple ACL list for an
item that doesn't support ACLs.

18 years agoGot rid of the uppercase XATTR function defines and updated
Wayne Davison [Thu, 9 Mar 2006 02:44:31 +0000 (02:44 +0000)]
Got rid of the uppercase XATTR function defines and updated
the patch to apply against the latest ACL patch.

18 years ago- Got rid of the uppercased ACL function defines.
Wayne Davison [Thu, 9 Mar 2006 02:17:30 +0000 (02:17 +0000)]
- Got rid of the uppercased ACL function defines.
- A few other style tweaks.

18 years agoFrom Matt:
Wayne Davison [Thu, 9 Mar 2006 01:27:17 +0000 (01:27 +0000)]
From Matt:
- Fixed the return value of set_acl() when ACLs are being copied.
- Set directory ACLs correctly.
- Got rid of an unneeded forcing of S_IWUSR.

18 years agoGot rid of some patch fuzz.
Wayne Davison [Tue, 7 Mar 2006 07:41:08 +0000 (07:41 +0000)]
Got rid of some patch fuzz.

18 years agoFixed a typo.
Wayne Davison [Tue, 7 Mar 2006 07:40:53 +0000 (07:40 +0000)]
Fixed a typo.

18 years agoChanged "%0x" in an rprintf() to "%02x".
Wayne Davison [Tue, 7 Mar 2006 07:39:51 +0000 (07:39 +0000)]
Changed "%0x" in an rprintf() to "%02x".

18 years agoWe now pass the --detect-renamed option to the server if we're not
Wayne Davison [Sun, 5 Mar 2006 21:15:48 +0000 (21:15 +0000)]
We now pass the --detect-renamed option to the server if we're not
the receiver.

18 years agoTweaked a directory copy command in default-acls.test.
Wayne Davison [Thu, 2 Mar 2006 21:14:26 +0000 (21:14 +0000)]
Tweaked a directory copy command in default-acls.test.

18 years agoMost of the patch got applied to the trunk, so what remains is
Wayne Davison [Tue, 28 Feb 2006 21:49:42 +0000 (21:49 +0000)]
Most of the patch got applied to the trunk, so what remains is
just the bit that makes the hash table dynamically sized.

18 years agoHandle a patch failure where the whole patch was rejected.
Wayne Davison [Tue, 28 Feb 2006 00:38:18 +0000 (00:38 +0000)]
Handle a patch failure where the whole patch was rejected.

18 years agoFixed a few bugs.
Wayne Davison [Tue, 28 Feb 2006 00:26:17 +0000 (00:26 +0000)]
Fixed a few bugs.

18 years agoImproved a few minor things.
Wayne Davison [Mon, 27 Feb 2006 03:28:04 +0000 (03:28 +0000)]
Improved a few minor things.

18 years agoNo need to initialize the chain var of a checksum struct since
Wayne Davison [Mon, 27 Feb 2006 02:55:55 +0000 (02:55 +0000)]
No need to initialize the chain var of a checksum struct since
it will get set when it is inserted into the hash table.

18 years agoMake sure that the hash-table index can't overflow its variable.
Wayne Davison [Mon, 27 Feb 2006 02:48:40 +0000 (02:48 +0000)]
Make sure that the hash-table index can't overflow its variable.

18 years agoIncorporated some feedback from Shachar Shemesh.
Wayne Davison [Sun, 26 Feb 2006 15:48:01 +0000 (15:48 +0000)]
Incorporated some feedback from Shachar Shemesh.

18 years agoFixed a typo.
Wayne Davison [Sun, 26 Feb 2006 00:59:54 +0000 (00:59 +0000)]
Fixed a typo.

18 years agoAn improved way to hash the checksum data (used by the sender).
Wayne Davison [Sun, 26 Feb 2006 00:29:34 +0000 (00:29 +0000)]
An improved way to hash the checksum data (used by the sender).

18 years agoFixed failing hunks.
Wayne Davison [Fri, 24 Feb 2006 18:03:01 +0000 (18:03 +0000)]
Fixed failing hunks.

18 years agoFixed a build problem.
Wayne Davison [Fri, 24 Feb 2006 06:42:16 +0000 (06:42 +0000)]
Fixed a build problem.

18 years agoFixed failing hunks.
Wayne Davison [Fri, 24 Feb 2006 02:03:21 +0000 (02:03 +0000)]
Fixed failing hunks.

18 years agoFixed a failing hunk.
Wayne Davison [Thu, 23 Feb 2006 20:31:44 +0000 (20:31 +0000)]
Fixed a failing hunk.

18 years agoFixed failing hunks.
Wayne Davison [Thu, 23 Feb 2006 20:02:11 +0000 (20:02 +0000)]
Fixed failing hunks.

18 years agoOne more missing bit for bug 3543.
Wayne Davison [Thu, 23 Feb 2006 19:27:39 +0000 (19:27 +0000)]
One more missing bit for bug 3543.

18 years agoFixed bug #3543 (https://bugzilla.samba.org/show_bug.cgi?id=3543).
Wayne Davison [Thu, 23 Feb 2006 19:19:09 +0000 (19:19 +0000)]
Fixed bug #3543 (https://bugzilla.samba.org/show_bug.cgi?id=3543).

18 years agoFixed failing hunks.
Wayne Davison [Mon, 20 Feb 2006 19:23:28 +0000 (19:23 +0000)]
Fixed failing hunks.

18 years agoA patch that appears to help some cygwin users.
Wayne Davison [Mon, 20 Feb 2006 05:49:04 +0000 (05:49 +0000)]
A patch that appears to help some cygwin users.

18 years agoA simple --slow-down=USECs option that is somewhat useful.
Wayne Davison [Fri, 17 Feb 2006 02:27:57 +0000 (02:27 +0000)]
A simple --slow-down=USECs option that is somewhat useful.

18 years agoFixed a failing hunk.
Wayne Davison [Wed, 15 Feb 2006 20:07:03 +0000 (20:07 +0000)]
Fixed a failing hunk.

18 years agoFixed a problem joining multiple .rej names in the edit command.
Wayne Davison [Wed, 15 Feb 2006 17:34:20 +0000 (17:34 +0000)]
Fixed a problem joining multiple .rej names in the edit command.

18 years agoFixed a failing hunk.
Wayne Davison [Tue, 14 Feb 2006 19:27:45 +0000 (19:27 +0000)]
Fixed a failing hunk.

18 years agoThe code now compiles if slp is disabled.
Wayne Davison [Thu, 9 Feb 2006 03:54:28 +0000 (03:54 +0000)]
The code now compiles if slp is disabled.

18 years agoFixed a build problem.
Wayne Davison [Thu, 9 Feb 2006 03:50:07 +0000 (03:50 +0000)]
Fixed a build problem.

18 years agoOne more fix for the scanning of configure's args.
Wayne Davison [Thu, 9 Feb 2006 03:49:34 +0000 (03:49 +0000)]
One more fix for the scanning of configure's args.

18 years ago- Use the first configure command given in a diff, even if
Wayne Davison [Thu, 9 Feb 2006 03:05:38 +0000 (03:05 +0000)]
- Use the first configure command given in a diff, even if
  it has no args.
- Output the build commands being run.

18 years agoFixed a build failure and some compiler warnings.
Wayne Davison [Thu, 9 Feb 2006 02:33:30 +0000 (02:33 +0000)]
Fixed a build failure and some compiler warnings.

18 years agoFixed a build problem.
Wayne Davison [Thu, 9 Feb 2006 02:22:31 +0000 (02:22 +0000)]
Fixed a build problem.

18 years agoFixed a simple build problem that crept into the patch.
Wayne Davison [Thu, 9 Feb 2006 02:14:52 +0000 (02:14 +0000)]
Fixed a simple build problem that crept into the patch.

18 years agoAdded build instructions.
Wayne Davison [Thu, 9 Feb 2006 02:05:06 +0000 (02:05 +0000)]
Added build instructions.

18 years agoFixed failing hunks.
Wayne Davison [Thu, 9 Feb 2006 01:56:48 +0000 (01:56 +0000)]
Fixed failing hunks.

18 years ago- Allow --auto-cmd (-a) additions to be specifed while running.
Wayne Davison [Thu, 9 Feb 2006 01:56:30 +0000 (01:56 +0000)]
- Allow --auto-cmd (-a) additions to be specifed while running.
- Only use the auto-cmd on the first prompt for a patch, not after
  any other work has been done.
- Got rid of --require-quit (-Q).

18 years agoAdds some extended attributes after acls.diff.
Wayne Davison [Thu, 9 Feb 2006 00:10:08 +0000 (00:10 +0000)]
Adds some extended attributes after acls.diff.
(The original patch was from Philip Lowman.)

18 years agoTweaked a message.
Wayne Davison [Wed, 8 Feb 2006 20:47:30 +0000 (20:47 +0000)]
Tweaked a message.

18 years agoAllow --auto-cmd (-a) to be repeated.
Wayne Davison [Wed, 8 Feb 2006 17:40:26 +0000 (17:40 +0000)]
Allow --auto-cmd (-a) to be repeated.

18 years ago- Added a short option (-a) for --auto-cmd.
Wayne Davison [Wed, 8 Feb 2006 17:32:48 +0000 (17:32 +0000)]
- Added a short option (-a) for --auto-cmd.
- Made the --auto-cmd REGEX a case-insensitive match.

18 years agoFixed a failing hunk.
Wayne Davison [Wed, 8 Feb 2006 17:28:31 +0000 (17:28 +0000)]
Fixed a failing hunk.

18 years agoEnhanced --auto-cmd to take a REGEX instead of a STRING.
Wayne Davison [Wed, 8 Feb 2006 01:48:38 +0000 (01:48 +0000)]
Enhanced --auto-cmd to take a REGEX instead of a STRING.

18 years agoAdded --auto-cmd=STR option.
Wayne Davison [Wed, 8 Feb 2006 01:40:03 +0000 (01:40 +0000)]
Added --auto-cmd=STR option.

18 years agoAdded the --require-quit (-Q) option (used by my release-rsync
Wayne Davison [Wed, 8 Feb 2006 01:19:20 +0000 (01:19 +0000)]
Added the --require-quit (-Q) option (used by my release-rsync
script).

18 years agoUpdated to apply cleanly.
Wayne Davison [Wed, 8 Feb 2006 01:07:25 +0000 (01:07 +0000)]
Updated to apply cleanly.

18 years agoThe --detect-renamed option for finding files in the destination
Wayne Davison [Tue, 7 Feb 2006 18:32:44 +0000 (18:32 +0000)]
The --detect-renamed option for finding files in the destination
that were renamed since the last run.

18 years agoFixed failing hunks.
Wayne Davison [Tue, 7 Feb 2006 18:23:18 +0000 (18:23 +0000)]
Fixed failing hunks.

18 years agoThis has been replaced by the "incoming chmod" and "outgoing chmod"
Wayne Davison [Mon, 6 Feb 2006 18:57:10 +0000 (18:57 +0000)]
This has been replaced by the "incoming chmod" and "outgoing chmod"
daemon options.

18 years ago- Make sure that generated files always come last in the diff.
Wayne Davison [Mon, 6 Feb 2006 07:24:12 +0000 (07:24 +0000)]
- Make sure that generated files always come last in the diff.
- Sleep after a dependency patch so that the generated file's
  timestamps don't accidentally match.

18 years agoChanged the style of the diff headers (use "patch -p1" now).
Wayne Davison [Mon, 6 Feb 2006 06:32:31 +0000 (06:32 +0000)]
Changed the style of the diff headers (use "patch -p1" now).

18 years agoWe should not use the date in the header when patching, because that
Wayne Davison [Mon, 6 Feb 2006 06:31:59 +0000 (06:31 +0000)]
We should not use the date in the header when patching, because that
can lead to newly-patched files having an older date than generated
files.  I also got rid of the date-portion of the diff header and I
changed the dir prefixes to be "old/" and "new/" (we now require
"patch -p1").  Also dumped the setting of $ENV{TZ} to 'UTC' and made
a few code optimizations.