rsync/rsync.git
19 years agoMention how the daemon handles a failure to open a user-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".

19 years agoMention how we now handle a log-file that the daemon can't open.
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.

19 years agoGot rid of RERR_LOG_FAILURE.
Wayne Davison [Tue, 12 Apr 2005 23:04:10 +0000 (23:04 +0000)]
Got rid of RERR_LOG_FAILURE.

19 years agoIf we can't open the daemon's log file, fall-back to using
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).

19 years agoA couple improvements for the --only-write-batch section.
Wayne Davison [Tue, 12 Apr 2005 03:55:56 +0000 (03:55 +0000)]
A couple improvements for the --only-write-batch section.

19 years agoMention the latest bug-fix.
Wayne Davison [Sun, 10 Apr 2005 20:08:00 +0000 (20:08 +0000)]
Mention the latest bug-fix.

19 years agoPaul's patch to improve the "not creating new ..." message
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.

19 years agoMade the code a little cleaner by having gen_challenge() return
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.

19 years agoMention fix for SUPPORT{,_HARD}_LINKS defines.
Wayne Davison [Sun, 10 Apr 2005 07:17:47 +0000 (07:17 +0000)]
Mention fix for SUPPORT{,_HARD}_LINKS defines.

19 years ago- Don't define HAVE_READLINK unless HAVE_READLINK is defined.
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.

19 years agoMention the new --only-write-batch=FILE option.
Wayne Davison [Sat, 9 Apr 2005 18:59:59 +0000 (18:59 +0000)]
Mention the new --only-write-batch=FILE option.

19 years ago- Use the new do_xfers variable in place of some dry_run checks
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.

19 years ago- Use the new do_xfers variable in place of some dry_run checks
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.

19 years agoUse the new do_xfers variable in place of some dry_run checks
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).

19 years ago- Only do read-/write-batch processing if we're not the server (needed
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).

19 years ago- Added do_xfers variable.
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.

19 years agoAlso change --only-write-batch to --read-batch (in addition to
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).

19 years agoWe no longer force write_batch to 0 for the server.
Wayne Davison [Sat, 9 Apr 2005 18:59:42 +0000 (18:59 +0000)]
We no longer force write_batch to 0 for the server.

19 years agoDocument the new --only-write-batch=FILE option.
Wayne Davison [Sat, 9 Apr 2005 18:59:40 +0000 (18:59 +0000)]
Document the new --only-write-batch=FILE option.

19 years agoMention the latest changes.
Wayne Davison [Sat, 9 Apr 2005 18:15:22 +0000 (18:15 +0000)]
Mention the latest changes.

19 years ago- Call auth_server() with its new "host" arg.
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.

19 years ago- Use the MD4_SUM_LENGTH define in place of some hard-wired values.
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.

19 years agoThe "@ERROR" handler in start_inband_exchange() was not returning
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.

19 years agoFixed one typo and improved another sentence.
Wayne Davison [Fri, 8 Apr 2005 01:40:57 +0000 (01:40 +0000)]
Fixed one typo and improved another sentence.

19 years agoMake sure that "- !" or "+ !" aren't interpreted as a list-clearing
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.

19 years agoCombine one of the backup tests with --delete-after.
Wayne Davison [Thu, 7 Apr 2005 09:09:17 +0000 (09:09 +0000)]
Combine one of the backup tests with --delete-after.

19 years agoDon't call maybe_flush_socket() quite so often.
Wayne Davison [Thu, 7 Apr 2005 08:32:32 +0000 (08:32 +0000)]
Don't call maybe_flush_socket() quite so often.

19 years agoMention the latest changes.
Wayne Davison [Thu, 7 Apr 2005 08:28:06 +0000 (08:28 +0000)]
Mention the latest changes.

19 years agoFix a bug with --delete-after combined with --backup.
Wayne Davison [Thu, 7 Apr 2005 08:13:44 +0000 (08:13 +0000)]
Fix a bug with --delete-after combined with --backup.

19 years agoUse the new HAVE_LSEEK64 define.
Wayne Davison [Wed, 6 Apr 2005 02:08:21 +0000 (02:08 +0000)]
Use the new HAVE_LSEEK64 define.

19 years agoAdded skipping of mkstemp() on HP-UX.
Wayne Davison [Wed, 6 Apr 2005 02:07:21 +0000 (02:07 +0000)]
Added skipping of mkstemp() on HP-UX.

19 years agoPeriodically call maybe_flush_socket().
Wayne Davison [Tue, 5 Apr 2005 20:08:51 +0000 (20:08 +0000)]
Periodically call maybe_flush_socket().

19 years ago- Added maybe_flush_socket() for use by the generator.
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.

19 years agoWhen doing a delete pass with do_progress output, get rid of the
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).

19 years agoDocument the use of --address in client mode.
Wayne Davison [Tue, 5 Apr 2005 06:00:17 +0000 (06:00 +0000)]
Document the use of --address in client mode.

19 years agoAllows --address to be used in client mode.
Wayne Davison [Tue, 5 Apr 2005 05:59:49 +0000 (05:59 +0000)]
Allows --address to be used in client mode.

19 years agoChanged the bind_address local variables to be named bind_addr
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.

19 years agoMake sure that the line buffer in readfd_unbuffered() is large
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.

19 years agoIn writefd_unbuffered(), make sure that we don't look at the r_fds
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.

19 years agoMention fix for --compare-dest.
Wayne Davison [Fri, 1 Apr 2005 18:18:17 +0000 (18:18 +0000)]
Mention fix for --compare-dest.

19 years agoMake a local-copy caused by a not-quite-up-to-date --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.

19 years ago- Conditionally include <locale.h>.
Wayne Davison [Fri, 1 Apr 2005 17:25:37 +0000 (17:25 +0000)]
- Conditionally include <locale.h>.
- Conditionally call setlocale(LC_CTYPE, "").

19 years ago- Changed version to 2.6.5cvs.
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.

19 years agoStarting the 2.6.5 news.
Wayne Davison [Fri, 1 Apr 2005 17:25:28 +0000 (17:25 +0000)]
Starting the 2.6.5 news.

19 years agoMoved the 2.6.4 news here.
Wayne Davison [Fri, 1 Apr 2005 17:25:26 +0000 (17:25 +0000)]
Moved the 2.6.4 news here.

19 years agoChanged safe_fname() to output \### (octal) to escape non-printable
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.

19 years agoFix the setting of module_dirlen for a module path of "/".
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.

19 years agoDon't try to tweak read-only dest-dir permissions in list-only mode.
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.

19 years agoPreparing for release of 2.6.4
Wayne Davison [Thu, 31 Mar 2005 03:14:34 +0000 (03:14 +0000)]
Preparing for release of 2.6.4

19 years ago- Made the handling of adjacent percents (e.g. "%%b") work like it
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().

19 years agoIn log_formatted(), add the newline to the format string so
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().

19 years agoEnabled width-sizing for %L.
Wayne Davison [Thu, 31 Mar 2005 00:50:58 +0000 (00:50 +0000)]
Enabled width-sizing for %L.

19 years agoUse new log_format_has() function instead of strstr().
Wayne Davison [Thu, 31 Mar 2005 00:21:15 +0000 (00:21 +0000)]
Use new log_format_has() function instead of strstr().

19 years agoAdded log_format_has().
Wayne Davison [Thu, 31 Mar 2005 00:19:13 +0000 (00:19 +0000)]
Added log_format_has().

19 years agoMake sure that we can't scan past the end of the format string.
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.

19 years agoOptimized '%f' a little more.
Wayne Davison [Wed, 30 Mar 2005 20:41:11 +0000 (20:41 +0000)]
Optimized '%f' a little more.

19 years agoAllow %i to have a field width.
Wayne Davison [Wed, 30 Mar 2005 20:18:48 +0000 (20:18 +0000)]
Allow %i to have a field width.

19 years ago- Allow the infix field width to start with a '-'.
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.

19 years agoMention the numeric field width now possible in the % escapes.
Wayne Davison [Wed, 30 Mar 2005 19:41:51 +0000 (19:41 +0000)]
Mention the numeric field width now possible in the % escapes.

19 years agoMention that the % escapes can now have a numeric infix.
Wayne Davison [Wed, 30 Mar 2005 19:39:11 +0000 (19:39 +0000)]
Mention that the % escapes can now have a numeric infix.

19 years agodropped the "const" from the return value of safe_fname() because
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.

19 years agoAllow the escapes in the log-format string to contain a numeric
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).

19 years agoFixed a comment.
Wayne Davison [Wed, 30 Mar 2005 17:31:35 +0000 (17:31 +0000)]
Fixed a comment.

19 years agoMoved a call to output_summary() up a line.
Wayne Davison [Wed, 30 Mar 2005 16:55:11 +0000 (16:55 +0000)]
Moved a call to output_summary() up a line.

19 years agoTweaked a couple sentences.
Wayne Davison [Wed, 30 Mar 2005 16:51:33 +0000 (16:51 +0000)]
Tweaked a couple sentences.

19 years agoChanged %i to output '>' for a local copy.
Wayne Davison [Wed, 30 Mar 2005 16:35:01 +0000 (16:35 +0000)]
Changed %i to output '>' for a local copy.

19 years agoGot rid of a useless extern.
Wayne Davison [Wed, 30 Mar 2005 16:33:41 +0000 (16:33 +0000)]
Got rid of a useless extern.

19 years ago- Fixed a potential crash if the receiver couldn't open the basis file
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.

19 years ago- Warn about missing batched updates the generator wants but the
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.

19 years agoSplit report() into handle_stats() and output_report() so that (1)
Wayne Davison [Tue, 29 Mar 2005 11:11:35 +0000 (11:11 +0000)]
Split report() into handle_stats() and output_report() so that (1)
the report happens after all --delete-after activity has ceased when
pulling, and (2) a batch-file created when pushing gets the stats
values written out prior to any end-of-run keep-alive packets.

19 years agoChanged maybe_emit_filelist_progress() and emit_filelist_progress()
Wayne Davison [Tue, 29 Mar 2005 10:57:31 +0000 (10:57 +0000)]
Changed maybe_emit_filelist_progress() and emit_filelist_progress()
to take an integer count instead of a struct file_list so that we
can pass in a file-list-count offset for delete's separate calls
to send_directory().

19 years agoTurn off do_progress during the file-update phase so that
Wayne Davison [Tue, 29 Mar 2005 10:41:26 +0000 (10:41 +0000)]
Turn off do_progress during the file-update phase so that
--delete-during and --fuzzy don't get any superfluous
" N files..." lines output in the middle of the processing.

19 years agoPreparing for release of 2.6.4pre4
Wayne Davison [Tue, 29 Mar 2005 06:18:24 +0000 (06:18 +0000)]
Preparing for release of 2.6.4pre4

19 years agoImproved several items and preparing for final 2.6.4 release.
Wayne Davison [Tue, 29 Mar 2005 06:15:47 +0000 (06:15 +0000)]
Improved several items and preparing for final 2.6.4 release.

19 years agoAdd data for 2.6.4.
Wayne Davison [Tue, 29 Mar 2005 06:15:08 +0000 (06:15 +0000)]
Add data for 2.6.4.

19 years agoIf --delay-updates wasn't specified, write out two -1 indexes at
Wayne Davison [Tue, 29 Mar 2005 01:04:20 +0000 (01:04 +0000)]
If --delay-updates wasn't specified, write out two -1 indexes at
the same time to avoid a useless round-trip delay for an empty
delay-updates phase.

19 years agoAdded --protocol and made some batch-file improvements.
Wayne Davison [Mon, 28 Mar 2005 20:54:06 +0000 (20:54 +0000)]
Added --protocol and made some batch-file improvements.

19 years agoAdded --protocol to --help output.
Wayne Davison [Mon, 28 Mar 2005 20:40:25 +0000 (20:40 +0000)]
Added --protocol to --help output.

19 years agoSome temporary code for 2.6.4pre3 compatibility (which can be
Wayne Davison [Mon, 28 Mar 2005 17:29:27 +0000 (17:29 +0000)]
Some temporary code for 2.6.4pre3 compatibility (which can be
safely removed for the next release).

19 years agoChaging ITEM_UNUSED back to ITEM_DUMMY_BIT for now -- we'll need
Wayne Davison [Mon, 28 Mar 2005 17:08:47 +0000 (17:08 +0000)]
Chaging ITEM_UNUSED back to ITEM_DUMMY_BIT for now -- we'll need
to get rid of it later on.

19 years agoChanged ITEM_DUMMY_BIT to ITEM_UNUSED.
Wayne Davison [Sun, 27 Mar 2005 05:58:40 +0000 (05:58 +0000)]
Changed ITEM_DUMMY_BIT to ITEM_UNUSED.

19 years agoGot rid of temporary code that detected and rejected older 2.6.4
Wayne Davison [Sun, 27 Mar 2005 05:58:38 +0000 (05:58 +0000)]
Got rid of temporary code that detected and rejected older 2.6.4
pre-release versions.

19 years agoGot rid of temporary code that set the ITEM_DUMMY_BIT.
Wayne Davison [Sun, 27 Mar 2005 05:58:36 +0000 (05:58 +0000)]
Got rid of temporary code that set the ITEM_DUMMY_BIT.

19 years ago--compress is now saved in a batch's option-state flags.
Wayne Davison [Sun, 27 Mar 2005 05:49:24 +0000 (05:49 +0000)]
--compress is now saved in a batch's option-state flags.

19 years agoDecided that the '<' and '>' output in the %i format were
Wayne Davison [Sun, 27 Mar 2005 05:32:36 +0000 (05:32 +0000)]
Decided that the '<' and '>' output in the %i format were
the opposite of what they should be.

19 years ago- Fixed a bug in the saving of the --dirs option's state.
Wayne Davison [Sun, 27 Mar 2005 05:02:49 +0000 (05:02 +0000)]
- Fixed a bug in the saving of the --dirs option's state.
- Added the saving of the --compress option's state.
- Deal with the xfer_dirs var in a better way for pre-29 batches.

19 years agoMention that --dry-run no longer conflicts with the batch options.
Wayne Davison [Fri, 25 Mar 2005 16:45:58 +0000 (16:45 +0000)]
Mention that --dry-run no longer conflicts with the batch options.

19 years ago- Don't complain if --dry-run is specified with --read-batch
Wayne Davison [Thu, 24 Mar 2005 16:41:16 +0000 (16:41 +0000)]
- Don't complain if --dry-run is specified with --read-batch
  or --write-batch.
- If --write-batch is combined with --dry-run, just disable
  --write-batch (that avoids trying to create a batch file
  and tells the user what would be transferred).

19 years agoIf --dry-run is enabled with --read-batch, we must discard the
Wayne Davison [Thu, 24 Mar 2005 16:38:34 +0000 (16:38 +0000)]
If --dry-run is enabled with --read-batch, we must discard the
transfer data.

19 years agoList /etc instead of /, but only if it exists and is readable.
Wayne Davison [Wed, 23 Mar 2005 16:04:17 +0000 (16:04 +0000)]
List /etc instead of /, but only if it exists and is readable.

19 years agoMention when we run fakeroot.
Wayne Davison [Fri, 18 Mar 2005 02:10:34 +0000 (02:10 +0000)]
Mention when we run fakeroot.

19 years agoIf we're not root and the "fakeroot" command is available, use it
Wayne Davison [Fri, 18 Mar 2005 02:07:25 +0000 (02:07 +0000)]
If we're not root and the "fakeroot" command is available, use it
to re-run the script while pretending to be root.

19 years agoSet a maximum distance-measure that find_fuzzy() will accept.
Wayne Davison [Thu, 17 Mar 2005 08:59:48 +0000 (08:59 +0000)]
Set a maximum distance-measure that find_fuzzy() will accept.

19 years agoFixed a problem with the stripping of the .bak/.old/.orig suffixes
Wayne Davison [Thu, 17 Mar 2005 08:45:36 +0000 (08:45 +0000)]
Fixed a problem with the stripping of the .bak/.old/.orig suffixes
in find_filename_suffix().

19 years agoFixed the -r kluge sent for pre-2.6.4 --list-only support.
Wayne Davison [Thu, 17 Mar 2005 00:52:33 +0000 (00:52 +0000)]
Fixed the -r kluge sent for pre-2.6.4 --list-only support.

19 years agoWe need to run our post-processing activities after the end of
Wayne Davison [Thu, 17 Mar 2005 00:41:18 +0000 (00:41 +0000)]
We need to run our post-processing activities after the end of
the receiver's delay-update processing.

19 years agoMention one other recent change.
Wayne Davison [Wed, 16 Mar 2005 02:50:00 +0000 (02:50 +0000)]
Mention one other recent change.

19 years agoPreparing for release of 2.6.4pre3
Wayne Davison [Wed, 16 Mar 2005 01:12:44 +0000 (01:12 +0000)]
Preparing for release of 2.6.4pre3

19 years agoChanged error message for incompatible 2.6.4 pre-release versions.
Wayne Davison [Wed, 16 Mar 2005 01:06:33 +0000 (01:06 +0000)]
Changed error message for incompatible 2.6.4 pre-release versions.

19 years agoDocument error messages 6 and 25.
Wayne Davison [Tue, 15 Mar 2005 23:23:45 +0000 (23:23 +0000)]
Document error messages 6 and 25.