Wayne Davison [Sun, 25 Nov 2007 21:49:41 +0000 (13:49 -0800)]
We now call set_stat_xattr() before set_xattr().
Wayne Davison [Sun, 25 Nov 2007 21:48:54 +0000 (13:48 -0800)]
Various xattr fixes:
- Fake-super mode no longer strips the RSYNC_PREFIX from a "%name" item.
- Make various places skip the fake-super xattr when --fake-super is enabled.
- If we fail to re-read the xattr value of an xattr we are trying to un-
abbreviate, send a zero for its length (avoiding a protocol problem).
Wayne Davison [Sat, 24 Nov 2007 19:50:41 +0000 (11:50 -0800)]
Improved proto.h-tstamp handling, including cleanup.
Wayne Davison [Sat, 24 Nov 2007 18:54:35 +0000 (10:54 -0800)]
Made the (re-)building of the proto.h file automatic in the
main Makefile rules, and the (re-)building of the man pages
automatic if yodl2man is present.
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.
Wayne Davison [Thu, 22 Nov 2007 19:19:34 +0000 (11:19 -0800)]
A daemon needs to set dry_run with --only-write-batch.
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.
Wayne Davison [Thu, 22 Nov 2007 17:51:21 +0000 (09:51 -0800)]
Use FLOG instead of FERROR for config errors.
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.
Wayne Davison [Wed, 21 Nov 2007 15:09:26 +0000 (07:09 -0800)]
Don't try to delete when list_only is set.
Wayne Davison [Wed, 21 Nov 2007 01:37:53 +0000 (17:37 -0800)]
Got rid of the unused symlink parameter to sanitize_path().
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.
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.
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.
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.
Wayne Davison [Sat, 17 Nov 2007 18:26:46 +0000 (10:26 -0800)]
Improved F_RDEV_P() define to use DEV_EXTRA_CNT count.
Wayne Davison [Fri, 16 Nov 2007 15:22:02 +0000 (07:22 -0800)]
Make sure we process a parent patch before a dependent patch.
Wayne Davison [Thu, 15 Nov 2007 22:05:09 +0000 (14:05 -0800)]
A couple minor improvments to the tar-creation code.
Wayne Davison [Thu, 15 Nov 2007 15:48:13 +0000 (07:48 -0800)]
Updated to work with git instead of cvs.
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.
Wayne Davison [Mon, 12 Nov 2007 21:32:10 +0000 (13:32 -0800)]
Getting rid of all .cvsignore files.
Wayne Davison [Mon, 12 Nov 2007 15:12:48 +0000 (07:12 -0800)]
Mention the change for protocol 30.
Wayne Davison [Mon, 12 Nov 2007 14:44:16 +0000 (06:44 -0800)]
Exit if something goes wrong with commit or tag.
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.
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.
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.
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.
Wayne Davison [Mon, 12 Nov 2007 06:52:25 +0000 (22:52 -0800)]
Ignore a couple more items.
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.
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.
Wayne Davison [Fri, 9 Nov 2007 22:57:14 +0000 (22:57 +0000)]
Switched prototype generation from awk to perl.
Wayne Davison [Fri, 9 Nov 2007 19:55:00 +0000 (19:55 +0000)]
Ignore generated files and dirs.
Wayne Davison [Fri, 9 Nov 2007 19:31:20 +0000 (19:31 +0000)]
Tweaked gensend to upload man pages too.
Wayne Davison [Fri, 9 Nov 2007 19:28:27 +0000 (19:28 +0000)]
Include the arg name for the lp_*() funtions.
Wayne Davison [Fri, 9 Nov 2007 19:14:51 +0000 (19:14 +0000)]
Simplified script even more for HP-UX.
Wayne Davison [Fri, 9 Nov 2007 18:15:52 +0000 (18:15 +0000)]
Use older open() style for compatibility with older perl versions.
Wayne Davison [Fri, 9 Nov 2007 18:12:40 +0000 (18:12 +0000)]
Improved the manpage install rules.
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.
Wayne Davison [Fri, 9 Nov 2007 17:56:00 +0000 (17:56 +0000)]
Clean generated files for distclean.
Wayne Davison [Fri, 9 Nov 2007 17:50:10 +0000 (17:50 +0000)]
Added gensend target.
Wayne Davison [Fri, 9 Nov 2007 17:40:56 +0000 (17:40 +0000)]
Let's try using perl for building proto.h.
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.
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.
Wayne Davison [Fri, 9 Nov 2007 04:49:18 +0000 (04:49 +0000)]
Preparing for release of 3.0.0pre5
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.
Wayne Davison [Fri, 9 Nov 2007 04:32:58 +0000 (04:32 +0000)]
Mention latest changes.
Wayne Davison [Thu, 8 Nov 2007 20:30:17 +0000 (20:30 +0000)]
Got rid of a compiler warning.
Wayne Davison [Thu, 8 Nov 2007 14:54:58 +0000 (14:54 +0000)]
Some fixes for SCO in new getaddrinfo() code.
Wayne Davison [Thu, 8 Nov 2007 01:31:58 +0000 (01:31 +0000)]
Use uint32, not uint32_t.
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.
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.
Wayne Davison [Tue, 6 Nov 2007 15:32:55 +0000 (15:32 +0000)]
Tweaked an extern.
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.
Wayne Davison [Mon, 5 Nov 2007 18:33:09 +0000 (18:33 +0000)]
Fixed some typos that Matt pointed out.
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.
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.
Wayne Davison [Mon, 5 Nov 2007 15:02:30 +0000 (15:02 +0000)]
Fixed get_xattr_acl() -- it needed to zero *len_p.
Wayne Davison [Mon, 5 Nov 2007 15:02:27 +0000 (15:02 +0000)]
Got rid of a redundant mtime check.
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.
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.
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.
Wayne Davison [Sat, 3 Nov 2007 18:14:36 +0000 (18:14 +0000)]
Stop password errors from getting reported as transfer errors.
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.
Wayne Davison [Sat, 3 Nov 2007 16:30:30 +0000 (16:30 +0000)]
A better way to count our queued workload.
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.
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).
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.
Wayne Davison [Fri, 2 Nov 2007 20:53:04 +0000 (20:53 +0000)]
The HAVE_UTIMBUF define changed to HAVE_STRUCT_UTIMBUF.
Wayne Davison [Fri, 2 Nov 2007 20:52:57 +0000 (20:52 +0000)]
A new version of the getaddrinfo code from the samba source.
Wayne Davison [Fri, 2 Nov 2007 20:52:52 +0000 (20:52 +0000)]
Make use of the HAVE_NETDB_H define.
Wayne Davison [Fri, 2 Nov 2007 20:52:46 +0000 (20:52 +0000)]
Changes to handle new getaddrinfo code.
Wayne Davison [Fri, 2 Nov 2007 20:52:33 +0000 (20:52 +0000)]
Added AC_HAVE_TYPE().
Wayne Davison [Wed, 31 Oct 2007 15:01:26 +0000 (15:01 +0000)]
One more SUBPROTOCOL_VERSION increase for iconv change.
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".
Wayne Davison [Wed, 31 Oct 2007 05:48:56 +0000 (05:48 +0000)]
Increment the SUBPROTOCOL_VERSION.
Wayne Davison [Wed, 31 Oct 2007 05:48:25 +0000 (05:48 +0000)]
Set ndx_start to 1 only for an inc-recursive transfer.
Wayne Davison [Wed, 31 Oct 2007 04:43:36 +0000 (04:43 +0000)]
- Handle a dot-dir-containing flist using its parent_ndx value.
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.
Wayne Davison [Wed, 31 Oct 2007 04:43:29 +0000 (04:43 +0000)]
Call clean_fname() with new flag arg.
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).
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".
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.
Wayne Davison [Wed, 31 Oct 2007 00:51:48 +0000 (00:51 +0000)]
Suggest -Z as a good popt alias letter instead of -s.
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.
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.
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).
Wayne Davison [Sun, 28 Oct 2007 21:42:41 +0000 (21:42 +0000)]
Made some more char pointers const.
Wayne Davison [Sun, 28 Oct 2007 20:03:00 +0000 (20:03 +0000)]
Don't call copy_file() for a dry-run. (Thanks, Matt!)
Wayne Davison [Sun, 28 Oct 2007 06:51:50 +0000 (06:51 +0000)]
Fixed setting of updating_basis value.
Wayne Davison [Sat, 27 Oct 2007 05:09:06 +0000 (05:09 +0000)]
Preparing for release of 3.0.0pre4
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.
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.
Wayne Davison [Sat, 27 Oct 2007 00:00:21 +0000 (00:00 +0000)]
Preparing for release of 3.0.0pre3
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.
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.
Wayne Davison [Thu, 25 Oct 2007 02:05:43 +0000 (02:05 +0000)]
Mention .git/ exclude.
Wayne Davison [Thu, 25 Oct 2007 02:05:05 +0000 (02:05 +0000)]
Added .git/ to "CVS" excludes.
Wayne Davison [Thu, 25 Oct 2007 01:40:17 +0000 (01:40 +0000)]
We need to provide iconvbufs() anytime ICONV_CONST is defined.
Wayne Davison [Sun, 21 Oct 2007 22:30:49 +0000 (22:30 +0000)]
A few more improvements.
Wayne Davison [Sun, 21 Oct 2007 21:53:20 +0000 (21:53 +0000)]
Improved a description.