Wayne Davison [Fri, 19 Dec 2003 22:19:54 +0000 (22:19 +0000)]
Quiet a compiler warning.
Wayne Davison [Fri, 19 Dec 2003 20:21:17 +0000 (20:21 +0000)]
Mention the change we made to help ssh cleanup the tty on Ctrl-C.
Wayne Davison [Fri, 19 Dec 2003 06:52:02 +0000 (06:52 +0000)]
Do a small msleep() in the sig_int() handler before shutting down.
This kluge allows things like SIGINT to find our children before
we go throwing around SIGUSR1's at them.
Wayne Davison [Wed, 17 Dec 2003 09:29:35 +0000 (09:29 +0000)]
Got rid of the RSYNC_RSH_IO stuff for now.
Wayne Davison [Wed, 17 Dec 2003 09:28:45 +0000 (09:28 +0000)]
Backed out the RSYNC_RSH_IO support for now.
J.W. Schultz [Wed, 17 Dec 2003 00:52:01 +0000 (00:52 +0000)]
Removed hardlink reporting bug from TODO list -- seems to be
fixed.
J.W. Schultz [Wed, 17 Dec 2003 00:49:50 +0000 (00:49 +0000)]
Added keword base reporting to TODO features list.
J.W. Schultz [Wed, 17 Dec 2003 00:47:39 +0000 (00:47 +0000)]
Reorganized and cleaned up TODO list.
Wayne Davison [Tue, 16 Dec 2003 23:07:19 +0000 (23:07 +0000)]
- Changed the places that talked about rsh being the default shell.
- Document the new RSYNC_RSH_IO environment variable.
Wayne Davison [Tue, 16 Dec 2003 23:06:25 +0000 (23:06 +0000)]
We now support an environment variable named RSYNC_RSH_IO which lets the
user set the blocking-IO value for the shell specified by RSYNC_RSH.
Wayne Davison [Tue, 16 Dec 2003 23:04:59 +0000 (23:04 +0000)]
Added RSYNC_RSH_IO_ENV.
Wayne Davison [Tue, 16 Dec 2003 19:48:25 +0000 (19:48 +0000)]
Mention change to ssh.
Wayne Davison [Tue, 16 Dec 2003 18:02:15 +0000 (18:02 +0000)]
Tweaked an obsolete comment.
Wayne Davison [Tue, 16 Dec 2003 18:02:03 +0000 (18:02 +0000)]
Improved the default-blocking-I/O code to discern rsh from ssh
properly.
Wayne Davison [Tue, 16 Dec 2003 18:01:06 +0000 (18:01 +0000)]
Made the default remote-shell be "ssh" (override with --with-rsh=FOO).
Wayne Davison [Mon, 15 Dec 2003 20:10:21 +0000 (20:10 +0000)]
Moved the information on the single-use ssh key so that the --server
option wasn't being mentioned early in the rsync manpage (which has
confused at least one user trying to figure out the --daemon mode
command-line syntax).
Wayne Davison [Mon, 15 Dec 2003 19:49:38 +0000 (19:49 +0000)]
Document new error code 24.
Wayne Davison [Mon, 15 Dec 2003 19:04:04 +0000 (19:04 +0000)]
Updated version.
Wayne Davison [Mon, 15 Dec 2003 19:00:20 +0000 (19:00 +0000)]
Changed the version to 2.6.0pre1.
Wayne Davison [Mon, 15 Dec 2003 18:45:27 +0000 (18:45 +0000)]
Removed some obsolete items.
Wayne Davison [Mon, 15 Dec 2003 18:45:07 +0000 (18:45 +0000)]
Make sure we only use blocking-I/O if blocking_io is > 0.
Wayne Davison [Mon, 15 Dec 2003 18:25:10 +0000 (18:25 +0000)]
Changed version to 2.6.0.
Wayne Davison [Mon, 15 Dec 2003 18:22:12 +0000 (18:22 +0000)]
Changed version to 2.6.0 in preparation for new release.
Wayne Davison [Mon, 15 Dec 2003 18:20:06 +0000 (18:20 +0000)]
Got rid of setgroups() caveat for OSX -- we fixed that a while back.
Wayne Davison [Mon, 15 Dec 2003 08:44:55 +0000 (08:44 +0000)]
Mentioned the vanished-file warning enhancement.
Wayne Davison [Mon, 15 Dec 2003 08:14:27 +0000 (08:14 +0000)]
Twiddled some whitespace and multi-line comments.
Wayne Davison [Mon, 15 Dec 2003 08:10:31 +0000 (08:10 +0000)]
New "io_error" variable handling for RERR_VANISHED support.
Wayne Davison [Mon, 15 Dec 2003 08:08:44 +0000 (08:08 +0000)]
Return new RERR_VANISHED code, as appropriate.
Wayne Davison [Mon, 15 Dec 2003 08:07:38 +0000 (08:07 +0000)]
Added new IOERR_* defines.
Wayne Davison [Mon, 15 Dec 2003 08:06:52 +0000 (08:06 +0000)]
Handle new RERR_VANISHED error.
Wayne Davison [Mon, 15 Dec 2003 08:04:14 +0000 (08:04 +0000)]
Added RERR_VANISHED.
Wayne Davison [Mon, 15 Dec 2003 01:45:01 +0000 (01:45 +0000)]
Neatened up some whitespace issues and made multi-line comments more
consistent.
Wayne Davison [Mon, 15 Dec 2003 00:54:44 +0000 (00:54 +0000)]
Simplified the setting of the reading_remotely variable in function
read_filesfrom_line() now that remote_filesfrom_file is set more
often.
Wayne Davison [Mon, 15 Dec 2003 00:53:07 +0000 (00:53 +0000)]
If we're the server and --files-from is "-", set remote_filesfrom_file
to "-" as well (since the data is coming over the socket from the remote
side).
Wayne Davison [Fri, 12 Dec 2003 17:13:22 +0000 (17:13 +0000)]
Neatened up the indentation.
J.W. Schultz [Sat, 6 Dec 2003 21:35:34 +0000 (21:35 +0000)]
Sanity check s2length on recept.
Wayne Davison [Sat, 6 Dec 2003 21:07:27 +0000 (21:07 +0000)]
Merged in the security fixes from 2.5.7.
J.W. Schultz [Sat, 25 Oct 2003 20:02:45 +0000 (20:02 +0000)]
Added reminder to update yo manpage when adding to
exit codes.
Wayne Davison [Sat, 25 Oct 2003 17:53:57 +0000 (17:53 +0000)]
Added exit code 0.
Wayne Davison [Sat, 25 Oct 2003 16:21:41 +0000 (16:21 +0000)]
Updated exit codes as Jon Jensen and J.W. suggested.
Wayne Davison [Mon, 13 Oct 2003 23:46:08 +0000 (23:46 +0000)]
Fixed an operator-precedence problem in the batch-mode code.
Wayne Davison [Tue, 7 Oct 2003 20:33:08 +0000 (20:33 +0000)]
Tried to improve the documentation surrounding a trailing-slash
source-dir transfer.
Wayne Davison [Tue, 16 Sep 2003 05:33:09 +0000 (05:33 +0000)]
Tweaked the just-added error message to use my new full_fname()
function. Also removed some trailing whitespace from lines.
J.W. Schultz [Tue, 16 Sep 2003 02:49:59 +0000 (02:49 +0000)]
Detect and report when open or opendir succeed but read and
readdir fail caused by network filesystems issues and
truncated files.
Thanks to David Norwood and Michael Brown
Wayne Davison [Thu, 11 Sep 2003 05:00:52 +0000 (05:00 +0000)]
Mention my recent changes.
Wayne Davison [Thu, 11 Sep 2003 04:53:05 +0000 (04:53 +0000)]
Improved file-related error messages by using the new
full_fname() function.
Wayne Davison [Thu, 11 Sep 2003 04:53:01 +0000 (04:53 +0000)]
Tweaked an error message.
Wayne Davison [Thu, 11 Sep 2003 04:48:15 +0000 (04:48 +0000)]
Added a new function, full_fname(), that makes a filename more complete
for error messages. If the path is in a module, we ensure that the
"path" setting (from the config file) is not revealed, while still
reminding the user that the path is relative to the module's root.
Wayne Davison [Thu, 11 Sep 2003 04:48:13 +0000 (04:48 +0000)]
Include a few new stubs to handle the new full_fname() function.
Wayne Davison [Thu, 11 Sep 2003 04:48:09 +0000 (04:48 +0000)]
Got rid of some "/* dw */" comments and fixed some line's indentation.
Wayne Davison [Thu, 11 Sep 2003 04:48:07 +0000 (04:48 +0000)]
Got rid of some "/* dw */" comments.
Wayne Davison [Thu, 11 Sep 2003 04:00:19 +0000 (04:00 +0000)]
If lp_path() returns "/", set exclude_path_prefix to "" (because the
exclude code doesn't want any trailing slashes).
Wayne Davison [Thu, 11 Sep 2003 03:49:53 +0000 (03:49 +0000)]
Make sure that the new slash-stripping P_PATH code doesn't turn
a "/" into an empty string.
Wayne Davison [Wed, 10 Sep 2003 08:27:34 +0000 (08:27 +0000)]
Changed main() definition to avoid an extra prototype being put
into the proto.h file.
Wayne Davison [Wed, 10 Sep 2003 08:08:14 +0000 (08:08 +0000)]
Make sure that the "path" value has any trailing slashes removed.
Wayne Davison [Wed, 10 Sep 2003 07:31:58 +0000 (07:31 +0000)]
Got rid of trailing whitespace.
Wayne Davison [Tue, 9 Sep 2003 15:58:56 +0000 (15:58 +0000)]
Added the new --protocol option.
Wayne Davison [Tue, 9 Sep 2003 15:58:53 +0000 (15:58 +0000)]
Changed most instances of "remote_version" to "protocol_version", and
others to "remote_protocol". Downgrade the protocol_version if the
remote_protocol" is lower. Output the protocol values if the verbose
level is large enough. Exit if the user tried to force a protocol
value that is not within the range that we can handle. Fixed the
output of the "very old version of rsync" message to output the right
Client/Server string.
Wayne Davison [Tue, 9 Sep 2003 15:58:50 +0000 (15:58 +0000)]
Changed most instances of "remote_version" to "protocol_version", and
others to "remote_protocol". Downgrade the protocol_version if the
remote_protocol is lower.
Wayne Davison [Tue, 9 Sep 2003 15:58:48 +0000 (15:58 +0000)]
Changed "remote_version" to "protocol_version".
J.W. Schultz [Thu, 4 Sep 2003 05:54:20 +0000 (05:54 +0000)]
*** empty log message ***
J.W. Schultz [Thu, 4 Sep 2003 05:49:50 +0000 (05:49 +0000)]
Allow non-dir special files to be replaced with regular
files and fix error that caused directories in link-dest or
compare-dest to prevent the creation of files of same path.
Wayne Davison [Fri, 22 Aug 2003 21:26:08 +0000 (21:26 +0000)]
Cast various s->blength references inside of MIN() macros to OFF_T
so that compilers don't warn about signed/unsigned comparisons.
Wayne Davison [Fri, 22 Aug 2003 05:51:42 +0000 (05:51 +0000)]
Whitespace tweaks.
Wayne Davison [Fri, 22 Aug 2003 05:42:13 +0000 (05:42 +0000)]
Fixed the multiplying of blength*blength so that it can't overflow
before it gets cast to a uint64.
Wayne Davison [Fri, 22 Aug 2003 05:04:13 +0000 (05:04 +0000)]
Made the UNUSED(parameter) macro calls read a little nicer.
Wayne Davison [Fri, 22 Aug 2003 00:31:46 +0000 (00:31 +0000)]
Mark unused vars.
Wayne Davison [Fri, 22 Aug 2003 00:30:46 +0000 (00:30 +0000)]
Make extra backup dirs mode 0700, not 0755.
Wayne Davison [Thu, 21 Aug 2003 23:54:20 +0000 (23:54 +0000)]
Got rid of a duplicate include for malloc.h and improved the "do we
need malloc.h" logic a bit more. (Trying to prevent #warning and
#error problems on *BSD systems.)
Wayne Davison [Thu, 21 Aug 2003 23:46:10 +0000 (23:46 +0000)]
Got rid of signed/unsigned-comparison warning if st_rdev is signed.
Wayne Davison [Thu, 21 Aug 2003 23:45:49 +0000 (23:45 +0000)]
Got rid of signed/unsigned-comparison warning if st_dev is signed.
Wayne Davison [Thu, 21 Aug 2003 23:32:35 +0000 (23:32 +0000)]
Let's try only including malloc.h if stdlib.h isn't around (and it
exists).
Wayne Davison [Thu, 21 Aug 2003 23:28:24 +0000 (23:28 +0000)]
Silenced a couple compiler warnings.
Wayne Davison [Wed, 20 Aug 2003 23:36:45 +0000 (23:36 +0000)]
Mention some more bug fixes.
Wayne Davison [Wed, 20 Aug 2003 23:25:52 +0000 (23:25 +0000)]
Call setgroups(1, &gid) after setting the gid (rather than calling
setgroups(0, NULL) before).
Wayne Davison [Wed, 20 Aug 2003 10:37:53 +0000 (10:37 +0000)]
Use the AVAIL_OUT_SIZE() macro in a few more places to ensure
that the avail_out buffer is big enough to uncompress all the
compressed data.
Wayne Davison [Mon, 18 Aug 2003 23:52:43 +0000 (23:52 +0000)]
Fixed a couple option-name typos (that had '_' instead of '-').
Wayne Davison [Sun, 17 Aug 2003 21:29:11 +0000 (21:29 +0000)]
- Made special exclusion-handling of '.' work in -R mode (so that we
can't accidentally lose the '.' dir and not transfer anything at all).
- Add a trailing '.' onto all '/'-trailing names, even '/' (fixes
skipped deletions in -R mode from '/').
- Fixed loss of FLAG_DELETE on user-specified dir when unduplicating '.'
(could happen on "./." or similar).
J.W. Schultz [Fri, 15 Aug 2003 00:57:27 +0000 (00:57 +0000)]
Whitespace and indentation cleanup. There is a lot of deep
indentation mostly due to read_batch but at least it is now
consistant.
J.W. Schultz [Wed, 6 Aug 2003 06:45:14 +0000 (06:45 +0000)]
Make --progress imply --verbose without incrementing verbosity.
Wayne Davison [Tue, 5 Aug 2003 17:56:54 +0000 (17:56 +0000)]
Got rid of unused OPT_* enums.
Wayne Davison [Mon, 4 Aug 2003 21:03:07 +0000 (21:03 +0000)]
Improved the mkstemp error message.
Wayne Davison [Mon, 4 Aug 2003 21:00:57 +0000 (21:00 +0000)]
Make sure that the error message for mkstemp() includes the full
path of where we're trying to create the temp file.
Wayne Davison [Mon, 4 Aug 2003 18:27:27 +0000 (18:27 +0000)]
Instead of ignoring SIG_CHLD, reap zombies in the signal handler.
Wayne Davison [Fri, 1 Aug 2003 20:19:51 +0000 (20:19 +0000)]
Change the way we pass the --suffix option to the remote process so
that a string that starts with ~ doesn't get modified.
Wayne Davison [Fri, 1 Aug 2003 19:40:31 +0000 (19:40 +0000)]
Complain if the --suffix value contains slashes (which is all too easy
to accidentally have happen if you try to specify "~" with --backup-dir).
Wayne Davison [Fri, 1 Aug 2003 08:20:53 +0000 (08:20 +0000)]
We should bump the deletion_count for backed-up deleted files too.
Wayne Davison [Fri, 1 Aug 2003 08:01:15 +0000 (08:01 +0000)]
Mention the --backup fix.
Wayne Davison [Fri, 1 Aug 2003 07:58:47 +0000 (07:58 +0000)]
Properly handle the backup_suffix/backup_dir settings when deleting
files. Also optimized the code that calls delete_one(). Don't
neglect to mention a file being deleted with --backup set.
Wayne Davison [Fri, 1 Aug 2003 07:58:44 +0000 (07:58 +0000)]
Got rid of suffix_specified and instead set backup_suffix to the
correct default value for the current backup_dir mode. Added two
new values: backup_suffix_len and backup_dir_len. Improved some
error-message code to not output duplicate errors.
Wayne Davison [Fri, 1 Aug 2003 07:58:41 +0000 (07:58 +0000)]
Use the new backup_suffix_len and backup_dir_len variables. Got rid
of the suffix_specified kludge.
Wayne Davison [Fri, 1 Aug 2003 00:50:23 +0000 (00:50 +0000)]
Clarify some --backup/--backup-dir/--suffix issues.
J.W. Schultz [Thu, 31 Jul 2003 09:32:15 +0000 (09:32 +0000)]
Whitespace and indentation fixes.
Wayne Davison [Wed, 30 Jul 2003 06:13:47 +0000 (06:13 +0000)]
No longer needed (replaced by wildmatch).
Wayne Davison [Wed, 30 Jul 2003 06:12:41 +0000 (06:12 +0000)]
Updated the exclude/include section to mention the "**" vs "*" change.
Wayne Davison [Wed, 30 Jul 2003 06:12:33 +0000 (06:12 +0000)]
Changed the "**" description to reflect its no-longer-buggy behavior.
Wayne Davison [Wed, 30 Jul 2003 06:12:31 +0000 (06:12 +0000)]
Include "lib/wildmatch.h", not "lib/fnmatch.h" or <fnmatch.h>.
Wayne Davison [Wed, 30 Jul 2003 06:12:29 +0000 (06:12 +0000)]
Got rid of test for fnmatch.
Wayne Davison [Wed, 30 Jul 2003 06:12:27 +0000 (06:12 +0000)]
Call wildmatch(), not fnmatch().
Wayne Davison [Wed, 30 Jul 2003 06:12:25 +0000 (06:12 +0000)]
Changed lib/fnmatch.o to lib/wildmatch.o.