Wayne Davison [Fri, 21 May 2004 08:27:04 +0000 (08:27 +0000)]
Changed sum_init() to take a seed value as an arg instead of always
using checksum_init. This fixes an authentication problem in server
mode (as pointed out by Craig Barratt).
Wayne Davison [Wed, 19 May 2004 22:20:56 +0000 (22:20 +0000)]
- Mention the change to the daemon-mode's exclude handling.
- Mention the new "write only" daemon-config option.
- Fixed another entry to refer to the right files.
Wayne Davison [Tue, 18 May 2004 00:41:55 +0000 (00:41 +0000)]
- Use fromdir, todir, and tmpdir instead of FROM, TO, and TMP.
- Added chkdir.
- Quote the dir expansions to avoid problems with spaces.
- Added "exclude = foobar.baz" the the rsync.conf file we create.
Wayne Davison [Sun, 16 May 2004 07:28:24 +0000 (07:28 +0000)]
- Save some memory in each exclude_struct item by dumping the "include"
and "directory" ints and using bits in the match_flags value instead.
- Added defines for the new match-flag values, including a new one that
lets get_exclude_tok() properly return an indication that it parsed
the list-clearing token.
Wayne Davison [Sat, 15 May 2004 19:31:16 +0000 (19:31 +0000)]
- Improved rsyserr() to prefix RSYNC_NAME (as the TODO requested),
to construct the string in a better manner, and to have a buffer
big enough to hold a full MAXPATHLEN filename plus some error
text.
- Fixed some comments referring to vsprintf() returning -1 -- our
configuration process now ensures that we replace such a function
with our own lib version.
Wayne Davison [Sat, 15 May 2004 19:31:13 +0000 (19:31 +0000)]
- Complain about an exclude that was too long and then dump it
(used to be silently truncated).
- Include extra space in our exclude-reading buffers so that we
can fit a 2-char prefix and a trailing slash and still handle
a MAXPATHLEN name.
Wayne Davison [Fri, 14 May 2004 21:23:41 +0000 (21:23 +0000)]
In the debug output, distinguish between a user-requested clearing
of the exclude list and the popping of the local exclude list that
occurs when we finish each subdir.
Wayne Davison [Thu, 13 May 2004 07:08:25 +0000 (07:08 +0000)]
The finish_transfer() call takes an arg that specifies if we should set the
modtime or not on the finished file. It calls set_perms(), which now takes a
flag arg that allows us to specify if we want to skip the modtime modification.
Wayne Davison [Thu, 13 May 2004 07:08:22 +0000 (07:08 +0000)]
If the file did not transfer correctly, only save it if --partial was
specified. We also skip the setting of the modtime too on a partial
copy (that way the partial file won't be confused with an up-to-date
copy of the original).
Wayne Davison [Tue, 11 May 2004 19:53:16 +0000 (19:53 +0000)]
In send_files(), changed the name of the map_struct variable from
"buf" to "mbuf" (so that it wouldn't be so similar to the "buff"
variable nor use a name that is more typically a char* buffer).
Wayne Davison [Sat, 8 May 2004 18:48:09 +0000 (18:48 +0000)]
Changed the order of the msgcode enum so that new items now get added
at the start (which avoids the need for trailing-comma changes on old
entries when new ones are added).
Wayne Davison [Sat, 8 May 2004 18:18:42 +0000 (18:18 +0000)]
- Improved the get_secret()'s function comments, made it accept a line
that doesn't end with a newline, and optimized it a bit.
- Improved getpassf() to work if the line does not end with a newline.
Wayne Davison [Thu, 6 May 2004 21:26:46 +0000 (21:26 +0000)]
- Updated the comments for open_socket_in().
- Changed open_socket_in() to return an array of ints with a trailing -1
value to indicate the end of the list.
- Use the out_of_memory() routine to complain about no memory.
- Undid the recent IPV6_V6ONLY change, as I think it would prevent the
use of IPv6 sockets on some older systems.
- If we get an EADDRINUSE error and this is not the first socket in the
list, suggest that the user try --ipv4 or --ipv6.
- When forking, the child now closes all the open bound sockets, not just
one of them (I'm not talking about the fd from accept(), obviously).
Wayne Davison [Thu, 29 Apr 2004 19:37:15 +0000 (19:37 +0000)]
Fixed a sorting problem when an entry has an empty (but not NULL)
dirname (which I had thought impossible, but it appears to occur
with --relative in some instances).
Wayne Davison [Thu, 29 Apr 2004 19:34:31 +0000 (19:34 +0000)]
Restore old behavior of logging most daemon errors instead of sending
them to the user. This should eventually be improved to duplicate
some of these messages to the user to keep them informed about what
went wrong.
Wayne Davison [Tue, 27 Apr 2004 03:53:28 +0000 (03:53 +0000)]
- Tweaked the bullet char so that vim can auto-format the items more
easily (and then used vim to re-flow the items).
- Added a mention about the daemon security fix.
- Added the 2.6.1 release date.