]> Dogcows Code - chaz/tar/commit
Implement statistics display in checkpoint actions.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 21 Jan 2014 11:05:16 +0000 (13:05 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 21 Jan 2014 15:57:46 +0000 (17:57 +0200)
commitf0a1f78196f75678424712ac36f0a4a46e3e5658
tree8f4139a4c4a6f0a6615bb8d593ec9cecd58563bc
parent7f21a4d3f55cf36cd6a5cb13bc51e88a68c2e097
Implement statistics display in checkpoint actions.

* NEWS: Update.
* configure.ac: Version 1.27.90
* gnulib.modules: Add fprintftime.
* doc/tar.texi: Document the "totals" action and new format specifiers
for echo and ttyout checkpoint actions.
* src/buffer.c (compute_duration): Return computed value.
(print_stats): Don't print trailing newline.  Return number of
characters output.
(format_total_stats): New function.
(print_total_stats): Rewrite via format_total_stats.
* src/checkpoint.c (checkpoint_opcode) <cop_totals>: New opcode.
(checkpoint_compile_action): Handle cop_totals.
(expand_checkpoint_string): Remove.
(format_checkpoint_string): New function to be used instead of
expand_checkpoint_string.  All callers updated.
* src/common.h (TF_READ,TF_WRITE)
(TF_DELETED): New constants.
(format_total_stats,print_total_stats): New protos.
NEWS
configure.ac
doc/tar.texi
gnulib.modules
src/buffer.c
src/checkpoint.c
src/common.h
This page took 0.02309 seconds and 4 git commands to generate.