rsync/rsync.git
19 years agoAdded a missing newline to an error message.
Wayne Davison [Thu, 27 Jan 2005 21:45:32 +0000 (21:45 +0000)]
Added a missing newline to an error message.

19 years agoBumped the copyright year to 2005.
Wayne Davison [Thu, 27 Jan 2005 21:42:56 +0000 (21:42 +0000)]
Bumped the copyright year to 2005.

19 years agoAdded .rsync-filter.
Wayne Davison [Tue, 25 Jan 2005 18:16:34 +0000 (18:16 +0000)]
Added .rsync-filter.

19 years agoIf rsync is put in the background, output fewer progress-report
Wayne Davison [Tue, 25 Jan 2005 17:16:13 +0000 (17:16 +0000)]
If rsync is put in the background, output fewer progress-report
lines.

19 years ago- Use the "--filter=._-" option instead of --exclude-from=- if the
Wayne Davison [Tue, 25 Jan 2005 12:13:53 +0000 (12:13 +0000)]
- Use the "--filter=._-" option instead of --exclude-from=- if the
  protocol being saved is >= 29.
- Call the new get_rule_prefix() function to figure out the right
  rule prefix.
- Strip out the --filter and -f options from the cached command-line.

19 years ago- Moved the code that turns rule flags into chars into a new
Wayne Davison [Tue, 25 Jan 2005 12:10:31 +0000 (12:10 +0000)]
- Moved the code that turns rule flags into chars into a new
  function called get_rule_prefix().
- Don't pass the per-dir .cvsignore rule from -C for protocols < 29.

19 years agoIn delete_files(), handle new DEL_NO_RECURSE flag (and use
Wayne Davison [Tue, 25 Jan 2005 12:07:13 +0000 (12:07 +0000)]
In delete_files(), handle new DEL_NO_RECURSE flag (and use
renamed DEL_FORCE_RECURSE flag.

19 years ago- The call to delete_file() needs DEL_NO_RECURSE when handling
Wayne Davison [Tue, 25 Jan 2005 12:05:20 +0000 (12:05 +0000)]
- The call to delete_file() needs DEL_NO_RECURSE when handling
  delete_before or delete_after or --dry-run will report too
  many deletions.
- Changed DEL_RECURSE to DEL_FORCE_RECURSE.

19 years agoAdded DEL_NO_RECURSE and changed DEL_RECURSE to DEL_FORCE_RECURSE.
Wayne Davison [Tue, 25 Jan 2005 12:02:08 +0000 (12:02 +0000)]
Added DEL_NO_RECURSE and changed DEL_RECURSE to DEL_FORCE_RECURSE.

19 years agoNeeded to call add_cvs_excludes() from one more code path.
Wayne Davison [Tue, 25 Jan 2005 11:55:03 +0000 (11:55 +0000)]
Needed to call add_cvs_excludes() from one more code path.

19 years agoRenamed several exclude-related functions/variables using new
Wayne Davison [Tue, 25 Jan 2005 10:39:14 +0000 (10:39 +0000)]
Renamed several exclude-related functions/variables using new
filter terminology.

19 years agoMention the latest new options.
Wayne Davison [Tue, 25 Jan 2005 04:00:31 +0000 (04:00 +0000)]
Mention the latest new options.

19 years agoAdded testing for --filter and merge-file features.
Wayne Davison [Tue, 25 Jan 2005 03:18:29 +0000 (03:18 +0000)]
Added testing for --filter and merge-file features.

19 years agoMention that --del is a popt alias for --delete-during, so there's
Wayne Davison [Tue, 25 Jan 2005 03:09:06 +0000 (03:09 +0000)]
Mention that --del is a popt alias for --delete-during, so there's
no need to refuse "del" by name -- just refusing "delete-during" or
"delete*" is sufficient.

19 years agoDocument the latest --delete options, including --delete-during.
Wayne Davison [Tue, 25 Jan 2005 03:09:02 +0000 (03:09 +0000)]
Document the latest --delete options, including --delete-during.

19 years ago- Changed --delete to go back to defaulting to the delete-before
Wayne Davison [Tue, 25 Jan 2005 03:08:58 +0000 (03:08 +0000)]
- Changed --delete to go back to defaulting to the delete-before
  functionality.
- Got rid of --delete-before.
- Added --delete-during.
- Added a popt alias for --delete-during:  --del.
- Fixed a bug in the generation of the proper --delete options
  for the server.
- Generate an error if the user tries to specify both --delete-during
  and --delete-after.

19 years agoDon't try to allocate zero bytes in push_local_excludes().
Wayne Davison [Tue, 25 Jan 2005 02:30:59 +0000 (02:30 +0000)]
Don't try to allocate zero bytes in push_local_excludes().

19 years agoDocument the new "filter" parameter.
Wayne Davison [Tue, 25 Jan 2005 00:53:07 +0000 (00:53 +0000)]
Document the new "filter" parameter.

19 years agoDocument --filter (-f) and -F, with lots of changes to the
Wayne Davison [Tue, 25 Jan 2005 00:53:03 +0000 (00:53 +0000)]
Document --filter (-f) and -F, with lots of changes to the
include/exclude sections, including a little restructuring.

19 years agoSome changes to support the new --filter option:
Wayne Davison [Tue, 25 Jan 2005 00:52:59 +0000 (00:52 +0000)]
Some changes to support the new --filter option:
- Changed XFLG_WORDS_ONLY to XFLG_NO_PREFIXES.
- Added XFLG_DEF_EXCLUDE and XFLG_ABS_PATH.
- Added some new MATCHFLG_* values for the new merge-file support.
- Put the "slash_cnt" var (in the exclude_struct) into a union with
  the new megelist pointer.

19 years ago- Added parsing for --filter (-f) and -F.
Wayne Davison [Tue, 25 Jan 2005 00:52:56 +0000 (00:52 +0000)]
- Added parsing for --filter (-f) and -F.
- Changed the include/exclude calls to work with the new XFLG_* values.

19 years agoAdded the "filter" parameter.
Wayne Davison [Tue, 25 Jan 2005 00:52:53 +0000 (00:52 +0000)]
Added the "filter" parameter.

19 years agoThe calls into the exclude system changed a little for the new --filter
Wayne Davison [Tue, 25 Jan 2005 00:52:50 +0000 (00:52 +0000)]
The calls into the exclude system changed a little for the new --filter
option:
- The special handling for cvs_exclude went away.
- Call push_local_excludes() and pop_local_excludes() instead of fiddling
  with the (no longer present) local_exclude_list var.

19 years agoImplemented the core of the merge-file and per-dir merge-file support
Wayne Davison [Tue, 25 Jan 2005 00:52:47 +0000 (00:52 +0000)]
Implemented the core of the merge-file and per-dir merge-file support
for the --filter option.  Some noteworthy changes:
- Added push_local_excludes() and pop_local_excludes() to implement
  the changes needed as we go from directory to directory (this takes
  the place of the old local_exclude_list var that only handled the
  .cvsignore files).  These per-dir excludes are linked into the same
  exclude list as the global excludes.
- The exclude list is transferred as filter rules to an rsync that
  talks protocol 29 or above.  It limits itself to just include/exclude
  rules for older rsyncs.

19 years agoSome exclude changes for the new --filter option, including:
Wayne Davison [Tue, 25 Jan 2005 00:52:44 +0000 (00:52 +0000)]
Some exclude changes for the new --filter option, including:
- Added module_dirlen var.
- Call set_excludes_dir() instead of setting exclude_path_prefix.
- Use the newest XFLG_* options.

19 years agoImproved the explanation for --omit-dir-times.
Wayne Davison [Tue, 25 Jan 2005 00:47:35 +0000 (00:47 +0000)]
Improved the explanation for --omit-dir-times.

19 years agoMoved the code that reads the extra byte for a modern inplace
Wayne Davison [Mon, 24 Jan 2005 17:19:04 +0000 (17:19 +0000)]
Moved the code that reads the extra byte for a modern inplace
transfer up nearer the code that reads the index.

19 years agoOptimized away the post-transfer directory loop in certain
Wayne Davison [Mon, 24 Jan 2005 06:19:58 +0000 (06:19 +0000)]
Optimized away the post-transfer directory loop in certain
circumstances.

19 years agoDocument --delete-before and --delete's new "during" behavior.
Wayne Davison [Mon, 24 Jan 2005 01:41:57 +0000 (01:41 +0000)]
Document --delete-before and --delete's new "during" behavior.

19 years agoAdded the delete-during handling (also selected with --delete) and
Wayne Davison [Mon, 24 Jan 2005 01:41:54 +0000 (01:41 +0000)]
Added the delete-during handling (also selected with --delete) and
added --delete-before for the old delete logic.

19 years agoMoved a call to add_cvs_exclude() from the delete code to one code-
Wayne Davison [Mon, 24 Jan 2005 01:41:51 +0000 (01:41 +0000)]
Moved a call to add_cvs_exclude() from the delete code to one code-
path in this file.  This avoids a potential duplication of the
cvs-excludes that would occur in the old logic.

19 years agoAdded code to implement the delete-during handling.
Wayne Davison [Mon, 24 Jan 2005 01:41:48 +0000 (01:41 +0000)]
Added code to implement the delete-during handling.

19 years agoMoved some of the delete code into flist.c since the generator now
Wayne Davison [Mon, 24 Jan 2005 01:41:45 +0000 (01:41 +0000)]
Moved some of the delete code into flist.c since the generator now
calls it for the delete-during handling.

19 years agoMoved some of the delete code from receiver.c to here and implemented
Wayne Davison [Mon, 24 Jan 2005 01:41:42 +0000 (01:41 +0000)]
Moved some of the delete code from receiver.c to here and implemented
the handling for delete_during (which is called from the generator).

19 years agoMention the --omit-dir-times option.
Wayne Davison [Mon, 24 Jan 2005 00:56:37 +0000 (00:56 +0000)]
Mention the --omit-dir-times option.

19 years agoDocument --omit-dir-times.
Wayne Davison [Mon, 24 Jan 2005 00:51:38 +0000 (00:51 +0000)]
Document --omit-dir-times.

19 years agoHonor the new omit_dir_times var.
Wayne Davison [Mon, 24 Jan 2005 00:51:34 +0000 (00:51 +0000)]
Honor the new omit_dir_times var.

19 years agoAdded --omit-dir-times (-O).
Wayne Davison [Mon, 24 Jan 2005 00:51:32 +0000 (00:51 +0000)]
Added --omit-dir-times (-O).

19 years agoMentioned the --dirs and --list-only options.
Wayne Davison [Mon, 24 Jan 2005 00:34:53 +0000 (00:34 +0000)]
Mentioned the --dirs and --list-only options.

19 years ago- Changed --keep-dirs (-k) into --dirs (-d).
Wayne Davison [Mon, 24 Jan 2005 00:17:42 +0000 (00:17 +0000)]
- Changed --keep-dirs (-k) into --dirs (-d).
- Document --list-only.

19 years ago- Changed --keep-dirs (-k) into --dirs (-d).
Wayne Davison [Mon, 24 Jan 2005 00:17:39 +0000 (00:17 +0000)]
- Changed --keep-dirs (-k) into --dirs (-d).
- Renamed keep_dirs to xfer_dirs.
- Mention --list-only in the --help.

19 years agoRenamed keep_dirs, "xfer_dirs".
Wayne Davison [Mon, 24 Jan 2005 00:17:36 +0000 (00:17 +0000)]
Renamed keep_dirs, "xfer_dirs".

19 years agoDocument the new --keep-dirs option.
Wayne Davison [Sun, 23 Jan 2005 16:49:09 +0000 (16:49 +0000)]
Document the new --keep-dirs option.

19 years agoGo back to requiring -r for deletes to happen.
Wayne Davison [Sun, 23 Jan 2005 07:27:01 +0000 (07:27 +0000)]
Go back to requiring -r for deletes to happen.

19 years agoWhen an option defined with POPT_ARG_VAL is being refused, we must
Wayne Davison [Sun, 23 Jan 2005 01:25:36 +0000 (01:25 +0000)]
When an option defined with POPT_ARG_VAL is being refused, we must
change it to POPT_ARG_NONE or it won't be refused.

19 years ago- Use the new delete_before var.
Wayne Davison [Sat, 22 Jan 2005 22:48:40 +0000 (22:48 +0000)]
- Use the new delete_before var.
- Check the "keep_dirs" var instead of "recurse" to decide if
  delete is appropriate.

19 years agoCheck the "keep_dirs" var instead of "recurse" to decide if
Wayne Davison [Sat, 22 Jan 2005 22:48:37 +0000 (22:48 +0000)]
Check the "keep_dirs" var instead of "recurse" to decide if
delete-after is appropriate.

19 years ago- We now set a delete_before variable for the --delete option.
Wayne Davison [Sat, 22 Jan 2005 22:48:34 +0000 (22:48 +0000)]
- We now set a delete_before variable for the --delete option.
- Reordered some of the options in the --help list.
- Made the popt-handling of the delete options simpler.
- Parse the new --keep-dirs option.
- Parse the new --list-only option.
- Set recurse to -1 (infinite) for the -r and -a options.
- Set keep_dirs for --list-only.

19 years ago- Implemented a new handling of the recurse variable: if it is
Wayne Davison [Sat, 22 Jan 2005 22:48:31 +0000 (22:48 +0000)]
- Implemented a new handling of the recurse variable:  if it is
  < 0, it specifies infinite recursion, otherwise it contains a
  count of how many levels of recursion we will allow.
- If the user is processing/listing a non-recursive directory/
  arg, send the contents.

19 years ago- Mustn't override a user-specified list_only value.
Wayne Davison [Sat, 22 Jan 2005 22:48:27 +0000 (22:48 +0000)]
- Mustn't override a user-specified list_only value.
- Moved the computing of the options for the server down until
  after we've figured out the protocol_version for the transfer.
- If we're talking to a protocol-29 server in list-only mode,
  force the new --list-only mode (which avoids the -r with
  --exclude="/*/*" kluge).
- Output the options we sent to the daemon if verbose > 1.

19 years agoChanged the order of a few of the options in the options summary.
Wayne Davison [Sat, 22 Jan 2005 20:32:03 +0000 (20:32 +0000)]
Changed the order of a few of the options in the options summary.

19 years agoMustn't override a user-specified list_only value.
Wayne Davison [Sat, 22 Jan 2005 20:28:17 +0000 (20:28 +0000)]
Mustn't override a user-specified list_only value.

19 years agoChanged a comment.
Wayne Davison [Sat, 22 Jan 2005 20:27:22 +0000 (20:27 +0000)]
Changed a comment.

19 years agoMoved the /proc/mounts literal string nearer to the top.
Wayne Davison [Sat, 22 Jan 2005 08:11:43 +0000 (08:11 +0000)]
Moved the /proc/mounts literal string nearer to the top.

19 years ago- Changed XMIT_TOP_DIR to XMIT_DEL_START.
Wayne Davison [Fri, 21 Jan 2005 00:34:37 +0000 (00:34 +0000)]
- Changed XMIT_TOP_DIR to XMIT_DEL_START.
- Changed FLAG_TOP_DIR to FLAG_DEL_START.

19 years agoDon't mention when the file-list is first allocated, just when it
Wayne Davison [Thu, 20 Jan 2005 23:57:35 +0000 (23:57 +0000)]
Don't mention when the file-list is first allocated, just when it
expands.

19 years agoIn delete_file(): got rid of DEL_NO_RECURSE code and added
Wayne Davison [Thu, 20 Jan 2005 23:51:57 +0000 (23:51 +0000)]
In delete_file(): got rid of DEL_NO_RECURSE code and added
DEL_RECURSE code.  Improved the verbose output of a recursively
deleted directory when --dry-run is specified.

19 years agoDecided that delete_in_dir()'s call to delete_file() would be
Wayne Davison [Thu, 20 Jan 2005 23:51:55 +0000 (23:51 +0000)]
Decided that delete_in_dir()'s call to delete_file() would be
better using DEL_RECURSE.

19 years agoChanged DEL_NO_RECURSE to DEL_RECURSE.
Wayne Davison [Thu, 20 Jan 2005 23:51:52 +0000 (23:51 +0000)]
Changed DEL_NO_RECURSE to DEL_RECURSE.

19 years agoMoved the dry_run check in set_perms() so that it only triggers if
Wayne Davison [Thu, 20 Jan 2005 23:01:34 +0000 (23:01 +0000)]
Moved the dry_run check in set_perms() so that it only triggers if
we don't have a stat-buffer (and returns 1, not 0).

19 years agoGot rid of the erroneous --dry-run short-circuit in the directory
Wayne Davison [Thu, 20 Jan 2005 22:59:54 +0000 (22:59 +0000)]
Got rid of the erroneous --dry-run short-circuit in the directory
handling.

19 years agoIn set_modtime(), the verbose message should be output even if
Wayne Davison [Thu, 20 Jan 2005 22:58:30 +0000 (22:58 +0000)]
In set_modtime(), the verbose message should be output even if
--dry-run was specified.

19 years ago- Got rid of the uint64 typedef.
Wayne Davison [Thu, 20 Jan 2005 22:43:32 +0000 (22:43 +0000)]
- Got rid of the uint64 typedef.
- Changed the dev/inode vars to use int64.

19 years agoSwitched uint64 vars over to int64.
Wayne Davison [Thu, 20 Jan 2005 22:42:47 +0000 (22:42 +0000)]
Switched uint64 vars over to int64.

19 years agoUse int64 instead of uint64.
Wayne Davison [Thu, 20 Jan 2005 22:37:38 +0000 (22:37 +0000)]
Use int64 instead of uint64.

19 years agoImproved a confusing sentence in the description of subcomponent
Wayne Davison [Thu, 20 Jan 2005 19:31:42 +0000 (19:31 +0000)]
Improved a confusing sentence in the description of subcomponent
include/exclude matching.

19 years agoWhen outputting the file list created for the delete pass, identify
Wayne Davison [Thu, 20 Jan 2005 00:53:15 +0000 (00:53 +0000)]
When outputting the file list created for the delete pass, identify
it as such.

19 years agoAdded an example of running mnt-excl remotely via ssh for a pull.
Wayne Davison [Wed, 19 Jan 2005 21:07:09 +0000 (21:07 +0000)]
Added an example of running mnt-excl remotely via ssh for a pull.

19 years agoA perl script that outputs excludes for all mount points that affect
Wayne Davison [Wed, 19 Jan 2005 21:00:26 +0000 (21:00 +0000)]
A perl script that outputs excludes for all mount points that affect
the supplied source dir (or all mount points if the arg is omitted).
The excludes are appropriately anchored relative to the supplied dir,
and honor rsync's trailing-slash idiom.

19 years agoMention a change in the verbose output when deleting directories.
Wayne Davison [Wed, 19 Jan 2005 20:32:25 +0000 (20:32 +0000)]
Mention a change in the verbose output when deleting directories.

19 years ago- Updated delete_file() to take a flag arg that makes it more
Wayne Davison [Wed, 19 Jan 2005 20:11:03 +0000 (20:11 +0000)]
- Updated delete_file() to take a flag arg that makes it more
  flexible.  Optimized away a stat() call since the caller knows
  if the item to delete is a directory or not.
- Tweaked delete_file()'s "deleting ..." messages to include a
  trailing slash when we're deleting a directory.
- No need for conditional code around do_lstat() anymore.

19 years agoDefine the new DEL_* flags.
Wayne Davison [Wed, 19 Jan 2005 20:11:00 +0000 (20:11 +0000)]
Define the new DEL_* flags.

19 years ago- Moved write_sum_head() to io.c.
Wayne Davison [Wed, 19 Jan 2005 20:10:57 +0000 (20:10 +0000)]
- Moved write_sum_head() to io.c.
- Use the new delete_file() calling syntax.

19 years agoGot rid of delete_one() since we can (and do) use the updated
Wayne Davison [Wed, 19 Jan 2005 20:10:53 +0000 (20:10 +0000)]
Got rid of delete_one() since we can (and do) use the updated
delete_file() call now.

19 years agoMoved write_sum_head() here from generator.c.
Wayne Davison [Wed, 19 Jan 2005 20:10:50 +0000 (20:10 +0000)]
Moved write_sum_head() here from generator.c.

19 years agoNo need for conditional code around do_lstat() anymore.
Wayne Davison [Wed, 19 Jan 2005 19:30:29 +0000 (19:30 +0000)]
No need for conditional code around do_lstat() anymore.

19 years agoWhen SUPPORT_LINKS is not defined, we now go ahead and provide
Wayne Davison [Wed, 19 Jan 2005 19:29:20 +0000 (19:29 +0000)]
When SUPPORT_LINKS is not defined, we now go ahead and provide
the do_lstat() function and just have it call do_stat().

19 years agoA slight simplification to the no-implied-dirs change.
Wayne Davison [Wed, 19 Jan 2005 00:34:13 +0000 (00:34 +0000)]
A slight simplification to the no-implied-dirs change.

19 years agoUse the new "keep_dirs" var instead of separately checking the
Wayne Davison [Wed, 19 Jan 2005 00:24:35 +0000 (00:24 +0000)]
Use the new "keep_dirs" var instead of separately checking the
"recurse" and "files_from" vars.  This also simplifies the case
where the code wants to send the implied dirs without recursing.

19 years ago- Added new int, keep_dirs, which is set if either recurse or
Wayne Davison [Wed, 19 Jan 2005 00:23:32 +0000 (00:23 +0000)]
- Added new int, keep_dirs, which is set if either recurse or
  files_from was specified.
- Pass the the sender the --no-implied-dirs option if --relative
  was specified (or implied) and the sender is not the client.

19 years agoFix typo in handling of lchown when the host operating system does
Paul Green [Tue, 18 Jan 2005 21:19:42 +0000 (21:19 +0000)]
Fix typo in handling of lchown when the host operating system does
not implement it.  It should get mapped to chown.

19 years agoMention the latest changes.
Wayne Davison [Mon, 17 Jan 2005 23:55:15 +0000 (23:55 +0000)]
Mention the latest changes.

19 years agoFor --inplace over protocol-version 29 or greater, read the
Wayne Davison [Mon, 17 Jan 2005 23:11:26 +0000 (23:11 +0000)]
For --inplace over protocol-version 29 or greater, read the
type the type of basis file the generator is using from the
socket and set the new updating_basis_file var.

19 years agoMention the change in restrictions for --inplace. Also talk about
Wayne Davison [Mon, 17 Jan 2005 23:11:22 +0000 (23:11 +0000)]
Mention the change in restrictions for --inplace.  Also talk about
how --backup makes an --inplace transfer more optimal.

19 years agoWe don't need to complain about --inplace being combined with one
Wayne Davison [Mon, 17 Jan 2005 23:11:18 +0000 (23:11 +0000)]
We don't need to complain about --inplace being combined with one
of the --FOO-dest options anymore.

19 years agoChanged the checks for --inplace to use the new updating_basis_file
Wayne Davison [Mon, 17 Jan 2005 23:11:13 +0000 (23:11 +0000)]
Changed the checks for --inplace to use the new updating_basis_file
variable.

19 years agoFor --inplace over protocol-version 29 or greater, tell the
Wayne Davison [Mon, 17 Jan 2005 23:11:05 +0000 (23:11 +0000)]
For --inplace over protocol-version 29 or greater, tell the
sender what kind of a basis file we've selected.

19 years ago- Moved read_sum_head() to io.c (because the generator uses it too).
Wayne Davison [Mon, 17 Jan 2005 22:51:29 +0000 (22:51 +0000)]
- Moved read_sum_head() to io.c (because the generator uses it too).
- Tweaked the read_size var (formerly map_size) that gets passed to
  map_file().

19 years agoTweaked the read_size var (formerly map_size) that gets passed to
Wayne Davison [Mon, 17 Jan 2005 22:51:27 +0000 (22:51 +0000)]
Tweaked the read_size var (formerly map_size) that gets passed to
map_file().

19 years agoMoved read_sum_head() here from sender.c (because the generator uses it
Wayne Davison [Mon, 17 Jan 2005 22:51:24 +0000 (22:51 +0000)]
Moved read_sum_head() here from sender.c (because the generator uses it
too) and improved it with better error checking.

19 years agoMake sure that we don't compute a block size larger than MAX_BLOCK_SIZE.
Wayne Davison [Mon, 17 Jan 2005 22:51:21 +0000 (22:51 +0000)]
Make sure that we don't compute a block size larger than MAX_BLOCK_SIZE.

19 years ago- Changed the map_size parameter to map_file() to be an int32 named
Wayne Davison [Mon, 17 Jan 2005 22:51:17 +0000 (22:51 +0000)]
- Changed the map_size parameter to map_file() to be an int32 named
  "read_size".
- Changed some int vars in map_ptr() needed to be int32 vars.
- All callers expect map_ptr() to return back the full "len" bytes,
  so we never shorten this value, even near EOF--the read will
  just get zero-padded, as needed.
- Die with an error if someone calls map_ptr() with a len < 0, or
  if read_size is computed as a value < 0.

19 years ago- Incremented the PROTOCOL_VERSION to 29.
Wayne Davison [Mon, 17 Jan 2005 22:51:15 +0000 (22:51 +0000)]
- Incremented the PROTOCOL_VERSION to 29.
- Added define for MAX_BLOCK_SIZE.
- Reorder the variables in the structure defs to sort by size.
- Some vars in map_struct needed to be int32 instead of int.

19 years agoGot rid of an unneeded assert().
Wayne Davison [Mon, 17 Jan 2005 22:25:53 +0000 (22:25 +0000)]
Got rid of an unneeded assert().

19 years agoAdded a commented-out RSYNC initialization that uses valgrind.
Wayne Davison [Mon, 17 Jan 2005 22:24:08 +0000 (22:24 +0000)]
Added a commented-out RSYNC initialization that uses valgrind.

19 years agoPut double-quotes around the --rsync-path arg.
Wayne Davison [Mon, 17 Jan 2005 22:23:09 +0000 (22:23 +0000)]
Put double-quotes around the --rsync-path arg.

19 years agoCollapsed two sed invocations into one.
Wayne Davison [Mon, 17 Jan 2005 06:00:44 +0000 (06:00 +0000)]
Collapsed two sed invocations into one.

19 years agoFixed an off-by-one comparison against MAX_BASIS_DIRS.
Wayne Davison [Sat, 15 Jan 2005 21:23:04 +0000 (21:23 +0000)]
Fixed an off-by-one comparison against MAX_BASIS_DIRS.

19 years agoUse the new FNAMECMP_BASIS_DIR_HIGH to improve a compare-dest check.
Wayne Davison [Sat, 15 Jan 2005 21:17:39 +0000 (21:17 +0000)]
Use the new FNAMECMP_BASIS_DIR_HIGH to improve a compare-dest check.

19 years agoDefine FNAMECMP_BASIS_DIR_LOW and FNAMECMP_BASIS_DIR_HIGH instead of
Wayne Davison [Sat, 15 Jan 2005 21:17:36 +0000 (21:17 +0000)]
Define FNAMECMP_BASIS_DIR_LOW and FNAMECMP_BASIS_DIR_HIGH instead of
FNAMECMP_BASIS_DIR.