mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgtar: New option --with-log
* tools/gpgtar.c: New option --with-log. * tools/gpgtar.h (opt): Add field with_log. * tools/gpgtar-extract.c (gpgtar_extract): Move directory string building up. Add option --log-file if needed. * tools/gpgtar-create.c (gpgtar_create): Make tmpbuf static becuase it is used outside of its scope. * tools/gpgtar-list.c (gpgtar_list): Ditto.
This commit is contained in:
parent
92c8ae720e
commit
ed53d41b4c
6 changed files with 56 additions and 38 deletions
|
@ -477,7 +477,7 @@ gpgtar_list (const char *filename, int decrypt)
|
|||
ccparray_put (&ccp, "--require-compliance");
|
||||
if (opt.status_fd != -1)
|
||||
{
|
||||
char tmpbuf[40];
|
||||
static char tmpbuf[40];
|
||||
|
||||
snprintf (tmpbuf, sizeof tmpbuf, "--status-fd=%d", opt.status_fd);
|
||||
ccparray_put (&ccp, tmpbuf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue