Wayne Davison
9c513d678d
Tweaked some comments.
2004-06-18 16:55:12 +00:00
Wayne Davison
d16c245fc4
Some helpful comments from Chris Shoemaker.
2004-06-18 16:50:20 +00:00
Wayne Davison
ec8290c897
Fixed some typos in a comment, moved an extern, and made a few
...
minor format tweaks.
2004-06-18 16:30:24 +00:00
Wayne Davison
b293a7f62c
Improved a comment.
2004-06-18 16:29:21 +00:00
Wayne Davison
d67c8bdfc3
Moved the externs to the top and made a few trivial format tweaks.
2004-06-18 16:22:14 +00:00
Wayne Davison
e2ccd3578c
Got rid of some trailing whitespace.
2004-06-18 16:00:33 +00:00
Wayne Davison
4e834af140
If --partial was specified, make sure that make_backup is turned
...
off during the second (retry) phase of the transfer to avoid
making a second backup of a file (which would lose the original).
2004-06-14 15:09:36 +00:00
Wayne Davison
7e5614383d
Added a short msleep() after option_error() before we exit. This
...
ensures that the remote client has time to read our error message
while it is trying to write data to us before it gets a socket
error.
2004-06-13 14:18:48 +00:00
Wayne Davison
eb84a83b47
Changed the new code in delete_one() so that some compilers
...
don't complain about returning a value from a void function.
2004-06-12 21:30:07 +00:00
Wayne Davison
2c2898a388
Mention the bugfix in option-parsing error-reporting from a daemon.
2004-06-12 18:27:04 +00:00
Wayne Davison
1732b6c037
- Changed some FERROR log calls to FLOG.
...
- Improved the option-error-reporting to actually get the error back
to the user (by getting I/O multiplexing started).
2004-06-12 18:22:39 +00:00
Wayne Davison
314f459161
- Made readlink_stat() and link_stat() optionally follow a symlink
...
to a dir. This fixes deletions inside "kept" symlinked dirs.
- Call link_stat() with its new arg (for --keep-dirlinks support).
2004-06-11 07:40:57 +00:00
Wayne Davison
83926d3cae
Make sure that keep_dirlinks is turned off for the sender.
2004-06-11 07:40:54 +00:00
Wayne Davison
6218c7bf42
- Moved --keep-dirlinks code over to flist.c.
...
- Call link_stat() with its new arg (for --keep-dirlinks support).
2004-06-11 07:40:51 +00:00
Wayne Davison
566fce3237
Made delete_one() handle a failed rmdir on a symlink when
...
--keep-dirlinks was specified.
2004-06-11 07:40:48 +00:00
Wayne Davison
373ef16010
Call link_stat() with its new arg (for --keep-dirlinks support).
2004-06-11 07:40:45 +00:00
Wayne Davison
ea76e76104
In set_filesystem(), call do_stat(), not link_stat() to ensure
...
that we get the directory behind it all.
2004-06-11 05:02:59 +00:00
Wayne Davison
9fd62d1588
The mkdir code should be using do_stat(), not do_lstat() to copy
...
each existing dir's mode & owner info.
2004-06-10 16:43:52 +00:00
Wayne Davison
b7061c82b4
Allow the argv list the daemon uses for globbing its args to grow.
2004-06-09 21:51:07 +00:00
Wayne Davison
6fb812f747
Removed some excessive parens.
2004-06-09 21:43:28 +00:00
Wayne Davison
40e8d11e64
Mentioned a couple more bugfixes.
2004-06-09 21:42:33 +00:00
Wayne Davison
73042aae5b
Restore UNUSED() macro (the prior problems that prompted me to remove
...
it appear to have been a build-farm bug).
2004-06-09 21:41:21 +00:00
Wayne Davison
e5ce3bcf2c
Needed to enclose the new symlink-warning code in an
...
"#if SUPPORT_LINKS" conditional.
2004-06-09 19:23:56 +00:00
Wayne Davison
c399d22a19
Renamed read_unbuffered() to readfd_unbuffered() so that it matches
...
writefd_unbuffered().
2004-06-09 03:07:50 +00:00
Wayne Davison
1ea087a794
- Made the maximum-fd computation prior to a select() use the same idiom
...
in both the read and write code (also use a better variable name).
- Made the bytes-available code at the end of the select() loop use the
same flow of control in the read and the write code.
2004-06-08 22:18:04 +00:00
Wayne Davison
00bdf89977
Improved a comment in read_msg_fd() and made the byte-reading code
...
in read_timeout() a little better.
2004-06-08 16:23:54 +00:00
Wayne Davison
0bb4d17634
Improved rwrite() in two ways:
...
- We no longer assume that the buffer is null terminated (daemon
mode would ignore the len when logging a message).
- Errors in daemon mode are now sent to both the log and the user.
2004-06-07 22:51:14 +00:00
Wayne Davison
f9c6b3e7d6
Increase the size of the message-receving buffer for error
...
messages sent from the receiver to the generator.
2004-06-07 22:47:01 +00:00
Wayne Davison
9e5a5ddb4c
Changed a few FINFO messages to FLOG.
2004-06-07 22:33:01 +00:00
Wayne Davison
8c0d6a8432
Got rid of some am_daemon games in option_error().
2004-06-07 22:05:22 +00:00
Wayne Davison
553f93758a
Updated some exclude information that has changed.
2004-06-07 21:40:11 +00:00
Wayne Davison
a4a7e64c19
Don't report a "file vanished" error if a symlink points to nowhere
...
and -L was specified.
2004-06-07 19:59:20 +00:00
Wayne Davison
22832c30a0
Updated a couple things.
2004-06-06 20:41:01 +00:00
Wayne Davison
1a21666286
Tell folks to go to the bug-tracking page to report bugs.
2004-06-06 20:36:56 +00:00
Wayne Davison
4033b80b51
- Got rid of some useless calls to msg_list_push().
...
- Added a couple checks to ensure that the receiver doesn't mix two
clashing kinds of writes on the msg_fd_out pipe.
- Made sure that the read code in the receiver flushes the msg_fd_out
pipe, if needed.
2004-06-06 19:15:58 +00:00
Wayne Davison
99218d821b
If the user specifies a small io_timeout value, lower select_timeout.
2004-06-06 19:02:40 +00:00
Wayne Davison
e626b29e10
Make sure our select calls don't sleep for over one minute at a time,
...
even when io_timeout is a longer value (though the code in options.c
might set it to a shorter value if io_timeout is small).
2004-06-06 19:02:09 +00:00
Wayne Davison
f89b936801
Don't use single-line "if (condition) statement;" idiom.
2004-06-06 18:36:22 +00:00
Wayne Davison
17f59e818d
Mention changes to the patches dir.
2004-06-05 21:23:59 +00:00
Wayne Davison
b5bd5542eb
Neatened up some of the glob-expand code and made a few other
...
minor tweaks.
2004-06-05 20:26:56 +00:00
Wayne Davison
2e94e70e2b
Some superficial code tweaks.
2004-06-05 19:59:03 +00:00
Wayne Davison
4e1f385711
Mentioned new --keep-dirlinks option.
2004-06-05 16:19:02 +00:00
Wayne Davison
716e73d483
New --keep-dirlinks option.
2004-06-05 16:16:30 +00:00
Wayne Davison
5b36173d11
Mention new SSH_* vars.
2004-06-03 17:20:33 +00:00
Wayne Davison
b2ef4f6134
The daemon-over-ssh code now looks for $SSH_CONNECTION and $SSH2_CLIENT
...
as well as $SSH_CLIENT to figure out the remote IP address.
2004-06-03 17:20:21 +00:00
Wayne Davison
c7be6dec11
- Added older news from NEWS file.
...
- Added missing releases from the Partial Protocol History section.
2004-06-01 21:27:52 +00:00
Wayne Davison
bd1574b208
Moved older news to OLDNEWS.
2004-06-01 21:27:12 +00:00
Wayne Davison
f376e67420
Got rid of an unneeded character pointer in send_file_entry().
2004-05-29 21:21:17 +00:00
Wayne Davison
ef0bc0abff
Mention the --bwlimit change.
2004-05-28 19:42:06 +00:00
Wayne Davison
71e586304b
Improvements to make --bwlimit work better.
2004-05-27 22:09:31 +00:00