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.
Wayne Davison [Thu, 22 Apr 2004 09:58:15 +0000 (09:58 +0000)]
Initialize the new debug_type string in each exclude list and output
it in a couple extra debug messages. When we free an exclude list,
make sure we don't clear the debug_type string.
Wayne Davison [Sat, 17 Apr 2004 17:14:12 +0000 (17:14 +0000)]
Changed the dev handling for -H back to using an opaque 64-bit
integer instead of trying to transfer it as separate major & minor
values. Since the value is not interpreted by the receiving side
(just compared for equality), this is a safer way to go.
Wayne Davison [Wed, 14 Apr 2004 23:33:40 +0000 (23:33 +0000)]
Our exclude lists are now comprised of a base structure with a head
and a tail pointer pointing to a linked list of items (rather than
an array of pointers that has to be reallocated all the time).
Wayne Davison [Wed, 14 Apr 2004 23:33:37 +0000 (23:33 +0000)]
Added a "next" pointer to "exclude_struct" and added a new structure
for exclude lists, exclude_list_struct, that holds the head/tail
pointers for the list.