rsync/rsync.git
14 years agoFixed a problem with --fake-super not getting the fully tweaked new_mode
Wayne Davison [Sat, 24 Nov 2007 18:50:45 +0000 (10:50 -0800)]
Fixed a problem with --fake-super not getting the fully tweaked new_mode
value.  Also fixed the removal of rsync-internal xattr values on the
destination files when we aren't copying rsync-internal xattr values.

14 years agoA daemon needs to set dry_run with --only-write-batch.
Wayne Davison [Thu, 22 Nov 2007 19:19:34 +0000 (11:19 -0800)]
A daemon needs to set dry_run with --only-write-batch.

14 years agoNew logging categories added to allow differentiation between
Wayne Davison [Thu, 22 Nov 2007 17:56:21 +0000 (09:56 -0800)]
New logging categories added to allow differentiation between
transfer errors, normal errors, and warnings.  New messages are
translated into old FERROR/FINFO categories for older protocols.

14 years agoUse FLOG instead of FERROR for config errors.
Wayne Davison [Thu, 22 Nov 2007 17:51:21 +0000 (09:51 -0800)]
Use FLOG instead of FERROR for config errors.

14 years agoFix two iconv problems that Lennart Lövstrand pointed out in bug 5075.
Wayne Davison [Thu, 22 Nov 2007 15:57:03 +0000 (07:57 -0800)]
Fix two iconv problems that Lennart L√∂vstrand pointed out in bug 5075.

14 years agoDon't try to delete when list_only is set.
Wayne Davison [Wed, 21 Nov 2007 15:09:26 +0000 (07:09 -0800)]
Don't try to delete when list_only is set.

14 years agoGot rid of the unused symlink parameter to sanitize_path().
Wayne Davison [Wed, 21 Nov 2007 01:37:53 +0000 (17:37 -0800)]
Got rid of the unused symlink parameter to sanitize_path().

14 years agoMake sure that a failure to build configure.sh or config.h.in
Wayne Davison [Wed, 21 Nov 2007 01:22:47 +0000 (17:22 -0800)]
Make sure that a failure to build configure.sh or config.h.in
doesn't leave a file lying around that could deceive us on the
next run.

14 years agoOnly allow the build farm to rsync the latest generated
Wayne Davison [Tue, 20 Nov 2007 16:40:15 +0000 (08:40 -0800)]
Only allow the build farm to rsync the latest generated
configure files when building them fails.

14 years agoMade some code that handles hard-linking of symlinks be
Wayne Davison [Mon, 19 Nov 2007 01:54:35 +0000 (17:54 -0800)]
Made some code that handles hard-linking of symlinks be
omitted if symlinks can't be hard-linked.

14 years agoAdding a support script that can be used to make the checked-out
Wayne Davison [Sat, 17 Nov 2007 18:29:13 +0000 (10:29 -0800)]
Adding a support script that can be used to make the checked-out
file-times of an initial clone nicer.

14 years agoImproved F_RDEV_P() define to use DEV_EXTRA_CNT count.
Wayne Davison [Sat, 17 Nov 2007 18:26:46 +0000 (10:26 -0800)]
Improved F_RDEV_P() define to use DEV_EXTRA_CNT count.

14 years agoMake sure we process a parent patch before a dependent patch.
Wayne Davison [Fri, 16 Nov 2007 15:22:02 +0000 (07:22 -0800)]
Make sure we process a parent patch before a dependent patch.

14 years agoA couple minor improvments to the tar-creation code.
Wayne Davison [Thu, 15 Nov 2007 22:05:09 +0000 (14:05 -0800)]
A couple minor improvments to the tar-creation code.

14 years agoUpdated to work with git instead of cvs.
Wayne Davison [Thu, 15 Nov 2007 15:48:13 +0000 (07:48 -0800)]
Updated to work with git instead of cvs.

14 years agoHandle new PATCH-$name files, improved $last_touch code,
Wayne Davison [Mon, 12 Nov 2007 23:10:52 +0000 (15:10 -0800)]
Handle new PATCH-$name files, improved $last_touch code,
fixed handling of dependent patches.

14 years agoGetting rid of all .cvsignore files.
Wayne Davison [Mon, 12 Nov 2007 21:32:10 +0000 (13:32 -0800)]
Getting rid of all .cvsignore files.

14 years agoMention the change for protocol 30.
Wayne Davison [Mon, 12 Nov 2007 15:12:48 +0000 (07:12 -0800)]
Mention the change for protocol 30.

14 years agoExit if something goes wrong with commit or tag.
Wayne Davison [Mon, 12 Nov 2007 14:44:16 +0000 (06:44 -0800)]
Exit if something goes wrong with commit or tag.

14 years agoMake sure that time has progressed when we need change branches
Wayne Davison [Mon, 12 Nov 2007 14:30:24 +0000 (06:30 -0800)]
Make sure that time has progressed when we need change branches
in order to run prepare-source.

14 years agoIf we start a sub-shell to let the user fix a rebase, output a
Wayne Davison [Mon, 12 Nov 2007 08:13:52 +0000 (00:13 -0800)]
If we start a sub-shell to let the user fix a rebase, output a
message and change the prompt.

14 years agoUpdated to work with latest git repository and to package
Wayne Davison [Mon, 12 Nov 2007 07:58:01 +0000 (23:58 -0800)]
Updated to work with latest git repository and to package
the patches directory in a separate tar file.

14 years agoThis script transforms one or more patch/* branches into
Wayne Davison [Mon, 12 Nov 2007 07:15:40 +0000 (23:15 -0800)]
This script transforms one or more patch/* branches into
one or more patches/*.diff files.

14 years agoIgnore a couple more items.
Wayne Davison [Mon, 12 Nov 2007 06:52:25 +0000 (22:52 -0800)]
Ignore a couple more items.

14 years agoIncluding my extern-squishing script, which just found an
Wayne Davison [Mon, 12 Nov 2007 06:51:50 +0000 (22:51 -0800)]
Including my extern-squishing script, which just found an
extraneous extern in exclude.c.

14 years agoThis helper script exists to create the generated files that are needed
Wayne Davison [Sat, 10 Nov 2007 05:37:01 +0000 (21:37 -0800)]
This helper script exists to create the generated files that are needed
for a build.  It pretends to be a configure script so that the build
steps are still the normal sequence of ./configure, make, make install
(which is particularly helpful with the samba build farm).  Once the
generated files are ready, the configure.sh script is called to do the
real configure work.

14 years agoSwitched prototype generation from awk to perl.
Wayne Davison [Fri, 9 Nov 2007 22:57:14 +0000 (22:57 +0000)]
Switched prototype generation from awk to perl.

14 years agoIgnore generated files and dirs.
Wayne Davison [Fri, 9 Nov 2007 19:55:00 +0000 (19:55 +0000)]
Ignore generated files and dirs.

14 years agoTweaked gensend to upload man pages too.
Wayne Davison [Fri, 9 Nov 2007 19:31:20 +0000 (19:31 +0000)]
Tweaked gensend to upload man pages too.

14 years agoInclude the arg name for the lp_*() funtions.
Wayne Davison [Fri, 9 Nov 2007 19:28:27 +0000 (19:28 +0000)]
Include the arg name for the lp_*() funtions.

14 years agoSimplified script even more for HP-UX.
Wayne Davison [Fri, 9 Nov 2007 19:14:51 +0000 (19:14 +0000)]
Simplified script even more for HP-UX.

14 years agoUse older open() style for compatibility with older perl versions.
Wayne Davison [Fri, 9 Nov 2007 18:15:52 +0000 (18:15 +0000)]
Use older open() style for compatibility with older perl versions.

14 years agoImproved the manpage install rules.
Wayne Davison [Fri, 9 Nov 2007 18:12:40 +0000 (18:12 +0000)]
Improved the manpage install rules.

14 years agoDon't fail the install if the man pages aren't there.
Wayne Davison [Fri, 9 Nov 2007 18:04:50 +0000 (18:04 +0000)]
Don't fail the install if the man pages aren't there.

14 years agoClean generated files for distclean.
Wayne Davison [Fri, 9 Nov 2007 17:56:00 +0000 (17:56 +0000)]
Clean generated files for distclean.

14 years agoAdded gensend target.
Wayne Davison [Fri, 9 Nov 2007 17:50:10 +0000 (17:50 +0000)]
Added gensend target.

14 years agoLet's try using perl for building proto.h.
Wayne Davison [Fri, 9 Nov 2007 17:40:56 +0000 (17:40 +0000)]
Let's try using perl for building proto.h.

14 years agoImproved configure bootstrap to try to build generated files
Wayne Davison [Fri, 9 Nov 2007 16:56:46 +0000 (16:56 +0000)]
Improved configure bootstrap to try to build generated files
before fetching them.

14 years agoThis is an attempt to remove generated files from the rsync repository
Wayne Davison [Fri, 9 Nov 2007 16:22:20 +0000 (16:22 +0000)]
This is an attempt to remove generated files from the rsync repository
while still supporting the samba build farm.  Let's see if it works.

14 years agoPreparing for release of 3.0.0pre5
Wayne Davison [Fri, 9 Nov 2007 04:49:18 +0000 (04:49 +0000)]
Preparing for release of 3.0.0pre5

14 years agoWhen performing a --dry-run, output a "(DRY RUN)" reminder on the
Wayne Davison [Fri, 9 Nov 2007 04:48:10 +0000 (04:48 +0000)]
When performing a --dry-run, output a "(DRY RUN)" reminder on the
last line of the verbose summary text.

14 years agoMention latest changes.
Wayne Davison [Fri, 9 Nov 2007 04:32:58 +0000 (04:32 +0000)]
Mention latest changes.

14 years agoGot rid of a compiler warning.
Wayne Davison [Thu, 8 Nov 2007 20:30:17 +0000 (20:30 +0000)]
Got rid of a compiler warning.

14 years agoSome fixes for SCO in new getaddrinfo() code.
Wayne Davison [Thu, 8 Nov 2007 14:54:58 +0000 (14:54 +0000)]
Some fixes for SCO in new getaddrinfo() code.

14 years agoUse uint32, not uint32_t.
Wayne Davison [Thu, 8 Nov 2007 01:31:58 +0000 (01:31 +0000)]
Use uint32, not uint32_t.

14 years agoAdd back a define of "struct sockaddr_storage" for systems that
Wayne Davison [Thu, 8 Nov 2007 01:10:34 +0000 (01:10 +0000)]
Add back a define of "struct sockaddr_storage" for systems that
don't have it.

14 years agoImprove the man page and --help descriptions of --dry-run. In
Wayne Davison [Thu, 8 Nov 2007 00:06:48 +0000 (00:06 +0000)]
Improve the man page and --help descriptions of --dry-run.  In
particular, make it clear that --dry-run turns off action without
turning on verbosity, and has some incomplete/inaccurate stats.

14 years agoTweaked an extern.
Wayne Davison [Tue, 6 Nov 2007 15:32:55 +0000 (15:32 +0000)]
Tweaked an extern.

14 years agoSome changes to allow an unsorted file list even if the iconv option
Wayne Davison [Tue, 6 Nov 2007 15:25:02 +0000 (15:25 +0000)]
Some changes to allow an unsorted file list even if the iconv option
was disabled via configure.

14 years agoFixed some typos that Matt pointed out.
Wayne Davison [Mon, 5 Nov 2007 18:33:09 +0000 (18:33 +0000)]
Fixed some typos that Matt pointed out.

14 years agoMake sure that get_xattr_data() never tries to malloc 0 bytes.
Wayne Davison [Mon, 5 Nov 2007 18:15:04 +0000 (18:15 +0000)]
Make sure that get_xattr_data() never tries to malloc 0 bytes.

14 years agoIf the xattr data is bogus in get_rsync_acl(), free the buffer.
Wayne Davison [Mon, 5 Nov 2007 18:15:01 +0000 (18:15 +0000)]
If the xattr data is bogus in get_rsync_acl(), free the buffer.

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.