Wayne Davison
82b302d928
Got rid of some useless externs.
2004-05-13 18:41:17 +00:00
Wayne Davison
4ecc9e6b64
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.
2004-05-13 07:08:25 +00:00
Wayne Davison
55e50d890b
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).
2004-05-13 07:08:22 +00:00
Wayne Davison
6e86c951d7
Call finish_transfer() with its new arg. Also put the externs
...
at the top and got rid of some trailing whitespace.
2004-05-13 07:08:18 +00:00
Wayne Davison
c41b52c487
Use the new PERMS_REPORT flag when calling set_perms().
2004-05-13 06:55:01 +00:00
Wayne Davison
5c6fc4a6a3
Added PERMS_REPORT and PERMS_SKIP_TIME.
2004-05-13 06:53:23 +00:00
Wayne Davison
edecdad54d
If we got a read-error on a file, make sure that the whole-file
...
checksum we send to the receiver is wrong (so they won't save
the bogus file).
2004-05-13 06:46:20 +00:00
Wayne Davison
5291364f1d
Don't force the modtime on our backup dirs -- the dirs in the
...
backup hierarchy should have their own timestamps.
2004-05-13 06:34:03 +00:00
Wayne Davison
41cc97ae64
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).
2004-05-11 19:53:16 +00:00
Wayne Davison
bf2b7ddfc5
Use memset() to initialize a new map_struct.
2004-05-11 19:46:56 +00:00
Wayne Davison
eb0cbdaa90
Got rid of an unused extern.
2004-05-11 17:25:16 +00:00
Wayne Davison
0d0142e812
Got rid of unused externs.
2004-05-11 17:25:01 +00:00
Wayne Davison
a43e21e05c
Let's just remove all the UNUSED() macros for now.
2004-05-08 22:49:58 +00:00
Wayne Davison
4135d091a6
Changed the non-globbing version of glob_expand_one() so that it
...
checks the maxargs argument instead of leaving it unused.
2004-05-08 20:03:39 +00:00
Wayne Davison
534407b1f4
One more attempt to get HP-UX's cc to build popt successfully.
2004-05-08 19:50:22 +00:00
Wayne Davison
18cc8c7ef1
Improved a comment and got rid of some trailing whitespace.
2004-05-08 19:37:28 +00:00
Wayne Davison
58c9b4b7f6
Tweaked the sizeof syntax and some multi-statement lines.
2004-05-08 19:26:53 +00:00
Wayne Davison
cde719f49f
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).
2004-05-08 18:48:09 +00:00
Wayne Davison
38cab94d9a
- 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.
2004-05-08 18:18:42 +00:00
Wayne Davison
6ed6d7f5a8
Improved the function comments for read_line() and slightly tweaked
...
its code. Also changed "IO" to "I/O" in various comments.
2004-05-08 18:03:43 +00:00
Wayne Davison
e40a46de71
Document the -4, -6, --ipv4, --ipv6 options.
2004-05-07 00:18:37 +00:00
Wayne Davison
c5bf99a1c2
Correct a typo.
2004-05-06 21:29:36 +00:00
Wayne Davison
2c7d63c765
- 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).
2004-05-06 21:26:46 +00:00
Wayne Davison
3dd22903ac
Introduced long-option names for -4 and -6.
2004-05-06 21:08:01 +00:00
Wayne Davison
d8d36af452
If we need to set IPV6_V6ONLY but setsockopt() fails, close the
...
socket and skip it.
2004-05-05 22:17:48 +00:00
Wayne Davison
e610e50f9c
Added missing extern for read_batch.
2004-05-05 17:15:03 +00:00
Wayne Davison
935c64173f
Don't force the whole-file option when using read-batch.
2004-05-05 16:23:49 +00:00
Wayne Davison
377dbd2075
Calls to make_bak_dir() should only happen when we fail to create a
...
file/dir/etc. with errno == ENOENT.
2004-05-04 03:10:45 +00:00
Wayne Davison
93272700d2
A slight refinement to my last patch.
2004-05-03 01:24:10 +00:00
Wayne Davison
d508258ad8
Fixed crash bug that can affect --delete in certain circumstances.
2004-05-03 01:18:07 +00:00
Wayne Davison
f57b2e6150
Got rid of a TODO comment that was fixed long ago.
2004-05-02 17:04:14 +00:00
Wayne Davison
af45f9e27e
Renamed variable STRIP to INSTALL_STRIP to avoid an accidental match
...
with an environment variable in OpenBSD.
2004-05-02 16:52:52 +00:00
Wayne Davison
4c4d61b046
Got rid of trailing comma in an enum.
2004-05-02 16:34:33 +00:00
Wayne Davison
7561c3e132
Moved some news items under new headings.
2004-04-30 21:10:58 +00:00
Wayne Davison
1514ad2a80
Changed the order that ssh and rsh are mentioned.
2004-04-30 20:39:29 +00:00
Wayne Davison
d8195637d4
Additional testing confirmed the limited scope of the sources affected
...
by the -R sorting bug.
v2.6.2
2004-04-30 19:14:52 +00:00
Wayne Davison
c8d771a0fb
Preparing for release of 2.6.2
2004-04-30 18:03:33 +00:00
Wayne Davison
9130776c4e
Mention the last few tweaks that made it into 2.6.2.
2004-04-30 17:53:51 +00:00
Wayne Davison
9eac94a4dd
Improved the program that checks for broken large-file locking.
2004-04-30 17:38:22 +00:00
Wayne Davison
6e06d2f31a
Don't rely on the local shell's wildcard expansion to make the test
...
work right -- it might not be quite as compatible as we need.
2004-04-30 17:24:49 +00:00
Wayne Davison
6a6d21136a
Only refer to AI_NUMERICHOST if it is defined.
2004-04-30 16:10:45 +00:00
Wayne Davison
f28bd83346
Fixed a few typos.
2004-04-30 15:46:41 +00:00
Wayne Davison
96fb478eae
Mention the desire to improve how a daemon returns errors.
2004-04-29 21:12:46 +00:00
Wayne Davison
8752b3fcd8
Describe the changes for 2.6.2.
2004-04-29 21:09:33 +00:00
Wayne Davison
55ffed7e42
Preparing for release of 2.6.2pre1
v2.6.2pre1
2004-04-29 20:36:22 +00:00
Wayne Davison
e00df64bae
Got rid of unused check for sys/sysctl.h.
2004-04-29 19:40:17 +00:00
Wayne Davison
080ddf58ae
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).
2004-04-29 19:37:15 +00:00
Wayne Davison
4ce48a5bfd
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.
2004-04-29 19:34:31 +00:00
Wayne Davison
20bf7f847f
Undefined __attribute__ in some circumstances.
2004-04-28 17:35:08 +00:00
Wayne Davison
b66d00853b
Fixed the use of an uninitialized variable in map_uid() and map_gid().
2004-04-28 17:31:31 +00:00