Wayne Davison [Tue, 26 Apr 2005 15:25:43 +0000 (15:25 +0000)]
Mention newest fix.
Wayne Davison [Tue, 26 Apr 2005 15:24:40 +0000 (15:24 +0000)]
Fixed problem with -C when we're the sender, the remote is using an
older protocol, and we're not sending the exclude list (i.e. the
user didn't specify --delete or they specified --delete-ignored).
Wayne Davison [Mon, 25 Apr 2005 19:30:29 +0000 (19:30 +0000)]
Try to make rsync's behavior w/o "--perms" a little clearer.
Wayne Davison [Mon, 25 Apr 2005 19:23:43 +0000 (19:23 +0000)]
Fixed two typos.
Wayne Davison [Sun, 24 Apr 2005 22:35:03 +0000 (22:35 +0000)]
Mention fix for --one-file-system.
Wayne Davison [Sun, 24 Apr 2005 22:34:20 +0000 (22:34 +0000)]
Simplified the last change a little using a fix derived from
Mike Castle's suggestion.
Wayne Davison [Sun, 24 Apr 2005 22:11:26 +0000 (22:11 +0000)]
When deleting files, we need to take any local FLAG_MOUNT_POINT
flag-bit and put it into the regular flist's flags for that dir,
and delete_in_dir() now refuses to delete a directory that has
that bit set.
Wayne Davison [Sun, 24 Apr 2005 16:19:16 +0000 (16:19 +0000)]
Reject any --remove-* options when read-only, just in case there
are new ones added in the future.
Wayne Davison [Sun, 24 Apr 2005 00:34:39 +0000 (00:34 +0000)]
Mention the latest fixes.
Wayne Davison [Sat, 23 Apr 2005 22:30:08 +0000 (22:30 +0000)]
When rsync encountered an empty file list, it behaved differently
when pulling files than when pushing files: pulling it output a
(mostly) unhelpful error message and then exited with a 0 status,
even when the remote side exited with an error code. I changed this
to output the normal end summary (when verbose) and to exit with the
status intact (just like when pushing files).
Wayne Davison [Sat, 23 Apr 2005 22:17:10 +0000 (22:17 +0000)]
For those rare individuals without web access, mention how to
send bug reports via email.
Wayne Davison [Sat, 23 Apr 2005 19:46:22 +0000 (19:46 +0000)]
Fixed a problem where a --link-dest hard-link could cause us to
miss out on the hard_link_cluster() call.
Wayne Davison [Sat, 23 Apr 2005 18:20:47 +0000 (18:20 +0000)]
Two more tests:
- Update the hard-linked cluster and copy over the old versions.
- Add a new hard-linked item down in a new subdir to make sure that
the new file doesn't get handled before the subdir gets created.
Wayne Davison [Sat, 23 Apr 2005 18:17:25 +0000 (18:17 +0000)]
Added --no-whole-file option to one of the runs.
Wayne Davison [Sat, 23 Apr 2005 17:48:34 +0000 (17:48 +0000)]
- Added a new function, maybe_hard_link(), which now holds the code
(moved from hard_link_cluster()) that checks the inode/dev of an
existing file and either does nothing (when properly linked), or
removes the existing file before calling hard_link_one().
- Changed hard_link_check() so that it checks if the master item is
marked with FINISHED_LINK (in its hlindex int), and if so, it
finishes the current file by calling maybe_hard_link() (and
marking it as finished too). Otherwise it marks the item as
skipped by setting hlindex to SKIPPED_LINK.
- Fixed the outputting of an error in hard_link_one() so that the
message is always output when the caller did not request "terse"
processing.
- Changed hard_link_cluster() so that it marks the master item with
FINISHED_LINK and then links only the skipped items (marking them
with FINISHED_LINK too).
Wayne Davison [Sat, 23 Apr 2005 17:48:31 +0000 (17:48 +0000)]
- Call hard_link_check() with its new args.
- Got rid of a duplicate error after the hard_link_one() call.
Wayne Davison [Fri, 22 Apr 2005 17:17:18 +0000 (17:17 +0000)]
Mention how a module reference doesn't need a trailing slash
to copy its contents.
Wayne Davison [Fri, 22 Apr 2005 16:45:33 +0000 (16:45 +0000)]
If we're outputting a message about the remote file in a
single-file transfer, we need to make sure that the file's
name is the generic-transfer name and not a local name.
Wayne Davison [Fri, 22 Apr 2005 15:19:10 +0000 (15:19 +0000)]
Moved "port" and "address" into the global section where they
belong.
Wayne Davison [Sun, 17 Apr 2005 08:25:50 +0000 (08:25 +0000)]
Updated FSF's address and some minor non-license tweaks taken
from the latest GPL file on the web.
Wayne Davison [Sat, 16 Apr 2005 07:34:49 +0000 (07:34 +0000)]
Simplified the newly added test so that it should stop sporadically
failing.
Wayne Davison [Fri, 15 Apr 2005 17:39:35 +0000 (17:39 +0000)]
Call rsync via $RSYNC.
Wayne Davison [Fri, 15 Apr 2005 17:26:27 +0000 (17:26 +0000)]
Make sure that the $chkdir has the same mtime/etc. as the
$fromdir.
Wayne Davison [Fri, 15 Apr 2005 08:28:02 +0000 (08:28 +0000)]
Added a test that copies a single file with -H specified.
Wayne Davison [Fri, 15 Apr 2005 08:26:58 +0000 (08:26 +0000)]
- Fixed a potential crash/infinite-loop bug if -H was used
when sending a single file.
- Made a couple variable improvements in link_idev_data().
- Got rid of the non-NULL check of hlink_list in init_hard_links()
because is enough to just check file->link_u.links these days.
Wayne Davison [Thu, 14 Apr 2005 16:08:12 +0000 (16:08 +0000)]
Call logfile_close() and logfile_reopen() (tweaked function names).
Wayne Davison [Thu, 14 Apr 2005 16:08:10 +0000 (16:08 +0000)]
- Changed log_open() into two functions, logfile_open() and
logfile_reopen().
- Changed log_close() into logfile_close().
- Improved the logic in logit().
Wayne Davison [Thu, 14 Apr 2005 01:47:47 +0000 (01:47 +0000)]
Mention that less data is sent over the wire when --only-write-batch
is used and we're pushing files to a remote system.
Wayne Davison [Thu, 14 Apr 2005 01:46:08 +0000 (01:46 +0000)]
Got rid of ITEM_DUMMY_BIT.
Wayne Davison [Thu, 14 Apr 2005 01:45:47 +0000 (01:45 +0000)]
- Got rid of the iflag kluge for 2.6.4pre3.
- When we're handling --only-write-batch on the client side, we now
send all index/header info to the receiver (not just to the batch
file, like we do with the xfer data) so that the connection cannot
timeout.
Wayne Davison [Thu, 14 Apr 2005 01:42:13 +0000 (01:42 +0000)]
Support the reception of a file-transfer header without xfer data
when we're on the server side and --only-write-batch was specified.
Wayne Davison [Tue, 12 Apr 2005 23:09:35 +0000 (23:09 +0000)]
Mention how the daemon handles a failure to open a user-specified
"log file".
Wayne Davison [Tue, 12 Apr 2005 23:06:45 +0000 (23:06 +0000)]
Mention how we now handle a log-file that the daemon can't open.
Wayne Davison [Tue, 12 Apr 2005 23:04:10 +0000 (23:04 +0000)]
Got rid of RERR_LOG_FAILURE.
Wayne Davison [Tue, 12 Apr 2005 23:03:49 +0000 (23:03 +0000)]
If we can't open the daemon's log file, fall-back to using
syslog (rather than trying to output an error on stderr,
which would usually be lost, and then exiting).
Wayne Davison [Tue, 12 Apr 2005 03:55:56 +0000 (03:55 +0000)]
A couple improvements for the --only-write-batch section.
Wayne Davison [Sun, 10 Apr 2005 20:08:00 +0000 (20:08 +0000)]
Mention the latest bug-fix.
Wayne Davison [Sun, 10 Apr 2005 19:44:16 +0000 (19:44 +0000)]
Paul's patch to improve the "not creating new ..." message
for directories.
Wayne Davison [Sun, 10 Apr 2005 17:09:10 +0000 (17:09 +0000)]
Made the code a little cleaner by having gen_challenge() return
the challenge string base64-encoded (instead of forcing the caller
to handle this). Also improved a couple comments.
Wayne Davison [Sun, 10 Apr 2005 07:17:47 +0000 (07:17 +0000)]
Mention fix for SUPPORT{,_HARD}_LINKS defines.
Wayne Davison [Sun, 10 Apr 2005 06:24:14 +0000 (06:24 +0000)]
- Don't define HAVE_READLINK unless HAVE_READLINK is defined.
- Don't define SUPPORT_HARD_LINKS unless HAVE_LINK is defined.
Wayne Davison [Sat, 9 Apr 2005 18:59:59 +0000 (18:59 +0000)]
Mention the new --only-write-batch=FILE option.
Wayne Davison [Sat, 9 Apr 2005 18:59:57 +0000 (18:59 +0000)]
- Use the new do_xfers variable in place of some dry_run checks
(with appropriate negation).
- If write_batch is < 0, we write out the file-transfer data to
just the batch file, not the socket.
Wayne Davison [Sat, 9 Apr 2005 18:59:55 +0000 (18:59 +0000)]
- Use the new do_xfers variable in place of some dry_run checks
(with appropriate negation).
- If we get a transfer when write_batch is < 0, discard it.
Wayne Davison [Sat, 9 Apr 2005 18:59:52 +0000 (18:59 +0000)]
Use the new do_xfers variable in place of some dry_run checks
(with appropriate negation).
Wayne Davison [Sat, 9 Apr 2005 18:59:49 +0000 (18:59 +0000)]
- Only do read-/write-batch processing if we're not the server (needed
now that write_batch is no longer forced to 0 for the server).
- If write_batch is < 0, force "dry_run = 1" (but only after we've
finished any appropriate write-batch file creation).
Wayne Davison [Sat, 9 Apr 2005 18:59:47 +0000 (18:59 +0000)]
- Added do_xfers variable.
- Handle the new --only-write-batch=FILE option.
Wayne Davison [Sat, 9 Apr 2005 18:59:44 +0000 (18:59 +0000)]
Also change --only-write-batch to --read-batch (in addition to
changing --write-batch).
Wayne Davison [Sat, 9 Apr 2005 18:59:42 +0000 (18:59 +0000)]
We no longer force write_batch to 0 for the server.
Wayne Davison [Sat, 9 Apr 2005 18:59:40 +0000 (18:59 +0000)]
Document the new --only-write-batch=FILE option.
Wayne Davison [Sat, 9 Apr 2005 18:15:22 +0000 (18:15 +0000)]
Mention the latest changes.
Wayne Davison [Sat, 9 Apr 2005 18:11:25 +0000 (18:11 +0000)]
- Call auth_server() with its new "host" arg.
- Don't log an auth-failed error -- auth_server() now handles that.
Wayne Davison [Sat, 9 Apr 2005 18:11:23 +0000 (18:11 +0000)]
- Use the MD4_SUM_LENGTH define in place of some hard-wired values.
- Pass the hostname in to auth_server().
- Generate a unique error for each failure type in auth_server() so
that the log-file contains why the authorization failed.
- Don't use sscanf() to parse the client's auth-challenge response.
Wayne Davison [Sat, 9 Apr 2005 16:49:51 +0000 (16:49 +0000)]
The "@ERROR" handler in start_inband_exchange() was not returning
the right value.
Wayne Davison [Fri, 8 Apr 2005 01:40:57 +0000 (01:40 +0000)]
Fixed one typo and improved another sentence.
Wayne Davison [Thu, 7 Apr 2005 18:06:06 +0000 (18:06 +0000)]
Make sure that "- !" or "+ !" aren't interpreted as a list-clearing
token.
Wayne Davison [Thu, 7 Apr 2005 09:09:17 +0000 (09:09 +0000)]
Combine one of the backup tests with --delete-after.
Wayne Davison [Thu, 7 Apr 2005 08:32:32 +0000 (08:32 +0000)]
Don't call maybe_flush_socket() quite so often.
Wayne Davison [Thu, 7 Apr 2005 08:28:06 +0000 (08:28 +0000)]
Mention the latest changes.
Wayne Davison [Thu, 7 Apr 2005 08:13:44 +0000 (08:13 +0000)]
Fix a bug with --delete-after combined with --backup.
Wayne Davison [Wed, 6 Apr 2005 02:08:21 +0000 (02:08 +0000)]
Use the new HAVE_LSEEK64 define.
Wayne Davison [Wed, 6 Apr 2005 02:07:21 +0000 (02:07 +0000)]
Added skipping of mkstemp() on HP-UX.
Wayne Davison [Tue, 5 Apr 2005 20:08:51 +0000 (20:08 +0000)]
Periodically call maybe_flush_socket().
Wayne Davison [Tue, 5 Apr 2005 20:07:42 +0000 (20:07 +0000)]
- Added maybe_flush_socket() for use by the generator.
- Always maintain the last_io value for the generator.
Wayne Davison [Tue, 5 Apr 2005 19:51:13 +0000 (19:51 +0000)]
When doing a delete pass with do_progress output, get rid of the
temporary output (it used to always be covered up by output in
older versions, but it might be followed by a newline in newer
versions).
Wayne Davison [Tue, 5 Apr 2005 06:00:17 +0000 (06:00 +0000)]
Document the use of --address in client mode.
Wayne Davison [Tue, 5 Apr 2005 05:59:49 +0000 (05:59 +0000)]
Allows --address to be used in client mode.
Wayne Davison [Tue, 5 Apr 2005 05:52:49 +0000 (05:52 +0000)]
Changed the bind_address local variables to be named bind_addr
in order to avoid confusion with the bind_address global.
Wayne Davison [Mon, 4 Apr 2005 17:27:56 +0000 (17:27 +0000)]
Make sure that the line buffer in readfd_unbuffered() is large
enough to handle long-filename messages on a system that has a
really short MAXPATHLEN value. Also, make it large enough to
be able to comment on a MAXPATHLEN filename.
Wayne Davison [Mon, 4 Apr 2005 00:48:39 +0000 (00:48 +0000)]
In writefd_unbuffered(), make sure that we don't look at the r_fds
variable when we're ignoring msg_fd_in.
Wayne Davison [Fri, 1 Apr 2005 18:18:17 +0000 (18:18 +0000)]
Mention fix for --compare-dest.
Wayne Davison [Fri, 1 Apr 2005 18:12:22 +0000 (18:12 +0000)]
Make a local-copy caused by a not-quite-up-to-date --compare-dest
or --link-dest file be output as a 'c' (local change) when itemizing
or as transfered file when not itemizing.
Wayne Davison [Fri, 1 Apr 2005 17:25:37 +0000 (17:25 +0000)]
- Conditionally include <locale.h>.
- Conditionally call setlocale(LC_CTYPE, "").
Wayne Davison [Fri, 1 Apr 2005 17:25:34 +0000 (17:25 +0000)]
- Changed version to 2.6.5cvs.
- Look for setlocale(), locale.h, and honor --disable-locale.
Wayne Davison [Fri, 1 Apr 2005 17:25:28 +0000 (17:25 +0000)]
Starting the 2.6.5 news.
Wayne Davison [Fri, 1 Apr 2005 17:25:26 +0000 (17:25 +0000)]
Moved the 2.6.4 news here.
Wayne Davison [Fri, 1 Apr 2005 16:48:54 +0000 (16:48 +0000)]
Changed safe_fname() to output \### (octal) to escape non-printable
characters (not ?) and \\ to escape \ itself.
Wayne Davison [Fri, 1 Apr 2005 00:18:40 +0000 (00:18 +0000)]
Fix the setting of module_dirlen for a module path of "/".
This fixes a crash in the exclude code when chroot is off.
Wayne Davison [Thu, 31 Mar 2005 23:30:03 +0000 (23:30 +0000)]
Don't try to tweak read-only dest-dir permissions in list-only mode.
Wayne Davison [Thu, 31 Mar 2005 03:14:34 +0000 (03:14 +0000)]
Preparing for release of 2.6.4
Wayne Davison [Thu, 31 Mar 2005 03:01:26 +0000 (03:01 +0000)]
- Made the handling of adjacent percents (e.g. "%%b") work like it
did in older versions.
- Added a comment for log_format_has().
Wayne Davison [Thu, 31 Mar 2005 01:09:18 +0000 (01:09 +0000)]
In log_formatted(), add the newline to the format string so
that we can call rwrite() instead of rprintf().
Wayne Davison [Thu, 31 Mar 2005 00:50:58 +0000 (00:50 +0000)]
Enabled width-sizing for %L.
Wayne Davison [Thu, 31 Mar 2005 00:21:15 +0000 (00:21 +0000)]
Use new log_format_has() function instead of strstr().
Wayne Davison [Thu, 31 Mar 2005 00:19:13 +0000 (00:19 +0000)]
Added log_format_has().
Wayne Davison [Wed, 30 Mar 2005 23:39:00 +0000 (23:39 +0000)]
Make sure that we can't scan past the end of the format string.
Wayne Davison [Wed, 30 Mar 2005 20:41:11 +0000 (20:41 +0000)]
Optimized '%f' a little more.
Wayne Davison [Wed, 30 Mar 2005 20:18:48 +0000 (20:18 +0000)]
Allow %i to have a field width.
Wayne Davison [Wed, 30 Mar 2005 19:44:29 +0000 (19:44 +0000)]
- Allow the infix field width to start with a '-'.
- Apply the field width to all escapes, not just numeric ones.
Wayne Davison [Wed, 30 Mar 2005 19:41:51 +0000 (19:41 +0000)]
Mention the numeric field width now possible in the % escapes.
Wayne Davison [Wed, 30 Mar 2005 19:39:11 +0000 (19:39 +0000)]
Mention that the % escapes can now have a numeric infix.
Wayne Davison [Wed, 30 Mar 2005 19:34:20 +0000 (19:34 +0000)]
dropped the "const" from the return value of safe_fname() because
some callers would like to manipulate the string in the buffer.
Wayne Davison [Wed, 30 Mar 2005 18:27:09 +0000 (18:27 +0000)]
Allow the escapes in the log-format string to contain a numeric
field width (e.g. %8l %07p).
Wayne Davison [Wed, 30 Mar 2005 17:31:35 +0000 (17:31 +0000)]
Fixed a comment.
Wayne Davison [Wed, 30 Mar 2005 16:55:11 +0000 (16:55 +0000)]
Moved a call to output_summary() up a line.
Wayne Davison [Wed, 30 Mar 2005 16:51:33 +0000 (16:51 +0000)]
Tweaked a couple sentences.
Wayne Davison [Wed, 30 Mar 2005 16:35:01 +0000 (16:35 +0000)]
Changed %i to output '>' for a local copy.
Wayne Davison [Wed, 30 Mar 2005 16:33:41 +0000 (16:33 +0000)]
Got rid of a useless extern.
Wayne Davison [Tue, 29 Mar 2005 22:05:33 +0000 (22:05 +0000)]
- Fixed a potential crash if the receiver couldn't open the basis file
and the sender (possibly via a batch) tells us to use basis data.
- Enhanced the batched-update skipping message to indicate what phase
is being skipped.
Wayne Davison [Tue, 29 Mar 2005 19:49:40 +0000 (19:49 +0000)]
- Warn about missing batched updates the generator wants but the
batch doesn't have.
- Tweaked the "skipping ..." message that is output for already-
applied batched updates.