Wayne Davison [Sun, 10 Oct 2004 20:33:07 +0000 (20:33 +0000)]
Mention the latest changes.
Wayne Davison [Sun, 10 Oct 2004 20:31:54 +0000 (20:31 +0000)]
Call flush_write_file() in _exit_cleanup() if we are keeping a
partially-received file.
Wayne Davison [Fri, 8 Oct 2004 21:27:22 +0000 (21:27 +0000)]
Handle systems where the makedev() macro is named mkdev().
Wayne Davison [Fri, 8 Oct 2004 19:52:38 +0000 (19:52 +0000)]
A new target, build_gen, works like gen w/o man-page generation.
Wayne Davison [Thu, 7 Oct 2004 17:02:39 +0000 (17:02 +0000)]
Improved an error message by using rsyserr().
Wayne Davison [Thu, 7 Oct 2004 17:00:36 +0000 (17:00 +0000)]
Mention in -a's usage message that -H isn't implied.
Wayne Davison [Wed, 6 Oct 2004 00:10:08 +0000 (00:10 +0000)]
Re-enable the "!" token-handling in a .cvsignore file.
Wayne Davison [Fri, 1 Oct 2004 06:58:23 +0000 (06:58 +0000)]
The device-handling code is no longer omitted based on HAVE_MKNOD
(this is because do_mknod() might be using a different function
to handle fifos and sockets without the help of mknod().
Wayne Davison [Fri, 1 Oct 2004 06:56:14 +0000 (06:56 +0000)]
Improved do_mknod() so that it handles creating a fifo file
and a socket file when mknod() itself does not.
Wayne Davison [Fri, 1 Oct 2004 06:53:26 +0000 (06:53 +0000)]
Make sure that all programs that use syscall.o also include
lib/compat.o so that we can use strlcpy().
Wayne Davison [Fri, 1 Oct 2004 06:51:34 +0000 (06:51 +0000)]
- Check if struct sockaddr_un has a sun_len member.
- Check if mknod() can make a fifo file.
- Check if mknod() can make a socket file.
Wayne Davison [Fri, 1 Oct 2004 02:34:22 +0000 (02:34 +0000)]
Some systems need do_mkstemp() to use setmode() to set O_BINARY.
Wayne Davison [Fri, 1 Oct 2004 02:31:10 +0000 (02:31 +0000)]
Check for the setmode() function.
Wayne Davison [Thu, 30 Sep 2004 16:36:42 +0000 (16:36 +0000)]
Preparing for release of 2.6.3
Wayne Davison [Thu, 30 Sep 2004 10:46:43 +0000 (10:46 +0000)]
Mention the enhancement that was made (quite a while ago) to the
daemon's wildcard-expansion limit (formerly 1000 items, now memory
limited).
Wayne Davison [Thu, 30 Sep 2004 09:58:39 +0000 (09:58 +0000)]
Refined the text of a few of the news items.
Wayne Davison [Thu, 30 Sep 2004 09:37:38 +0000 (09:37 +0000)]
- Mention the fix for lost output with 2>&1.
- Prepare the file for the 2.6.3 final release.
Wayne Davison [Thu, 30 Sep 2004 09:36:29 +0000 (09:36 +0000)]
Mention the (anticipated) 2.6.3 release date.
Wayne Davison [Wed, 29 Sep 2004 17:58:07 +0000 (17:58 +0000)]
Set our stderr output to blocking I/O to avoid any loss of output.
Wayne Davison [Fri, 24 Sep 2004 17:04:05 +0000 (17:04 +0000)]
Changed the errors concerning the secrets file to output with FLOG
instead of FERROR.
Wayne Davison [Fri, 24 Sep 2004 16:50:07 +0000 (16:50 +0000)]
- Make sure that match_address() always restores the "tok" string,
even on error.
- Turned the various FERROR messages into (the more proper) FLOG.
Wayne Davison [Fri, 24 Sep 2004 16:39:41 +0000 (16:39 +0000)]
Turned the various FERROR messages into (the more proper) FLOG.
Wayne Davison [Thu, 23 Sep 2004 21:15:04 +0000 (21:15 +0000)]
Added some more --inplace info (i.e. it implies --partial and conflicts
with 3 basis-file-affecting options).
Wayne Davison [Thu, 23 Sep 2004 17:39:05 +0000 (17:39 +0000)]
Made the refused-option message clearer, like Paul suggested.
Wayne Davison [Thu, 23 Sep 2004 16:34:43 +0000 (16:34 +0000)]
Create a FIFO using mkfifo.
Wayne Davison [Thu, 23 Sep 2004 16:00:44 +0000 (16:00 +0000)]
Assume that gettimeofday() takes two arguments when cross-compiling.
Wayne Davison [Thu, 23 Sep 2004 05:33:48 +0000 (05:33 +0000)]
Only output major/minor info for a character/block device, not for
a FIFO or a socket.
Wayne Davison [Wed, 22 Sep 2004 04:14:43 +0000 (04:14 +0000)]
Mention that --partial-dir now sets an exclude that helps to avoid
losing the partial data when deleting, and avoid copying any partial
data from the sender.
Wayne Davison [Wed, 22 Sep 2004 04:12:13 +0000 (04:12 +0000)]
If the partial-dir value is relative, add a directory-exclude for it
to the end of the user's exclude list.
Wayne Davison [Wed, 22 Sep 2004 04:11:15 +0000 (04:11 +0000)]
In get_exclude_tok(), if XFLG_DIRECTORY was passed in the xflags,
set MATCHFLG_DIRECTORY in the mflags we return.
Wayne Davison [Wed, 22 Sep 2004 04:10:10 +0000 (04:10 +0000)]
Added XFLG_DIRECTORY define.
Wayne Davison [Tue, 21 Sep 2004 16:10:35 +0000 (16:10 +0000)]
Preparing for release of 2.6.3pre2
Wayne Davison [Tue, 21 Sep 2004 15:47:20 +0000 (15:47 +0000)]
Mention the daemon-socket-connection change.
Wayne Davison [Tue, 21 Sep 2004 15:31:33 +0000 (15:31 +0000)]
Mentioned a couple more changes.
Wayne Davison [Tue, 21 Sep 2004 09:24:06 +0000 (09:24 +0000)]
The delete_one() function no longer needs to handle the case where
it thinks it is removing a directory and it is really removing a
symlink.
Wayne Davison [Tue, 21 Sep 2004 09:24:02 +0000 (09:24 +0000)]
- Turned readlink_stat() into a static function.
- Made readlink_stat() no longer honor keep_dirlinks.
- The make_file() function now checks keep_dirlinks late in the
function so that it only transforms a symlink to a local dir
into a directory if the receiver also has a directory by that
name. This makes the use of --delete with --keep-dirlinks
work much better.
Wayne Davison [Mon, 20 Sep 2004 19:50:04 +0000 (19:50 +0000)]
- Fixed a problem with the $bakdir value.
- Made the files have better contents to copy.
- Also test --backup without --backup-dir.
Wayne Davison [Mon, 20 Sep 2004 19:47:59 +0000 (19:47 +0000)]
Output a backup message when verbose > 1 and we did a copy prior
to an --inplace update.
Wayne Davison [Mon, 20 Sep 2004 19:46:45 +0000 (19:46 +0000)]
Output the same backup-message prefix when verbose > 1 regardless of
the setting of --backup-dir.
Wayne Davison [Mon, 20 Sep 2004 05:17:57 +0000 (05:17 +0000)]
Use $diffopt instead of -u.
Wayne Davison [Mon, 20 Sep 2004 05:01:38 +0000 (05:01 +0000)]
Got rid of a superfluous static buffer.
Wayne Davison [Mon, 20 Sep 2004 04:59:01 +0000 (04:59 +0000)]
A simple test of the backup functionality.
Wayne Davison [Mon, 20 Sep 2004 04:17:42 +0000 (04:17 +0000)]
Improved a comment.
Wayne Davison [Sat, 18 Sep 2004 17:37:54 +0000 (17:37 +0000)]
Mention the new RSYNC_PARTIAL_DIR environment variable.
Wayne Davison [Sat, 18 Sep 2004 17:35:20 +0000 (17:35 +0000)]
Document the new RSYNC_PARTIAL_DIR environment variable.
Wayne Davison [Sat, 18 Sep 2004 17:34:56 +0000 (17:34 +0000)]
Look for the RSYNC_PARTIAL_DIR environment variable when --partial
was specified (and --partial-dir was not).
Wayne Davison [Sat, 18 Sep 2004 01:49:19 +0000 (01:49 +0000)]
Mention that older rsync versions had a problem with --link-dest and
how to work around it.
Wayne Davison [Fri, 17 Sep 2004 16:53:51 +0000 (16:53 +0000)]
Mention the latest changes.
Wayne Davison [Fri, 17 Sep 2004 16:50:53 +0000 (16:50 +0000)]
- Added the ability to parse a literal IPv6 address in an "rsync:" URL
(e.g. rsync://[2001:638:500:101::21]:873/module/dir).
- Improved a couple --files-from error messages.
Wayne Davison [Fri, 17 Sep 2004 16:39:34 +0000 (16:39 +0000)]
When outputting the flist info (in a debug-level of verbosity) we
now mention the UID of the file when we are the sender (as well as
when we are root).
Wayne Davison [Thu, 16 Sep 2004 17:22:31 +0000 (17:22 +0000)]
Actually, since the close calls shouldn't fail (now that listener
is properly set to -1 on close), we don't really need to play the
save-errno game after all.
Wayne Davison [Thu, 16 Sep 2004 17:16:36 +0000 (17:16 +0000)]
Make sure that /etc and /bin actually are readable before we try
to list them.
Wayne Davison [Thu, 16 Sep 2004 17:09:46 +0000 (17:09 +0000)]
- Set "listener" to -1 after we close it so that the error-handler
doesn't try to re-close it.
- Set blocking I/O before the second (final) connect() call.
Wayne Davison [Wed, 8 Sep 2004 07:33:06 +0000 (07:33 +0000)]
Don't try to optimize-away the sending of the --delete option if
--delete-after was specified (since we don't know what the protocol
version will be yet).
Wayne Davison [Tue, 7 Sep 2004 21:45:19 +0000 (21:45 +0000)]
If --backup was used with --inplace, we don't limit the basis-file
matches (as we normally would) because the receiver is using the
backup-file as the basis-file.
Wayne Davison [Tue, 7 Sep 2004 21:44:02 +0000 (21:44 +0000)]
When --backup is used with --inplace, we make a copy of the destination
file into its backup spot while generating the checksums.
Wayne Davison [Tue, 7 Sep 2004 21:34:26 +0000 (21:34 +0000)]
If we're making backups with --inplace, use the backup file as the
basis file while still updating the real destination file inplace.
Wayne Davison [Tue, 7 Sep 2004 21:32:36 +0000 (21:32 +0000)]
Turn off make_backups during the redo phase, just like the receiver.
Wayne Davison [Tue, 7 Sep 2004 21:29:26 +0000 (21:29 +0000)]
Moved the code that determines the backup filename into a new function
named get_backup_name().
Wayne Davison [Tue, 7 Sep 2004 21:26:26 +0000 (21:26 +0000)]
Made full_write() non-static.
Wayne Davison [Tue, 7 Sep 2004 20:37:36 +0000 (20:37 +0000)]
W mustn't backup an inplace file in finish_transfer().
Wayne Davison [Tue, 7 Sep 2004 20:36:36 +0000 (20:36 +0000)]
Reject the use of --compare-dest or --link-dest with --inplace
(it will take extra code to suppor this).
Wayne Davison [Tue, 7 Sep 2004 19:49:09 +0000 (19:49 +0000)]
When we say we're skipping a non-regular file, actually skip it.
Wayne Davison [Tue, 7 Sep 2004 17:03:51 +0000 (17:03 +0000)]
A minor optimization to the partial-dir code.
Wayne Davison [Tue, 7 Sep 2004 16:50:07 +0000 (16:50 +0000)]
Fix the case where a partial-dir file exists but the destination
file does not.
Wayne Davison [Tue, 7 Sep 2004 16:49:10 +0000 (16:49 +0000)]
Mention that --whole-file interferes with the reuse of a --partial-dir
file.
Wayne Davison [Sun, 5 Sep 2004 21:30:00 +0000 (21:30 +0000)]
Fixed a typo Paul pointed out.
Wayne Davison [Thu, 26 Aug 2004 17:39:48 +0000 (17:39 +0000)]
Allow the use of the --exclude*/--include* options to a server
process again, but make sure that the user didn't specify a
server-excluded file for one of the --*-from options.
Wayne Davison [Wed, 18 Aug 2004 07:50:36 +0000 (07:50 +0000)]
Some fixes & clarifications for the BATCH MODE section.
Wayne Davison [Wed, 18 Aug 2004 07:49:03 +0000 (07:49 +0000)]
Few few more minor improvements to the existing change items.
Wayne Davison [Wed, 18 Aug 2004 07:00:17 +0000 (07:00 +0000)]
Corrected/enhanced a comment.
Wayne Davison [Thu, 12 Aug 2004 21:02:13 +0000 (21:02 +0000)]
One more NEWS tweak.
Wayne Davison [Thu, 12 Aug 2004 20:58:33 +0000 (20:58 +0000)]
Mention the security fix.
Wayne Davison [Thu, 12 Aug 2004 20:48:05 +0000 (20:48 +0000)]
Got rid of one item.
Wayne Davison [Thu, 12 Aug 2004 20:06:57 +0000 (20:06 +0000)]
Preparing for release of 2.6.3pre1
Wayne Davison [Thu, 12 Aug 2004 20:04:47 +0000 (20:04 +0000)]
One last minor tweak to clean_fname().
Wayne Davison [Thu, 12 Aug 2004 19:31:23 +0000 (19:31 +0000)]
Tweaked the USAGE section a tad and added an ADVANCED USAGE section
that discusses how to request multiple names from a remote rsync.
Wayne Davison [Thu, 12 Aug 2004 18:59:03 +0000 (18:59 +0000)]
Improved the build rule for getfsdev and added getfsdev.o to the
files we cleanup.
Wayne Davison [Thu, 12 Aug 2004 18:51:35 +0000 (18:51 +0000)]
If system won't let us set chmod bits, fall back to testing without
them set.
Wayne Davison [Thu, 12 Aug 2004 18:20:14 +0000 (18:20 +0000)]
- Made clean_flist()'s collapsing of ".." dirs optional by adding
a "BOOL collapse_dot_dot" arg.
- Improved some comments.
Wayne Davison [Thu, 12 Aug 2004 18:20:07 +0000 (18:20 +0000)]
Call clean_flist() with its new "collapse_dot_dot" arg.
Wayne Davison [Thu, 12 Aug 2004 10:13:45 +0000 (10:13 +0000)]
One (hopefully) last change to the sanitize_path() code.
Wayne Davison [Thu, 12 Aug 2004 09:32:16 +0000 (09:32 +0000)]
Simplified sanitize_path() logic a little.
Wayne Davison [Thu, 12 Aug 2004 01:27:26 +0000 (01:27 +0000)]
More improvements and a couple missing items.
Wayne Davison [Thu, 12 Aug 2004 00:58:01 +0000 (00:58 +0000)]
Improved a comment.
Wayne Davison [Thu, 12 Aug 2004 00:52:58 +0000 (00:52 +0000)]
Got rid of a comment that became inapplicable.
Wayne Davison [Wed, 11 Aug 2004 23:41:06 +0000 (23:41 +0000)]
- Call sanitize_path() with updated args.
- Added count_dir_elements() function.
- Changed the args for sanitize_path() so that the caller can request
the value for the rootdir and so that the caller tells us the current
subdir depth instead of sending us a string that we have to figure it
out from.
- Make sure that sanitize_path() doesn't mis-parse multiple adjacent
slashes.
Wayne Davison [Wed, 11 Aug 2004 23:41:03 +0000 (23:41 +0000)]
Call sanitize_path() with updated args.
Wayne Davison [Wed, 11 Aug 2004 23:41:00 +0000 (23:41 +0000)]
- Set the var lastdir_depth when setting lastdir.
- Call sanitize_path() with updated args.
Wayne Davison [Wed, 11 Aug 2004 17:33:52 +0000 (17:33 +0000)]
Ignore new getfsdev executable.
Wayne Davison [Wed, 11 Aug 2004 17:24:37 +0000 (17:24 +0000)]
Make the text of the --times (-t) option more correct on what
happens if it is omitted.
Wayne Davison [Tue, 10 Aug 2004 18:15:33 +0000 (18:15 +0000)]
A minor improvement in check_one_exclude().
Wayne Davison [Mon, 9 Aug 2004 20:58:26 +0000 (20:58 +0000)]
Mention the early-chmod change.
Wayne Davison [Mon, 9 Aug 2004 20:57:10 +0000 (20:57 +0000)]
Set each file's permissions and modtime before it gets renamed.
Wayne Davison [Mon, 9 Aug 2004 20:52:35 +0000 (20:52 +0000)]
Do some simple tests with various read-only and set[ug]id files.
Wayne Davison [Mon, 9 Aug 2004 20:51:44 +0000 (20:51 +0000)]
Added a rule for building getfsdev and for requiring it to run "test".
Wayne Davison [Mon, 9 Aug 2004 20:48:38 +0000 (20:48 +0000)]
Made robust_rename() return a 1 if it had to copy the file.
Wayne Davison [Mon, 9 Aug 2004 20:46:54 +0000 (20:46 +0000)]
Output a device string for each file given on the command-line.
Wayne Davison [Sat, 7 Aug 2004 20:56:41 +0000 (20:56 +0000)]
Fixed a bug in clean_fname() that could sometimes leave a "dir/.."
sequence uncollapsed.
Wayne Davison [Fri, 6 Aug 2004 22:36:55 +0000 (22:36 +0000)]
Made clean_fname() return the length of the string.