rsync/rsync.git
14 years agoFixed get_xattr_acl() -- it needed to zero *len_p.
Wayne Davison [Mon, 5 Nov 2007 15:02:30 +0000 (15:02 +0000)]
Fixed get_xattr_acl() -- it needed to zero *len_p.

14 years agoGot rid of a redundant mtime check.
Wayne Davison [Mon, 5 Nov 2007 15:02:27 +0000 (15:02 +0000)]
Got rid of a redundant mtime check.

14 years agoConditional symlink-checking code in unchanged_attrs() should be
Wayne Davison [Sun, 4 Nov 2007 06:43:01 +0000 (06:43 +0000)]
Conditional symlink-checking code in unchanged_attrs() should be
checking HAVE_LUTIMES.

14 years agoHave unchanged_attrs() check the mtime on items where we can
Wayne Davison [Sat, 3 Nov 2007 21:14:16 +0000 (21:14 +0000)]
Have unchanged_attrs() check the mtime on items where we can
affect the time, even if unchanged_file() might have already
checked it.

14 years agoMake sure that the user has write permissions when opening a temp file.
Wayne Davison [Sat, 3 Nov 2007 19:27:49 +0000 (19:27 +0000)]
Make sure that the user has write permissions when opening a temp file.

14 years agoStop password errors from getting reported as transfer errors.
Wayne Davison [Sat, 3 Nov 2007 18:14:36 +0000 (18:14 +0000)]
Stop password errors from getting reported as transfer errors.

14 years ago- Renamed updating_basis -> updating_basis_or_equiv.
Wayne Davison [Sat, 3 Nov 2007 16:57:17 +0000 (16:57 +0000)]
- Renamed updating_basis -> updating_basis_or_equiv.
- Set updating_basis_or_equiv if we're inplace-updating a
  file using the backup file as the basis.

14 years agoA better way to count our queued workload.
Wayne Davison [Sat, 3 Nov 2007 16:30:30 +0000 (16:30 +0000)]
A better way to count our queued workload.

14 years agoFixed hang when --hard-links was processing a large directory
Wayne Davison [Sat, 3 Nov 2007 15:27:14 +0000 (15:27 +0000)]
Fixed hang when --hard-links was processing a large directory
hierarchy with no files.

14 years agoAvoid verbose output during the forwarding of flist data (for now,
Wayne Davison [Sat, 3 Nov 2007 07:20:09 +0000 (07:20 +0000)]
Avoid verbose output during the forwarding of flist data (for now,
at least).

14 years agoIn mplex_write(), make extra sure something unexpected doesn't get
Wayne Davison [Sat, 3 Nov 2007 07:20:05 +0000 (07:20 +0000)]
In mplex_write(), make extra sure something unexpected doesn't get
put between the split output of a long buffer.

14 years agoThe HAVE_UTIMBUF define changed to HAVE_STRUCT_UTIMBUF.
Wayne Davison [Fri, 2 Nov 2007 20:53:04 +0000 (20:53 +0000)]
The HAVE_UTIMBUF define changed to HAVE_STRUCT_UTIMBUF.

14 years agoA new version of the getaddrinfo code from the samba source.
Wayne Davison [Fri, 2 Nov 2007 20:52:57 +0000 (20:52 +0000)]
A new version of the getaddrinfo code from the samba source.

14 years agoMake use of the HAVE_NETDB_H define.
Wayne Davison [Fri, 2 Nov 2007 20:52:52 +0000 (20:52 +0000)]
Make use of the HAVE_NETDB_H define.

14 years agoChanges to handle new getaddrinfo code.
Wayne Davison [Fri, 2 Nov 2007 20:52:46 +0000 (20:52 +0000)]
Changes to handle new getaddrinfo code.

14 years agoAdded AC_HAVE_TYPE().
Wayne Davison [Fri, 2 Nov 2007 20:52:33 +0000 (20:52 +0000)]
Added AC_HAVE_TYPE().

14 years agoOne more SUBPROTOCOL_VERSION increase for iconv change.
Wayne Davison [Wed, 31 Oct 2007 15:01:26 +0000 (15:01 +0000)]
One more SUBPROTOCOL_VERSION increase for iconv change.

14 years ago- In --iconv mode, we can't lower the ndx_end value because dirs
Wayne Davison [Wed, 31 Oct 2007 14:02:51 +0000 (14:02 +0000)]
- In --iconv mode, we can't lower the ndx_end value because dirs
  aren't sorted to the end.
- Made output_flist() output from "files" instead of "sorted".

14 years agoIncrement the SUBPROTOCOL_VERSION.
Wayne Davison [Wed, 31 Oct 2007 05:48:56 +0000 (05:48 +0000)]
Increment the SUBPROTOCOL_VERSION.

14 years agoSet ndx_start to 1 only for an inc-recursive transfer.
Wayne Davison [Wed, 31 Oct 2007 05:48:25 +0000 (05:48 +0000)]
Set ndx_start to 1 only for an inc-recursive transfer.

14 years ago- Handle a dot-dir-containing flist using its parent_ndx value.
Wayne Davison [Wed, 31 Oct 2007 04:43:36 +0000 (04:43 +0000)]
- Handle a dot-dir-containing flist using its parent_ndx value.

14 years ago- Fixed a problem with merging dot dirs with non-dot-dir args
Wayne Davison [Wed, 31 Oct 2007 04:43:32 +0000 (04:43 +0000)]
- Fixed a problem with merging dot dirs with non-dot-dir args
  in inc-recursive mode.
- Clean up a relative name to remove interior dot dirs and extra
  slashes.
- Fixed the error output about /../ in a -R path after a /./ cut-off.
- Changed the starting ndx value to 1 so that a dot-dir flist can
  use 0 to refer to its parent (".") directory.

14 years agoCall clean_fname() with new flag arg.
Wayne Davison [Wed, 31 Oct 2007 04:43:29 +0000 (04:43 +0000)]
Call clean_fname() with new flag arg.

14 years agoChanged clean_fname() to take a flag int instead of a BOOL. Added
Wayne Davison [Wed, 31 Oct 2007 04:43:25 +0000 (04:43 +0000)]
Changed clean_fname() to take a flag int instead of a BOOL.  Added
a few extra cleaning options (all off by default).

14 years ago- Define the new CFN_* flags for clean_fname().
Wayne Davison [Wed, 31 Oct 2007 04:43:22 +0000 (04:43 +0000)]
- Define the new CFN_* flags for clean_fname().
- Changed struct relnamecache's "is_dot_dir" member to "name_type".

14 years agoAvoid a crash if we read an index value without a valid first_flist.
Wayne Davison [Wed, 31 Oct 2007 04:43:19 +0000 (04:43 +0000)]
Avoid a crash if we read an index value without a valid first_flist.

14 years agoSuggest -Z as a good popt alias letter instead of -s.
Wayne Davison [Wed, 31 Oct 2007 00:51:48 +0000 (00:51 +0000)]
Suggest -Z as a good popt alias letter instead of -s.

14 years agoMention that --keep-dirlinks can be dangerous if there are
Wayne Davison [Tue, 30 Oct 2007 15:00:40 +0000 (15:00 +0000)]
Mention that --keep-dirlinks can be dangerous if there are
untrusted symlinks in the transfer.

14 years agoFixed --one-file-system handling when dealing with multiple
Wayne Davison [Tue, 30 Oct 2007 02:24:03 +0000 (02:24 +0000)]
Fixed --one-file-system handling when dealing with multiple
user-specified mount points in inc-recursive mode.

14 years agoMy version of Matt's cleanup patch from bug 5051. This makes
Wayne Davison [Mon, 29 Oct 2007 20:43:34 +0000 (20:43 +0000)]
My version of Matt's cleanup patch from bug 5051.  This makes
--copy-dest use a temp file when not in in-place mode, and has
various improvments for the code.  I have also "#if 0"ed the code
in the receiver that makes missing directories to see if we can
figure out if it is needed (and if so, what for).

14 years agoMade some more char pointers const.
Wayne Davison [Sun, 28 Oct 2007 21:42:41 +0000 (21:42 +0000)]
Made some more char pointers const.

14 years agoDon't call copy_file() for a dry-run. (Thanks, Matt!)
Wayne Davison [Sun, 28 Oct 2007 20:03:00 +0000 (20:03 +0000)]
Don't call copy_file() for a dry-run.  (Thanks, Matt!)

14 years agoFixed setting of updating_basis value.
Wayne Davison [Sun, 28 Oct 2007 06:51:50 +0000 (06:51 +0000)]
Fixed setting of updating_basis value.

14 years agoPreparing for release of 3.0.0pre4
Wayne Davison [Sat, 27 Oct 2007 05:09:06 +0000 (05:09 +0000)]
Preparing for release of 3.0.0pre4

14 years agoFixed a problem with build_hash_table() getting called too
Wayne Davison [Sat, 27 Oct 2007 04:41:18 +0000 (04:41 +0000)]
Fixed a problem with build_hash_table() getting called too
often when overwriting a shorter file.

14 years agoWhen listing a bare module name w/o -r, make sure we list the
Wayne Davison [Sat, 27 Oct 2007 02:19:49 +0000 (02:19 +0000)]
When listing a bare module name w/o -r, make sure we list the
contents of the module's root directory.

14 years agoPreparing for release of 3.0.0pre3
Wayne Davison [Sat, 27 Oct 2007 00:00:21 +0000 (00:00 +0000)]
Preparing for release of 3.0.0pre3

14 years agoChunk a really large file to avoid sender-side hash-table
Wayne Davison [Fri, 26 Oct 2007 22:11:19 +0000 (22:11 +0000)]
Chunk a really large file to avoid sender-side hash-table
overload.

14 years agoFixed problem with anchored filter and an absolute
Wayne Davison [Fri, 26 Oct 2007 16:53:02 +0000 (16:53 +0000)]
Fixed problem with anchored filter and an absolute
source path with --relative.

14 years agoMention .git/ exclude.
Wayne Davison [Thu, 25 Oct 2007 02:05:43 +0000 (02:05 +0000)]
Mention .git/ exclude.

14 years agoAdded .git/ to "CVS" excludes.
Wayne Davison [Thu, 25 Oct 2007 02:05:05 +0000 (02:05 +0000)]
Added .git/ to "CVS" excludes.

14 years agoWe need to provide iconvbufs() anytime ICONV_CONST is defined.
Wayne Davison [Thu, 25 Oct 2007 01:40:17 +0000 (01:40 +0000)]
We need to provide iconvbufs() anytime ICONV_CONST is defined.

14 years agoA few more improvements.
Wayne Davison [Sun, 21 Oct 2007 22:30:49 +0000 (22:30 +0000)]
A few more improvements.

14 years agoImproved a description.
Wayne Davison [Sun, 21 Oct 2007 21:53:20 +0000 (21:53 +0000)]
Improved a description.

14 years agoMake last fix even better.
Wayne Davison [Sun, 21 Oct 2007 21:52:25 +0000 (21:52 +0000)]
Make last fix even better.

14 years agoAvoid dropping a hard-linked itemized output with -ii.
Wayne Davison [Sun, 21 Oct 2007 16:50:31 +0000 (16:50 +0000)]
Avoid dropping a hard-linked itemized output with -ii.

14 years agoGot rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not
Wayne Davison [Sat, 20 Oct 2007 06:19:01 +0000 (06:19 +0000)]
Got rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not
defined.

14 years agoImproved a couple entries.
Wayne Davison [Thu, 18 Oct 2007 19:47:41 +0000 (19:47 +0000)]
Improved a couple entries.

14 years agoWe can't decrement the in_progress value for a hard-linked file until
Wayne Davison [Thu, 18 Oct 2007 14:04:42 +0000 (14:04 +0000)]
We can't decrement the in_progress value for a hard-linked file until
the generator gets a chance to finish the hard links.

14 years agoTypedef any missing types.
Wayne Davison [Wed, 17 Oct 2007 14:15:22 +0000 (14:15 +0000)]
Typedef any missing types.

14 years agoAdd checking for id_t, and changed some of the type checking to use
Wayne Davison [Wed, 17 Oct 2007 14:15:18 +0000 (14:15 +0000)]
Add checking for id_t, and changed some of the type checking to use
the newer, recommended method.  (Couldn't switch uid_t and gid_t.)

14 years agoChanged a word in an error message.
Wayne Davison [Tue, 16 Oct 2007 22:42:10 +0000 (22:42 +0000)]
Changed a word in an error message.

14 years agoTweaked set_allow_inc_recurse() a bit more.
Wayne Davison [Tue, 16 Oct 2007 18:33:47 +0000 (18:33 +0000)]
Tweaked set_allow_inc_recurse() a bit more.

14 years agoThe start of some updated "thanks".
Wayne Davison [Tue, 16 Oct 2007 16:19:40 +0000 (16:19 +0000)]
The start of some updated "thanks".

14 years agoAdding Wesley Terpstra's lchmod()-equivalent that uses setattrlist().
Wayne Davison [Tue, 16 Oct 2007 16:00:41 +0000 (16:00 +0000)]
Adding Wesley Terpstra's lchmod()-equivalent that uses setattrlist().

14 years agoWe now report symlink mode changes if HAVE_SETATTRLIST is defined.
Wayne Davison [Tue, 16 Oct 2007 16:00:34 +0000 (16:00 +0000)]
We now report symlink mode changes if HAVE_SETATTRLIST is defined.

14 years agoAdded checks for setattrlist and sys/attr.h.
Wayne Davison [Tue, 16 Oct 2007 16:00:31 +0000 (16:00 +0000)]
Added checks for setattrlist and sys/attr.h.

14 years agoCall set_allow_inc_recurse() for situations that don't call server_options().
Wayne Davison [Tue, 16 Oct 2007 15:10:17 +0000 (15:10 +0000)]
Call set_allow_inc_recurse() for situations that don't call server_options().

14 years ago- Send an 'i' in the -e arg to the server if we can support inc_recurse.
Wayne Davison [Tue, 16 Oct 2007 15:10:12 +0000 (15:10 +0000)]
- Send an 'i' in the -e arg to the server if we can support inc_recurse.
- Got rid of some unneeded blocking_io value twiddling.
- Send --use-qsort to the server if it was specified.

14 years ago- Moved the arg-checking relating into set_allow_inc_recurse() and
Wayne Davison [Tue, 16 Oct 2007 15:10:09 +0000 (15:10 +0000)]
- Moved the arg-checking relating into set_allow_inc_recurse() and
  call it when the server is in setup_protocol().  The function sets
  allow_inc_recurse to 0 if some options won't allow us to support
  an incremental-recursive transfer.
- The server now checks for an 'i' in the -e option from the client
  and zeros out allow_inc_recurse if not found.
- The server reports its inc_recurse determination back to the client.
- The client sets inc_recurse based on the value it gets from the server.

14 years agoIncremented the SUBPROTOCOL_VERSION.
Wayne Davison [Tue, 16 Oct 2007 15:10:05 +0000 (15:10 +0000)]
Incremented the SUBPROTOCOL_VERSION.

14 years agoWe don't need to send --no-i-r anymore.
Wayne Davison [Tue, 16 Oct 2007 04:08:25 +0000 (04:08 +0000)]
We don't need to send --no-i-r anymore.

14 years agoWrite out the inc_recurse flag into a protocol-30 batch file.
Wayne Davison [Tue, 16 Oct 2007 04:08:21 +0000 (04:08 +0000)]
Write out the inc_recurse flag into a protocol-30 batch file.

14 years ago- Send a flag from the client to the server to indicate if the protocol
Wayne Davison [Tue, 16 Oct 2007 04:08:18 +0000 (04:08 +0000)]
- Send a flag from the client to the server to indicate if the protocol
  is going to run in inc_recurse mode or not.
- Verify that the options we received (as a server or as a batch-reader)
  are compatible with the requested inc_recurse mode.

14 years agoIncremented the SUBPROTOCOL_VERSION.
Wayne Davison [Tue, 16 Oct 2007 04:08:14 +0000 (04:08 +0000)]
Incremented the SUBPROTOCOL_VERSION.

14 years agoAdded braces to an empty "if" (to avoid any complaints from a compiler
Wayne Davison [Mon, 15 Oct 2007 00:16:12 +0000 (00:16 +0000)]
Added braces to an empty "if" (to avoid any complaints from a compiler
that likes to point out an "if (...)" with a semicolon after it).

14 years agoIf there's no lchmod(), don't itemize permission differences for
Wayne Davison [Mon, 15 Oct 2007 00:13:59 +0000 (00:13 +0000)]
If there's no lchmod(), don't itemize permission differences for
symlinks.

14 years agoIf the user told us to use a password file and we used it, there's
Wayne Davison [Sun, 14 Oct 2007 21:20:31 +0000 (21:20 +0000)]
If the user told us to use a password file and we used it, there's
no need to comment if a RSYNC_PASSWORD environment variable is set.

14 years agoFixed a typo in a comment.
Wayne Davison [Sun, 14 Oct 2007 18:55:49 +0000 (18:55 +0000)]
Fixed a typo in a comment.

14 years agoForward MSG_IO_ERROR to the generator so that it can disable deletions.
Wayne Davison [Sat, 13 Oct 2007 05:23:34 +0000 (05:23 +0000)]
Forward MSG_IO_ERROR to the generator so that it can disable deletions.

14 years agoImprovements surrounding --list-only and --dirs.
Wayne Davison [Sat, 13 Oct 2007 04:32:53 +0000 (04:32 +0000)]
Improvements surrounding --list-only and --dirs.

14 years agoGet the version # right in the changelog.
Wayne Davison [Fri, 12 Oct 2007 14:08:19 +0000 (14:08 +0000)]
Get the version # right in the changelog.

14 years agoModify the changelog section in the .spec file for each release.
Wayne Davison [Fri, 12 Oct 2007 14:04:29 +0000 (14:04 +0000)]
Modify the changelog section in the .spec file for each release.

14 years agoFixed the day of the week.
Wayne Davison [Fri, 12 Oct 2007 14:04:00 +0000 (14:04 +0000)]
Fixed the day of the week.

14 years agoImproved the summary, the description, and the changelog.
Wayne Davison [Fri, 12 Oct 2007 13:57:37 +0000 (13:57 +0000)]
Improved the summary, the description, and the changelog.

14 years agoImproved the initial description summary.
Wayne Davison [Fri, 12 Oct 2007 13:57:15 +0000 (13:57 +0000)]
Improved the initial description summary.

14 years agoOne more tweak to the synopsis.
Wayne Davison [Fri, 12 Oct 2007 01:21:02 +0000 (01:21 +0000)]
One more tweak to the synopsis.

14 years agoImprovements suggested by Matt's improved manpage.
Wayne Davison [Fri, 12 Oct 2007 01:12:05 +0000 (01:12 +0000)]
Improvements suggested by Matt's improved manpage.

14 years agoPreparing for release of 3.0.0pre2
Wayne Davison [Fri, 12 Oct 2007 00:09:19 +0000 (00:09 +0000)]
Preparing for release of 3.0.0pre2

14 years agoTweaked a couple minor things.
Wayne Davison [Fri, 12 Oct 2007 00:07:28 +0000 (00:07 +0000)]
Tweaked a couple minor things.

14 years agoConditionalize the call to setup_iconv().
Wayne Davison [Wed, 10 Oct 2007 19:24:35 +0000 (19:24 +0000)]
Conditionalize the call to setup_iconv().

14 years ago- Use the new *_CONTENT_DIR flag names (was *_XFER_DIR).
Wayne Davison [Mon, 8 Oct 2007 18:02:11 +0000 (18:02 +0000)]
- Use the new *_CONTENT_DIR flag names (was *_XFER_DIR).
- Check the FLAG_IMPLIED_DIR flag to find implied dirs.
- Expect flagged implied dirs for all protocol 30 transfers.

14 years ago- Mark implied dirs with FLAG_IMPLIED_DIR.
Wayne Davison [Mon, 8 Oct 2007 18:02:07 +0000 (18:02 +0000)]
- Mark implied dirs with FLAG_IMPLIED_DIR.
- Use the new *_CONTENT_DIR flag names (was *_XFER_DIR).
- Send implied dirs with XMIT_TOP_DIR | XMIT_NO_CONTENT_DIR.
- All protocol 30 transfers send flagged implied dirs.

14 years ago- Added a flag for implied dirs: FLAG_IMPLIED_DIR.
Wayne Davison [Mon, 8 Oct 2007 18:02:03 +0000 (18:02 +0000)]
- Added a flag for implied dirs: FLAG_IMPLIED_DIR.
- Changed the *_XFER_DIR flags to *_CONTENT_DIR flags.
- Increment SUBPROTOCOL_VERSION.

14 years agoReposition the call to setup_iconv() so that it gets called only once
Wayne Davison [Sun, 7 Oct 2007 20:43:49 +0000 (20:43 +0000)]
Reposition the call to setup_iconv() so that it gets called only once
is a local_server copy, and so that arg-parsing code doesn't interfere
with the sending of a remote charset value.

14 years agoImproved on the list-only fix and on the other similar checks that want
Wayne Davison [Sun, 7 Oct 2007 07:18:49 +0000 (07:18 +0000)]
Improved on the list-only fix and on the other similar checks that want
to ignore implied dirs that are actually present in the file list
when inc_recurse is active and --no-implied-dirs was specified.

14 years ago- Simplified the code in recv_file_entry() for protocol 30.
Wayne Davison [Sun, 7 Oct 2007 07:18:45 +0000 (07:18 +0000)]
- Simplified the code in recv_file_entry() for protocol 30.
- Simplified the flag setting in send1extra since we know that
  recurse is set.
- Make sure that FLAG_XFER_DIR is unset for a non-dot-dir when
  recurse is not set.
- The --relative code wasn't setting is_dot_dir enough.

14 years agoMention how --list-only w/o -r now abandons an old kluge.
Wayne Davison [Sun, 7 Oct 2007 04:04:57 +0000 (04:04 +0000)]
Mention how --list-only w/o -r now abandons an old kluge.

14 years agoWe now send -d to the server for a list-only transfer w/o -r (rather
Wayne Davison [Sun, 7 Oct 2007 03:52:28 +0000 (03:52 +0000)]
We now send -d to the server for a list-only transfer w/o -r (rather
than sending -r with a kluged exclude).

14 years agoSet xfer_dirs when we set list_only.
Wayne Davison [Sun, 7 Oct 2007 03:52:24 +0000 (03:52 +0000)]
Set xfer_dirs when we set list_only.

14 years agoGot rid of some old exclude trickery for --list-only w/o -r.
Wayne Davison [Sun, 7 Oct 2007 03:52:20 +0000 (03:52 +0000)]
Got rid of some old exclude trickery for --list-only w/o -r.

14 years agoGot rid of a useless list_only tweak.
Wayne Davison [Sun, 7 Oct 2007 03:52:17 +0000 (03:52 +0000)]
Got rid of a useless list_only tweak.

14 years agoFix list-only output of dirs w/--relative but w/o --recursive.
Wayne Davison [Sun, 7 Oct 2007 03:29:04 +0000 (03:29 +0000)]
Fix list-only output of dirs w/--relative but w/o --recursive.

14 years agoA couple tweaks to the AIX ACL code.
Wayne Davison [Fri, 5 Oct 2007 20:47:18 +0000 (20:47 +0000)]
A couple tweaks to the AIX ACL code.

14 years agoMake sure ICONV_OPTION is unset if we didn't find iconv_open()
Wayne Davison [Fri, 5 Oct 2007 20:40:36 +0000 (20:40 +0000)]
Make sure ICONV_OPTION is unset if we didn't find iconv_open()
and iconv.h.

14 years agoSimplified a SMB_ACL_NEED_SORT conditional because some preprocessors
Wayne Davison [Fri, 5 Oct 2007 02:45:09 +0000 (02:45 +0000)]
Simplified a SMB_ACL_NEED_SORT conditional because some preprocessors
couldn't handle an #if embedded in a macro.

14 years agoThe hpux_count_obj() function should have been declared with a
Wayne Davison [Fri, 5 Oct 2007 02:30:39 +0000 (02:30 +0000)]
The hpux_count_obj() function should have been declared with a
void return type.

14 years agoA few more improvements and some reshuffling.
Wayne Davison [Fri, 5 Oct 2007 02:22:51 +0000 (02:22 +0000)]
A few more improvements and some reshuffling.

14 years agoPreparing for release of 3.0.0pre1
Wayne Davison [Fri, 5 Oct 2007 00:45:13 +0000 (00:45 +0000)]
Preparing for release of 3.0.0pre1

14 years agoOne more tweak.
Wayne Davison [Fri, 5 Oct 2007 00:41:38 +0000 (00:41 +0000)]
One more tweak.