Wayne Davison [Thu, 8 Jan 2004 08:59:52 +0000 (08:59 +0000)]
We now take a TESTFILE arg on the command-line.
Wayne Davison [Thu, 8 Jan 2004 04:56:27 +0000 (04:56 +0000)]
Improved the code in send_file_entry() and receive_file_entry() to
make it a little easier to read and a little more optimized. Also
made the flag size in our function calls match the size of the flags
in the flist_struct. These changes will make it easier for me to
optimize the sending of the hard-link data in a future commit.
Wayne Davison [Thu, 8 Jan 2004 04:53:16 +0000 (04:53 +0000)]
Made the flags in the file_struct a little smaller.
Wayne Davison [Thu, 8 Jan 2004 03:17:07 +0000 (03:17 +0000)]
- No need to check S_ISREG() on files already in the hlink_list.
- The realloc in init_hard_links() might fail if the list is empty
(which can happen if there are no regular files in the transfer).
I changed the code to free the list in that case.
Wayne Davison [Thu, 8 Jan 2004 00:47:17 +0000 (00:47 +0000)]
Old-protocols.
Wayne Davison [Thu, 8 Jan 2004 00:45:41 +0000 (00:45 +0000)]
Got rid of support for protocols 17 and 18.
J.W. Schultz [Wed, 7 Jan 2004 11:38:23 +0000 (11:38 +0000)]
Noted hardlink memory footprint reduction.
J.W. Schultz [Wed, 7 Jan 2004 09:11:56 +0000 (09:11 +0000)]
Cosmetic changes to file_compare() for readability and to
match hlink_compare()
J.W. Schultz [Wed, 7 Jan 2004 09:06:37 +0000 (09:06 +0000)]
Change hlink_list so we only have a list of pointers to
file_struct instead of a copy of the file_struct list.
Wayne Davison [Tue, 6 Jan 2004 05:35:55 +0000 (05:35 +0000)]
Batch-mode fix.
Wayne Davison [Tue, 6 Jan 2004 05:33:02 +0000 (05:33 +0000)]
Fixed a byte-order problem for batch-file processing on big-endian
systems (reported by Jay Fenlason).
Wayne Davison [Mon, 5 Jan 2004 03:57:15 +0000 (03:57 +0000)]
Some whitespace tweaks.
Wayne Davison [Mon, 5 Jan 2004 03:56:19 +0000 (03:56 +0000)]
A few formatting tweaks.
Wayne Davison [Sun, 4 Jan 2004 19:18:37 +0000 (19:18 +0000)]
Use new recv_generator() calling syntax.
Wayne Davison [Sun, 4 Jan 2004 18:43:18 +0000 (18:43 +0000)]
Changed recv_generator() to take a "struct file_struct *" instead of
a "struct file_list *", which allows us to call it with a copy of the
current file_struct entry that we've modified. This is better than
modifying the entry directly because the latter causes the shared
memory between the generator and the receiver to slowly vanish as
the in-memory changes happen.
Wayne Davison [Sun, 4 Jan 2004 07:07:08 +0000 (07:07 +0000)]
Try using "id -un" before "whoami" since the latter doesn't exist on
SunOS systems (and I hope the former works -- we'll see).
Wayne Davison [Sun, 4 Jan 2004 07:06:05 +0000 (07:06 +0000)]
Silence a compiler warning on Sun OS systems.
Wayne Davison [Sat, 3 Jan 2004 20:50:51 +0000 (20:50 +0000)]
Improved the text.
Wayne Davison [Sat, 3 Jan 2004 19:49:52 +0000 (19:49 +0000)]
Fixed autom4te*.cache entry.
Wayne Davison [Sat, 3 Jan 2004 19:28:17 +0000 (19:28 +0000)]
Mention more INTERNALS work.
Wayne Davison [Sat, 3 Jan 2004 19:28:03 +0000 (19:28 +0000)]
More variable-size cleanup.
Wayne Davison [Sat, 3 Jan 2004 18:37:41 +0000 (18:37 +0000)]
Made the types used in the sum_buf and sum_struct structures consistent
with the variables in the code that manipulates these values.
J.W. Schultz [Sat, 3 Jan 2004 13:17:32 +0000 (13:17 +0000)]
Create GID_NONE for use gid test readability.
Wayne Davison [Sat, 3 Jan 2004 09:48:52 +0000 (09:48 +0000)]
Fixed a name.
Wayne Davison [Sat, 3 Jan 2004 09:44:20 +0000 (09:44 +0000)]
Fixed a size check in the new code.
Wayne Davison [Sat, 3 Jan 2004 09:36:30 +0000 (09:36 +0000)]
Document the latest changes.
Wayne Davison [Sat, 3 Jan 2004 09:19:06 +0000 (09:19 +0000)]
Added support for "Basic" authentication to our proxy, based on a
patch by Bardur Arantsson.
Wayne Davison [Sat, 3 Jan 2004 08:53:36 +0000 (08:53 +0000)]
Made base64_encode() non-static.
Wayne Davison [Sat, 3 Jan 2004 01:12:10 +0000 (01:12 +0000)]
Silence a compiler warning.
Wayne Davison [Sat, 3 Jan 2004 00:40:55 +0000 (00:40 +0000)]
Added missing '[]'s to AC_CHECK_FUNCS() calls so that this works
with autoconf 2.58 and above.
Wayne Davison [Fri, 2 Jan 2004 23:41:32 +0000 (23:41 +0000)]
Some cosmetic tweaks.
Wayne Davison [Fri, 2 Jan 2004 18:42:33 +0000 (18:42 +0000)]
Improved flush_write_file().
Wayne Davison [Fri, 2 Jan 2004 18:05:51 +0000 (18:05 +0000)]
Applied a slightly-tweaked version of Oliver Braun's patch that
implements listening on multiple addresses and a fix for IPv6-only
systems.
Wayne Davison [Fri, 2 Jan 2004 17:47:44 +0000 (17:47 +0000)]
Call bind() with the right ai_addr/ai_addrlen info.
Wayne Davison [Fri, 2 Jan 2004 17:20:21 +0000 (17:20 +0000)]
Tidied up a few things in preparation for changes.
Wayne Davison [Fri, 2 Jan 2004 16:52:29 +0000 (16:52 +0000)]
Moved the is_in_group() function to uidlist.c.
Wayne Davison [Fri, 2 Jan 2004 16:51:54 +0000 (16:51 +0000)]
Set the file's gid to -1 if we don't have permissions to set it.
Wayne Davison [Fri, 2 Jan 2004 16:50:06 +0000 (16:50 +0000)]
Fixed --link-dest's check for identicalness to ignore the uid if
non-root, and to ignore a gid of -1.
Wayne Davison [Fri, 2 Jan 2004 08:50:25 +0000 (08:50 +0000)]
Silence some compiler warnings.
Wayne Davison [Fri, 2 Jan 2004 08:38:35 +0000 (08:38 +0000)]
Improved the setting of cleanup_got_literal so that we know if the
current file received some literal data yet or not.
Wayne Davison [Fri, 2 Jan 2004 08:36:58 +0000 (08:36 +0000)]
Use the new f_name_to() call instead of strlcat() an f_name().
Wayne Davison [Fri, 2 Jan 2004 08:33:57 +0000 (08:33 +0000)]
Some minor changes to some if statements.
Wayne Davison [Fri, 2 Jan 2004 08:31:12 +0000 (08:31 +0000)]
Use buffered I/O to read the exclude list.
Wayne Davison [Fri, 2 Jan 2004 08:29:49 +0000 (08:29 +0000)]
Applying my updated version of Craig Barratt's buffered I/O patch.
Wayne Davison [Fri, 2 Jan 2004 08:19:26 +0000 (08:19 +0000)]
Some name tweaks.
Wayne Davison [Fri, 2 Jan 2004 08:18:53 +0000 (08:18 +0000)]
Use the f_name_to() function to avoid having to strdup() the name that
f_name() returns. Also used in a call to recv_generator() to keep the
name safe for the duration of the call.
Wayne Davison [Fri, 2 Jan 2004 08:05:20 +0000 (08:05 +0000)]
Use f_name_to() when producing a name for the recv_generator() call.
This prevents things like the hard-link code from losing the name
before we're finished with it.
Wayne Davison [Fri, 2 Jan 2004 07:57:02 +0000 (07:57 +0000)]
Optimized f_name(), generating: (1) f_name_cmp(), which optimizes
comparing two file_struct elements without copying them first, and
(2) f_name_to() which lets us supply the destination buffer for a
f_name() call (to allow it to persist without an extra copy).
Wayne Davison [Fri, 2 Jan 2004 07:42:20 +0000 (07:42 +0000)]
Got rid of /* dw */ comments.
Wayne Davison [Fri, 2 Jan 2004 07:34:49 +0000 (07:34 +0000)]
Optimized hard_link_one() to not call f_name() so many times.
Wayne Davison [Fri, 2 Jan 2004 07:31:02 +0000 (07:31 +0000)]
No need to conditionally-compile EINTR code -- no other files do this.
Wayne Davison [Fri, 2 Jan 2004 07:11:32 +0000 (07:11 +0000)]
More twiddling of the wildcard verbage.
Wayne Davison [Thu, 1 Jan 2004 22:37:13 +0000 (22:37 +0000)]
Improved the itemized discussion under the wildcard changes.
Wayne Davison [Thu, 1 Jan 2004 21:10:50 +0000 (21:10 +0000)]
Allow function return values to start with "const".
Wayne Davison [Thu, 1 Jan 2004 19:00:11 +0000 (19:00 +0000)]
Tweaked the date.
Wayne Davison [Thu, 1 Jan 2004 11:36:16 +0000 (11:36 +0000)]
Preparing for release of 2.6.0
Wayne Davison [Tue, 30 Dec 2003 18:17:16 +0000 (18:17 +0000)]
One more tweak to --modify-window verbage.
Wayne Davison [Tue, 30 Dec 2003 18:16:25 +0000 (18:16 +0000)]
Shorten some of the lines in the --help output.
Wayne Davison [Tue, 30 Dec 2003 17:44:01 +0000 (17:44 +0000)]
Shortened a few lines, plus a couple minor tweaks.
Wayne Davison [Mon, 29 Dec 2003 09:58:06 +0000 (09:58 +0000)]
Changed the VERSION section to refer to 2.x instead of 2.0.
Wayne Davison [Sun, 28 Dec 2003 21:11:38 +0000 (21:11 +0000)]
Preparing for release of 2.6.0pre2
Wayne Davison [Sun, 28 Dec 2003 20:48:06 +0000 (20:48 +0000)]
Make the upper copyright year "2004".
Wayne Davison [Sat, 27 Dec 2003 00:14:21 +0000 (00:14 +0000)]
Aged news from NEWS to OLDNEWS.
Wayne Davison [Fri, 26 Dec 2003 23:04:01 +0000 (23:04 +0000)]
Undid previous change.
Wayne Davison [Fri, 26 Dec 2003 22:59:53 +0000 (22:59 +0000)]
A change that wasn't needed.
Wayne Davison [Wed, 24 Dec 2003 17:48:25 +0000 (17:48 +0000)]
Use %{version} to refer to the current version.
Wayne Davison [Wed, 24 Dec 2003 17:46:46 +0000 (17:46 +0000)]
Getting rid of klunky *.tmpl files.
Wayne Davison [Wed, 24 Dec 2003 01:46:38 +0000 (01:46 +0000)]
Mention the new-backup-dir mode change.
Wayne Davison [Wed, 24 Dec 2003 01:46:07 +0000 (01:46 +0000)]
Getting rid of an extra newline that accidentally crept into the code.
Wayne Davison [Wed, 24 Dec 2003 01:14:16 +0000 (01:14 +0000)]
Simplified an internal function's name to remove a potentially
cryptic suffix.
Wayne Davison [Sat, 20 Dec 2003 18:00:13 +0000 (18:00 +0000)]
Updated the copyright year.
Wayne Davison [Sat, 20 Dec 2003 17:57:47 +0000 (17:57 +0000)]
Output a warning about the new remote-shell default if the --with-rsh
option wasn't used.
Wayne Davison [Sat, 20 Dec 2003 16:57:24 +0000 (16:57 +0000)]
Output a newline before the heap statistics.
Wayne Davison [Sat, 20 Dec 2003 16:56:51 +0000 (16:56 +0000)]
- Mention the extra newlines in the verbose/stats output.
- Made some spelling corrections.
Wayne Davison [Sat, 20 Dec 2003 16:51:13 +0000 (16:51 +0000)]
Added a couple missing items from John Van Essen.
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.