mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgtar: Emit progress status lines in create mode.
* tools/gpgtar.h (opt): Add field status_stream.
* tools/gpgtar.c (main): Set status_stream.
* tools/gpgtar-create.c (global_header_count): Rename to
global_total_files.
(global_written_files): New.
(global_total_data, global_written_data): New.
(struct scanctrl_s): Add field file_count.
(write_progress): New.
(write_file): Add arg skipped_open. Don't bail out immediatly on open
error. Write progress lines.
(gpgtar_create): Write progress lines. Print info aout skipped files.
--
GnuPG-bug-id: 6363
(cherry picked from commit f84264e8ac
)
This commit is contained in:
parent
706d557a64
commit
ed9a420a22
4 changed files with 142 additions and 13 deletions
|
@ -45,6 +45,7 @@ struct
|
|||
int answer_yes;
|
||||
int answer_no;
|
||||
int status_fd;
|
||||
estream_t status_stream;
|
||||
int require_compliance;
|
||||
int with_log;
|
||||
} opt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue