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

19 years agoMake sure that the generator sent us a valid index into basis_dir[].
Wayne Davison [Sat, 15 Jan 2005 21:14:27 +0000 (21:14 +0000)]
Make sure that the generator sent us a valid index into basis_dir[].

19 years agoMade basis_dir_cnt non-static.
Wayne Davison [Sat, 15 Jan 2005 21:12:58 +0000 (21:12 +0000)]
Made basis_dir_cnt non-static.

19 years agoMade compare_dest non-static.
Wayne Davison [Sat, 15 Jan 2005 20:54:25 +0000 (20:54 +0000)]
Made compare_dest non-static.

19 years agoSome inplace-checking code should have been inside the #ifdef that
Wayne Davison [Sat, 15 Jan 2005 20:22:54 +0000 (20:22 +0000)]
Some inplace-checking code should have been inside the #ifdef that
handles the case where --inplace cannot be supported.

19 years agoSimplified the logic in allow_access() and tweaked some whitespace.
Wayne Davison [Sat, 15 Jan 2005 20:06:48 +0000 (20:06 +0000)]
Simplified the logic in allow_access() and tweaked some whitespace.

19 years agoSimplified one "if" that checks if one of the --FOO-dest options
Wayne Davison [Sat, 15 Jan 2005 04:40:06 +0000 (04:40 +0000)]
Simplified one "if" that checks if one of the --FOO-dest options
was specified.

19 years agoImproved the docs on --delete and --delete-after.
Wayne Davison [Fri, 14 Jan 2005 19:49:35 +0000 (19:49 +0000)]
Improved the docs on --delete and --delete-after.

19 years ago- We now remove the DEST~old~ dir instead of renaming it to DEST~new~.
Wayne Davison [Fri, 14 Jan 2005 19:23:20 +0000 (19:23 +0000)]
- We now remove the DEST~old~ dir instead of renaming it to DEST~new~.
- Improved the usage message and added an introductory comment.

19 years agoMake sure that the presence of a partial-dir file is noted, even
Wayne Davison [Fri, 14 Jan 2005 18:20:46 +0000 (18:20 +0000)]
Make sure that the presence of a partial-dir file is noted, even
if --whole-file is in effect.  Also needed to force statret to 0
when using a partial-dir file.

19 years agoWe also need the "name pipe" from the generator to the receiver
Wayne Davison [Fri, 14 Jan 2005 18:18:31 +0000 (18:18 +0000)]
We also need the "name pipe" from the generator to the receiver
when --partial-dir was specified.

19 years agoFor the "unexpected tag" or "multiplexing overflow" messages, we
Wayne Davison [Fri, 14 Jan 2005 18:17:32 +0000 (18:17 +0000)]
For the "unexpected tag" or "multiplexing overflow" messages, we
now output who_am_i() so we know who had the problem.

19 years agoAid forward-compatibility in the include/exclude syntax by putting
Wayne Davison [Thu, 13 Jan 2005 22:01:56 +0000 (22:01 +0000)]
Aid forward-compatibility in the include/exclude syntax by putting
a "- " in front of any name that starts with a '+' or a '-' and would
otherwise be unprefixed (the old code only did this if the '+' or '-'
was followed by a space).

19 years ago- Allow multiple source paths to be specified (and checked).
Wayne Davison [Wed, 12 Jan 2005 19:20:07 +0000 (19:20 +0000)]
- Allow multiple source paths to be specified (and checked).
- Allow spaces and a few other extra chars in file names.
- For safety, disallow any option that takes an arg.  This should
  be improved in the future because it blocks options such as
  --block-size=N, but without this rule the user could specify
  something like --files-from=FILE or --backup-dir=DIR and have
  it affect files outside the desired SUBDIR restriction.
- Switched to SSH_CONNECTION from the deprecated SSH_CLIENT.
- Strip "::ffff:" from the start of an IP from SSH_CONNECTION.

19 years agoThis is Joe Smith's rrsync (restricted rsync) perl script.
Wayne Davison [Wed, 12 Jan 2005 18:48:26 +0000 (18:48 +0000)]
This is Joe Smith's rrsync (restricted rsync) perl script.

19 years agoA simple Makefile.
Wayne Davison [Tue, 11 Jan 2005 18:37:37 +0000 (18:37 +0000)]
A simple Makefile.

19 years agoA debug program to help diagnose data-transfer corruption problems.
Wayne Davison [Tue, 11 Jan 2005 18:36:31 +0000 (18:36 +0000)]
A debug program to help diagnose data-transfer corruption problems.

19 years agoFixed the file_checksum1() function that is compiled only when
Wayne Davison [Mon, 10 Jan 2005 20:52:08 +0000 (20:52 +0000)]
Fixed the file_checksum1() function that is compiled only when
TEST_MDFOUR is defined:  it did not have the fix that the main
rsync code got back in protocol 27 to properly handle files
that are a multiple of 64-bytes long.

19 years agoTwo more fixes.
Wayne Davison [Mon, 10 Jan 2005 10:08:59 +0000 (10:08 +0000)]
Two more fixes.

19 years agoAdded a "overwriting_basis" arg to finish_transfer().
Wayne Davison [Mon, 10 Jan 2005 10:03:12 +0000 (10:03 +0000)]
Added a "overwriting_basis" arg to finish_transfer().

19 years ago- Call finish_transfer() with its new arg. This ensures that we only
Wayne Davison [Mon, 10 Jan 2005 10:03:10 +0000 (10:03 +0000)]
- Call finish_transfer() with its new arg.  This ensures that we only
  create a backup file if we're about to overwrite the basis file.
- Only clear make_backups for the redo phase if partial_dir isn't set.

19 years agoCall finish_transfer() with its new arg.
Wayne Davison [Mon, 10 Jan 2005 10:03:06 +0000 (10:03 +0000)]
Call finish_transfer() with its new arg.

19 years agoMoved the reading of the final MSG_DONE message here from main.c
Wayne Davison [Mon, 10 Jan 2005 00:31:55 +0000 (00:31 +0000)]
Moved the reading of the final MSG_DONE message here from main.c
(this message comes from the receiver).  This ensures that any
redo-pass files and delete-after processing are known to be done
prior to the start of our hard-link and dir-time-munging loops.

19 years agoMoved the reading of the final MSG_DONE message from here to
Wayne Davison [Mon, 10 Jan 2005 00:31:55 +0000 (00:31 +0000)]
Moved the reading of the final MSG_DONE message from here to
generator.c (the message comes from the receiver).  This ensures
that any redo-pass files and delete-after processing are known to be
done prior to the start of the hard-link and dir-time-munging loops.

19 years agoMention new atomic-rsync script.
Wayne Davison [Thu, 6 Jan 2005 17:15:36 +0000 (17:15 +0000)]
Mention new atomic-rsync script.

19 years agoA perl script to effect an atomic transfer of a set of files.
Wayne Davison [Thu, 6 Jan 2005 17:13:31 +0000 (17:13 +0000)]
A perl script to effect an atomic transfer of a set of files.

19 years agoDecided that a cross-compling configure should default the
Wayne Davison [Mon, 3 Jan 2005 23:01:19 +0000 (23:01 +0000)]
Decided that a cross-compling configure should default the
chown-follows-symlinks check to "yes".

19 years agoImproved the last addition.
Wayne Davison [Mon, 3 Jan 2005 22:49:14 +0000 (22:49 +0000)]
Improved the last addition.

19 years agoIf lchown() is not available, we only skip the call to chown() for a
Wayne Davison [Mon, 3 Jan 2005 22:47:55 +0000 (22:47 +0000)]
If lchown() is not available, we only skip the call to chown() for a
symlink if it will try to follow the symlink (as a normal OS should).

19 years ago- Added a test to see if chown() follows symlinks.
Wayne Davison [Mon, 3 Jan 2005 22:42:55 +0000 (22:42 +0000)]
- Added a test to see if chown() follows symlinks.
- Check for getpgrp() and tcgetpgrp().

19 years agoMention lchown() fix.
Wayne Davison [Mon, 3 Jan 2005 21:07:02 +0000 (21:07 +0000)]
Mention lchown() fix.

19 years agoIf there is no lchown(), don't try to set the user & group of a symlink.
Wayne Davison [Mon, 3 Jan 2005 21:05:39 +0000 (21:05 +0000)]
If there is no lchown(), don't try to set the user & group of a symlink.

19 years agoMoved kluged (conditional) define of lchown from rsync.h to syscall.c.
Wayne Davison [Mon, 3 Jan 2005 21:03:33 +0000 (21:03 +0000)]
Moved kluged (conditional) define of lchown from h to syscall.c.

19 years agoBacked out changes to send_deflated_token() that surrounded the
Wayne Davison [Sun, 2 Jan 2005 09:08:59 +0000 (09:08 +0000)]
Backed out changes to send_deflated_token() that surrounded the
call to deflate(..., Z_INSERT_ONLY) -- the underlying bug was
caused by the zlib code not handling Z_INSERT_ONLY in the case
where the server has disabled compression.

19 years agoFixed Z_INSERT_ONLY support in deflate_stored().
Wayne Davison [Sun, 2 Jan 2005 09:03:44 +0000 (09:03 +0000)]
Fixed Z_INSERT_ONLY support in deflate_stored().

19 years agoThe deflate_stored() function needed to support Z_INSERT_ONLY.
Wayne Davison [Sun, 2 Jan 2005 08:49:47 +0000 (08:49 +0000)]
The deflate_stored() function needed to support Z_INSERT_ONLY.

19 years agoIn send_deflated_token(), the section that handles "token != -2"
Wayne Davison [Sun, 2 Jan 2005 00:55:55 +0000 (00:55 +0000)]
In send_deflated_token(), the section that handles "token != -2"
now breaks up the calls to deflate() into CHUNK_SIZE chunks, just
like the other sections of the code.