Wayne Davison [Sat, 15 Jan 2005 20:31:15 +0000 (20:31 +0000)]
The latest --link-dest option is now compatible with --inplace,
so remove that restriction too.
Wayne Davison [Sat, 15 Jan 2005 20:11:27 +0000 (20:11 +0000)]
Fixed some fuzz.
Wayne Davison [Sat, 15 Jan 2005 20:11:17 +0000 (20:11 +0000)]
Fixed a failing hunk.
Wayne Davison [Sat, 15 Jan 2005 06:21:03 +0000 (06:21 +0000)]
Changed the syntax that specifies a merge file. It is now this:
-m /path/single-merge.excludes
+m /path/single-merge.includes
-p .perdir-merge.excludes
+p .perdir-merge.includes
Wayne Davison [Sat, 15 Jan 2005 04:41:42 +0000 (04:41 +0000)]
Fixed a new failing hunk.
Wayne Davison [Fri, 14 Jan 2005 18:34:18 +0000 (18:34 +0000)]
Fixed a failing hunk.
Wayne Davison [Mon, 10 Jan 2005 10:53:12 +0000 (10:53 +0000)]
- Error-check the MSG_SUCCESS values going from the generator to the
sender.
- Tweaked the option-parsing code a little.
Wayne Davison [Mon, 10 Jan 2005 10:45:04 +0000 (10:45 +0000)]
Fixed a failing hunk.
Wayne Davison [Mon, 10 Jan 2005 10:26:21 +0000 (10:26 +0000)]
Delay the renaming of all the temp files until the end of the transfer.
Wayne Davison [Sat, 8 Jan 2005 20:45:37 +0000 (20:45 +0000)]
Improved a sentence in the docs.
Wayne Davison [Sat, 1 Jan 2005 21:21:02 +0000 (21:21 +0000)]
Fixed fuzzy hunks.
Wayne Davison [Sat, 1 Jan 2005 21:20:51 +0000 (21:20 +0000)]
Fixed failing hunks.
Wayne Davison [Fri, 3 Dec 2004 23:43:05 +0000 (23:43 +0000)]
The reverse behavior of the --dir-times option (also in this dir).
Wayne Davison [Mon, 29 Nov 2004 01:40:38 +0000 (01:40 +0000)]
Fixed the code that complains if --fuzzy is combined with --inplace.
Wayne Davison [Sat, 27 Nov 2004 18:39:28 +0000 (18:39 +0000)]
Fixed failing hunks.
Wayne Davison [Sat, 27 Nov 2004 18:35:34 +0000 (18:35 +0000)]
Fixed patch fuzz.
Wayne Davison [Sat, 27 Nov 2004 18:33:59 +0000 (18:33 +0000)]
Promoted to the trunk.
Wayne Davison [Sat, 27 Nov 2004 18:21:46 +0000 (18:21 +0000)]
Fixed failing hunks.
Wayne Davison [Sat, 27 Nov 2004 18:00:36 +0000 (18:00 +0000)]
Applied to trunk (with significant changes).
Wayne Davison [Thu, 25 Nov 2004 17:00:58 +0000 (17:00 +0000)]
- A slight improvement to the option-parsing code.
- Extended the compare-dest testsuite to ensure that multiple
--compare-dest options are working.
Wayne Davison [Wed, 17 Nov 2004 19:43:26 +0000 (19:43 +0000)]
Fixed a failing hunk.
Wayne Davison [Fri, 12 Nov 2004 05:55:36 +0000 (05:55 +0000)]
A minor improvement to the variables involved.
Wayne Davison [Thu, 11 Nov 2004 22:23:40 +0000 (22:23 +0000)]
Fixed a failing hunk.
Wayne Davison [Thu, 11 Nov 2004 22:18:33 +0000 (22:18 +0000)]
This has been applied to the trunk.
Wayne Davison [Thu, 11 Nov 2004 01:45:40 +0000 (01:45 +0000)]
Applied to the trunk.
Wayne Davison [Thu, 11 Nov 2004 01:16:31 +0000 (01:16 +0000)]
Fixed the option-parsing when no qualifying multiplier is specified
(e.g. --max-size=
283743874).
Wayne Davison [Wed, 3 Nov 2004 23:15:53 +0000 (23:15 +0000)]
Fixed failing hunks.
Wayne Davison [Wed, 3 Nov 2004 23:00:57 +0000 (23:00 +0000)]
Updated to work with latest g2r changes.
Wayne Davison [Wed, 3 Nov 2004 22:45:53 +0000 (22:45 +0000)]
Make --inplace work with --compare-dest, and efficient too.
Wayne Davison [Wed, 3 Nov 2004 20:19:27 +0000 (20:19 +0000)]
Added the FNAMECMP_CMPDEST define to avoid a literal 0 in the code.
Wayne Davison [Wed, 3 Nov 2004 19:59:47 +0000 (19:59 +0000)]
Optimized the flushing of the buffered I/O when we're writing the
g2r bytestream -- it only happens now if the g2r pipe fills up.
Wayne Davison [Wed, 20 Oct 2004 15:41:05 +0000 (15:41 +0000)]
A few more tweaks to sysacls.c and sysacls.h.
Wayne Davison [Wed, 20 Oct 2004 08:11:50 +0000 (08:11 +0000)]
- Put sysacls.c into lib because it is taken from samba and because
it interferes with the generation of proto.h in the main dir.
- Synchronized sysacls.c with the lastest samba version from CVS.
- Created lib/sysacls.h to provide prototypes to acls.c, and also to
define Realloc() for lib/sysacls.c.
Wayne Davison [Wed, 20 Oct 2004 05:36:36 +0000 (05:36 +0000)]
Added a couple command-line options.
Wayne Davison [Thu, 14 Oct 2004 17:37:49 +0000 (17:37 +0000)]
Got rid of fuzz.
Wayne Davison [Thu, 14 Oct 2004 17:22:32 +0000 (17:22 +0000)]
Fixed a failing hunk.
Wayne Davison [Thu, 14 Oct 2004 17:21:03 +0000 (17:21 +0000)]
Fixed failing hunk.
Wayne Davison [Thu, 14 Oct 2004 17:15:09 +0000 (17:15 +0000)]
Fixed 2 failing hunks.
Wayne Davison [Sat, 9 Oct 2004 04:39:38 +0000 (04:39 +0000)]
- Got rid of some compiler warnings (code moved from compare-dest.diff).
- Fixed a failing hunk.
Wayne Davison [Sat, 9 Oct 2004 04:39:33 +0000 (04:39 +0000)]
Added a variable to t_stub.c so that "make test" works.
Wayne Davison [Sat, 9 Oct 2004 04:39:28 +0000 (04:39 +0000)]
Moved some variable-init code into g2r-basis-filename.diff.
Wayne Davison [Sat, 9 Oct 2004 04:39:22 +0000 (04:39 +0000)]
A recently added compare_dest check needed to be patched.
Wayne Davison [Sat, 9 Oct 2004 04:39:15 +0000 (04:39 +0000)]
Fixed a failing hunk.
Wayne Davison [Fri, 8 Oct 2004 21:06:20 +0000 (21:06 +0000)]
- Handle autoconf/autoheader requirements better when asked to build.
- Look for ./configure options specified in the opening comments and
use it/them when asked to build.
Wayne Davison [Fri, 8 Oct 2004 21:04:06 +0000 (21:04 +0000)]
Fixed a build problem and a few bugs that crept into the
implementation.
Wayne Davison [Fri, 1 Oct 2004 07:00:25 +0000 (07:00 +0000)]
Removed now that an even better version of this patch was checked
into CVS.
Wayne Davison [Fri, 1 Oct 2004 06:59:21 +0000 (06:59 +0000)]
This no longer depends on mkfifo.diff.
Wayne Davison [Thu, 30 Sep 2004 16:32:36 +0000 (16:32 +0000)]
Updated to apply cleanly.
Wayne Davison [Thu, 30 Sep 2004 10:16:15 +0000 (10:16 +0000)]
Update Makefile.in so that all targets that use syscall.o now include
lib/compat.o.
Wayne Davison [Tue, 28 Sep 2004 18:56:25 +0000 (18:56 +0000)]
Based on an idea by Demian M. Nave, but implemented in a better way.
Wayne Davison [Mon, 27 Sep 2004 18:52:51 +0000 (18:52 +0000)]
Need to make sure that the destination file doesn't exist before we
try to link from a hashed file to the destination.
Wayne Davison [Mon, 27 Sep 2004 18:45:26 +0000 (18:45 +0000)]
Added a missing close() call and removed the forcing of checksum_seed
to a static value (both items Paul Slootman noted). Also got rid of
trailing whitespace.
Wayne Davison [Thu, 23 Sep 2004 18:09:39 +0000 (18:09 +0000)]
Improved the default (suggested) commands depending on how a
patch applies (if it has fuzz, we want to edit, if it just has
some offsets, we want to update and move on). Also fixed a
spelling mistake.
Wayne Davison [Thu, 23 Sep 2004 15:41:04 +0000 (15:41 +0000)]
- Reject --fuzzy if combined with --inplace.
- Got rid of some "might be used uninitialized" compiler warnings.
Wayne Davison [Thu, 23 Sep 2004 15:20:32 +0000 (15:20 +0000)]
Must check if whole_file > 0 these days, not just != 0.
Wayne Davison [Thu, 23 Sep 2004 05:50:36 +0000 (05:50 +0000)]
- Only include sys/un.h in syscall.c.
- Fixed a signed/unsigned comparison warning.
- Optimized away a strlen() call.
Wayne Davison [Wed, 22 Sep 2004 22:42:05 +0000 (22:42 +0000)]
Make the patch safer by using strlcpy() instead of strncpy(), and by
checking to see if the unlink() call failed to remove an existing file.
Wayne Davison [Wed, 22 Sep 2004 16:37:45 +0000 (16:37 +0000)]
Moved the mkfifo() and socket-making code to mkfifo.diff.
Wayne Davison [Wed, 22 Sep 2004 16:37:10 +0000 (16:37 +0000)]
Moved the mkfifo() and socket-making stuff from tru64.diff to here so
that a system like FreeBSD can use it without the extra tru64 stuff.
Wayne Davison [Wed, 22 Sep 2004 02:37:39 +0000 (02:37 +0000)]
One more tweak to the code in the backup.c file.
Wayne Davison [Wed, 22 Sep 2004 02:27:53 +0000 (02:27 +0000)]
New patch from Marc St-Onge.
Wayne Davison [Tue, 21 Sep 2004 15:48:45 +0000 (15:48 +0000)]
This patch shouldn't be needed anymore.
Wayne Davison [Tue, 21 Sep 2004 15:47:58 +0000 (15:47 +0000)]
Updated to apply cleanly.
Wayne Davison [Sat, 18 Sep 2004 01:57:47 +0000 (01:57 +0000)]
One possible solution to let users who can chown files (but aren't
UID 0) preserve owner and group info.
Wayne Davison [Wed, 8 Sep 2004 07:28:57 +0000 (07:28 +0000)]
Got rid of an UNUSED() that was causing a problem.
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.
Wayne Davison [Tue, 7 Sep 2004 22:36:27 +0000 (22:36 +0000)]
Updated to work with latest generator/receiver changes.
Wayne Davison [Tue, 7 Sep 2004 22:36:05 +0000 (22:36 +0000)]
Updated for latest generator/receiver changes.
Wayne Davison [Tue, 7 Sep 2004 22:34:21 +0000 (22:34 +0000)]
Fixed failing hunk.
Wayne Davison [Tue, 7 Sep 2004 19:56:04 +0000 (19:56 +0000)]
Output statistics about how long certain file-list events take.
Wayne Davison [Tue, 31 Aug 2004 20:49:38 +0000 (20:49 +0000)]
A potential solution for symlink-dir loop-breaking.
Wayne Davison [Tue, 31 Aug 2004 20:49:10 +0000 (20:49 +0000)]
Mention a TODO item in the initial comments.
Wayne Davison [Mon, 23 Aug 2004 01:20:21 +0000 (01:20 +0000)]
Tweaked the text of a few error messages.
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.
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.
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.
Wayne Davison [Fri, 13 Aug 2004 19:05:19 +0000 (19:05 +0000)]
Updated.
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().
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.
Wayne Davison [Fri, 13 Aug 2004 17:33:44 +0000 (17:33 +0000)]
Made "make test" work.
Wayne Davison [Fri, 13 Aug 2004 09:02:51 +0000 (09:02 +0000)]
New testsuite tests needed to use the -d option.
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.
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.
Wayne Davison [Fri, 13 Aug 2004 07:44:57 +0000 (07:44 +0000)]
Changed clean_fname() calls to the updated arg syntax.
Wayne Davison [Thu, 12 Aug 2004 18:37:07 +0000 (18:37 +0000)]
Fixed failing hunk.
Wayne Davison [Thu, 12 Aug 2004 00:09:17 +0000 (00:09 +0000)]
Updated to apply cleanly.
Wayne Davison [Thu, 12 Aug 2004 00:04:01 +0000 (00:04 +0000)]
Updated to have latest sanitize_path() calling syntax.
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.
Wayne Davison [Wed, 11 Aug 2004 17:31:26 +0000 (17:31 +0000)]
Fixed an overflow check.
Wayne Davison [Wed, 11 Aug 2004 17:30:50 +0000 (17:30 +0000)]
Fixed failing hunk.
Wayne Davison [Wed, 11 Aug 2004 17:30:43 +0000 (17:30 +0000)]
Removed fuzz.
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.
Wayne Davison [Tue, 10 Aug 2004 17:21:53 +0000 (17:21 +0000)]
Fixed failing hunk.
Wayne Davison [Tue, 10 Aug 2004 05:23:13 +0000 (05:23 +0000)]
More manpage improvements.
Wayne Davison [Tue, 10 Aug 2004 04:53:28 +0000 (04:53 +0000)]
Improved the manpage and tweaked on memcpy().
Wayne Davison [Mon, 9 Aug 2004 20:58:50 +0000 (20:58 +0000)]
Applied.
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).
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.
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.
Wayne Davison [Fri, 6 Aug 2004 23:25:18 +0000 (23:25 +0000)]
A couple more bug fixes.