Wayne Davison
2fedf3d596
- Use the renamed stdout_format_has_i variable.
...
- Call log_item() with its new arg (and call it more often).
2006-05-29 22:57:01 +00:00
Wayne Davison
887d745549
Turn off the --log-file option on the server side for a local transfer.
2006-05-29 22:56:58 +00:00
Wayne Davison
20f90d5e8a
Use the renamed stdout_format_has_i variable.
2006-05-29 22:56:55 +00:00
Wayne Davison
17bda2d109
- Use the renamed stdout_format_has_i variable.
...
- Call log_item() with its new arg.
2006-05-29 22:56:51 +00:00
Wayne Davison
b534351058
- Use the renamed stdout_format_has_i, stdout_format_has_o_or_i, and
...
stdout_format variables.
- In rwrite(), make FNAME output only go to the client.
- Added an arg to log_item() that indicates what kind of output is
desired: FNAME (stdout only), FLOG (log file only), or FINFO (both).
2006-05-29 22:56:48 +00:00
Wayne Davison
b3e4e7ef2e
- Renamed log_format -> stdout_format.
...
- Renamed log_format_has_i -> stdout_format_has_i.
- Renamed log_format_has_o_or_i -> stdout_format_has_o_or_i.
- Changed the --log-format to --out-format (though we still accept
the old option, and still send it as well).
- Added the --log-file-format option (and got rid of the code that
made --out-format sometimes affect the log-file's format).
2006-05-29 22:56:45 +00:00
Wayne Davison
a3f6dbdf5c
The print_child_argv() function should be outputting FCLIENT
...
messages these days, not FINFO.
2006-05-29 22:33:06 +00:00
Wayne Davison
95ae5224b0
The cleanup_set() call was not getting called w/o --partial.
2006-05-18 18:53:24 +00:00
Wayne Davison
03dbc0b831
- Improved the setting of cleanup_new_fname and cleanup_fname.
...
- Don't try to keep a partial file if cleanup_new_fname is not set.
2006-05-18 18:52:40 +00:00
Wayne Davison
ffa8ab8eb5
Improved two lseek() error messages.
2006-05-18 17:04:40 +00:00
Wayne Davison
a17e119d8b
Mention the latest fixes.
2006-05-17 06:54:11 +00:00
Wayne Davison
6bfc7b4d79
Tweaked a couple things in try_dests_reg().
2006-05-16 22:27:26 +00:00
Wayne Davison
b3e8e7c79e
Make --quiet quieter (like it used to be), but also don't allow it
...
to interfere with any logging of messages that is going on.
2006-05-14 00:27:33 +00:00
Wayne Davison
bdd3a4fef5
Updated the (commented out) valgrind command.
2006-05-11 23:41:18 +00:00
Wayne Davison
a00f5a371e
Got rid of the .ignore kluge.
2006-05-11 23:38:10 +00:00
Wayne Davison
55c412630c
Added ".bzr/" to the default CVS exclusions.
2006-05-11 07:54:33 +00:00
Wayne Davison
778ee637ee
This file hasn't been needed for a while now...
2006-05-10 18:34:32 +00:00
Wayne Davison
80aff93b32
Added the updating of a symlink to the very latest nightly tar file.
2006-05-10 16:37:07 +00:00
Wayne Davison
6721973e37
Mention the --log-file option.
2006-05-09 18:44:58 +00:00
Wayne Davison
a2ed5801d3
Document the new --log-file option.
2006-05-09 18:31:24 +00:00
Wayne Davison
15ce4b24fc
Output the progress message as FCLIENT instead of FINFO.
2006-05-09 18:31:19 +00:00
Wayne Davison
c5260884d6
Got rid of the call to log_exit() now that the cleanup code handles this.
2006-05-09 18:31:16 +00:00
Wayne Davison
ea124cb324
- Turned some FINFO rprintf() calls into FCLIENT calls that don't go
...
into a client-side log-file.
- Added a couple FLOG rprintf() calls.
2006-05-09 18:31:13 +00:00
Wayne Davison
13b597fa71
- Use the new logfile_* variables that are set by the --log-file
...
option instead of the old daemon_log_* variables.
- Renamed the "logfile" variable "logfile_fp".
- Enhanced the logic in rwrite() to handle client-side FLOG output.
2006-05-09 18:31:10 +00:00
Wayne Davison
ecc7623e7f
Some demon_log_* variables changed into logfile_* variables that are
...
also used by the new --log-file option.
2006-05-09 18:31:06 +00:00
Wayne Davison
87c0f9d6b4
Added --log-file and several logfile_* support variables.
2006-05-09 18:31:03 +00:00
Wayne Davison
1cfcb8af11
Revised the logic for when to call log_exit() to handle the
...
new --log-file option.
2006-05-09 18:31:00 +00:00
Wayne Davison
56aaa4c44c
Tweaked the comment about log-message categories.
2006-05-09 18:30:57 +00:00
Wayne Davison
4b6a7bd706
Got rid of an unused variable.
2006-05-09 18:00:15 +00:00
Wayne Davison
5bc933a285
Mention the latest bugfix and improved an old description.
2006-05-09 17:46:04 +00:00
Wayne Davison
01d124d9e2
If the --partial-dir value is an absolute path and we use a file in
...
it as an alternate basis file, make sure that we delete it when the
associated destination file is successfully updated.
2006-05-09 17:38:47 +00:00
Wayne Davison
58a06312a4
Improved the doc for --existing and --ignore-existing.
2006-05-05 20:41:17 +00:00
Wayne Davison
c2c8db9195
- Moved the sanitizing of the partial_dir value here from options.c.
...
- Call die_on_unsafe_path() in a few needed places.
- Handle the server-excluded checks for an absolute partial_dir and
the --*-dest options.
2006-05-05 16:00:33 +00:00
Wayne Davison
d1e6b0e225
- Added some calls to die_on_unsafe_path() to the path-sanitizing code.
...
- Moved the sanitizing of the partial_dir value into main.c.
2006-05-05 15:58:44 +00:00
Wayne Davison
8936367695
- Added a call to die_on_unsafe_path() to handle_partial_dir().
...
- Fixed some strange slash handling in partial_dir_fname().
2006-05-05 15:54:20 +00:00
Wayne Davison
8517e9c10a
A few minor changes to match the recent --help changes in
...
options.c.
2006-05-05 06:24:25 +00:00
Wayne Davison
fcecb70b1d
- Don't check HAVE_LINK directly, use SUPPORT_HARD_LINKS instead.
...
- Updated a few items in the --help text.
2006-05-05 06:16:22 +00:00
Wayne Davison
582c1589f3
Call the new die_on_unsafe_path() function in a few places.
2006-05-05 05:57:48 +00:00
Wayne Davison
cb15269eb0
Call the new die_on_unsafe_path() function in a couple spots.
2006-05-05 05:56:37 +00:00
Wayne Davison
f47807900b
Added a new function named die_on_unsafe_path(). This is used
...
by a non-chroot daemon to ensure that a user-supplied path does
not contain an unsafe symlink element.
2006-05-05 05:55:40 +00:00
Wayne Davison
40410a38bc
- Don't check HAVE_LINK directly, use SUPPORT_HARD_LINKS instead.
...
- Tweaked Paul's recent change just a tad.
- Fixed the output of --compare-dest when SUPPORT_HARD_LINKS is
not defined.
2006-05-05 05:53:36 +00:00
Wayne Davison
6b54a688cf
Cast file->mode to an int when printing it via %o.
2006-05-05 05:40:17 +00:00
Paul Green
b59dc8d5ae
Fix generator.c to avoid calling do_link() on systems that do not support
...
the link() function. The changes test OK on SuSE Linux and on my own
Stratus VOS system, but I would be grateful if other folks could
double-check this change. Paul G.
2006-05-04 19:00:37 +00:00
Wayne Davison
45ba206a94
A few more improvements.
2006-05-04 02:42:55 +00:00
Wayne Davison
2220ec0a69
A few minor twiddles.
2006-05-04 02:38:58 +00:00
Wayne Davison
5fdbb87df8
Added/clarified the latest bug-fix info.
2006-05-04 02:29:58 +00:00
Wayne Davison
f1c9bcd0fc
Cast the enum in rwrite() when calling send_msg().
2006-05-03 16:58:36 +00:00
Wayne Davison
3723548ded
Use send_msg() when forwarding a log message, not io_multiplex_write().
...
This allows send_msg() to decide if the message should be sent right
away, or should be deferred.
2006-05-03 16:17:49 +00:00
Wayne Davison
12ccc73ae7
Changed read_msg_fd() to always use send_msg()/rwrite() instead of
...
sometimes calling io_multiplex_write()/rwrite() or msg_list_add().
This simplifies the code that does the defer_forwarding_messages
checking because it can now be done in just one place, in send_msg()
(because rwrite() also calls send_msg() now when forwarding a msg).
2006-05-03 16:17:46 +00:00
Wayne Davison
ee8d9636d1
A small optimization to the new code in msg2sndr_flush().
2006-05-03 06:32:59 +00:00