Wayne Davison [Tue, 3 May 2005 16:47:03 +0000 (16:47 +0000)]
A few minor doc tweaks.
Wayne Davison [Tue, 3 May 2005 16:46:49 +0000 (16:46 +0000)]
- Moved the --version option in the help text.
- Tweaked the --log-format option's description.
- Added a comment.
Wayne Davison [Tue, 3 May 2005 16:45:40 +0000 (16:45 +0000)]
Mention the change in error message and exit status when we pull an
empty file list.
Wayne Davison [Tue, 3 May 2005 16:44:47 +0000 (16:44 +0000)]
Tweaked the checking of the "limit" in safe_fname().
Wayne Davison [Tue, 3 May 2005 16:03:31 +0000 (16:03 +0000)]
Fixed a typo.
Wayne Davison [Tue, 3 May 2005 15:59:24 +0000 (15:59 +0000)]
- Improved the comments on the backslash-escaped output, and moved it
to the top in an "OUTPUT CHANGES" section.
- Added a mention of the generator's new output-flushing optimization.
Wayne Davison [Tue, 3 May 2005 15:58:06 +0000 (15:58 +0000)]
Improved a sentence.
Wayne Davison [Mon, 2 May 2005 18:04:32 +0000 (18:04 +0000)]
Mention the '?'-in-filenames change.
Wayne Davison [Mon, 2 May 2005 17:27:20 +0000 (17:27 +0000)]
Fixed some misspellings.
Wayne Davison [Mon, 2 May 2005 17:23:08 +0000 (17:23 +0000)]
Tweaked the description of --from0.
Wayne Davison [Mon, 2 May 2005 17:22:42 +0000 (17:22 +0000)]
Tweaked the doc for --from0.
Wayne Davison [Thu, 28 Apr 2005 16:26:23 +0000 (16:26 +0000)]
Moved the max-size checking code down so that it only checks
regular files.
Wayne Davison [Thu, 28 Apr 2005 16:11:32 +0000 (16:11 +0000)]
Moved the size-parsing code for --max-size into its own function.
Wayne Davison [Wed, 27 Apr 2005 22:58:06 +0000 (22:58 +0000)]
Set ignore_timeout before starting the transfer, regardless of
what protocol level is in effect. This guards against the
generator timing out when the output pipe is full and the input
pipe (to the receiver) is slow.
Wayne Davison [Wed, 27 Apr 2005 22:56:47 +0000 (22:56 +0000)]
If the user specified --relative and a source dir with a trailing
slash, make sure we strip of the trailing "/." from the dir's len
(in del_hier_name_len) so that its subdirs get marked with
FLAG_DEL_HERE.
Wayne Davison [Tue, 26 Apr 2005 16:25:01 +0000 (16:25 +0000)]
Added a new test to check how we interact with --link-dest and
--copy-dest.
Wayne Davison [Tue, 26 Apr 2005 16:09:03 +0000 (16:09 +0000)]
A slightly better fix than the last one (though it won't make any
difference in how the code behaves due to how it is called).
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.