diff options
| author | Werner Koch <[email protected]> | 2024-11-07 14:06:17 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2024-11-07 14:06:17 +0000 |
| commit | 74e81f830dc26aa09f6ed3254f965d50c7f31d02 (patch) | |
| tree | 690bacd47ca8cf1a0103c0b49da1fcbee9a2f4e6 /dirmngr/dirmngr.c | |
| parent | gpg-mail-type: Assume text/plain for missing content-type. (diff) | |
| download | gnupg-74e81f830dc26aa09f6ed3254f965d50c7f31d02.tar.gz gnupg-74e81f830dc26aa09f6ed3254f965d50c7f31d02.zip | |
gpgtar: Make sure to create upper directories for regular files.
* tools/gpgtar-extract.c (extract_directory): Factor parent directory
creation out to ..
(try_mkdir_p): new.
(extract_regular): Create directory on ENOENT.
* g10/pubkey-enc.c (get_it): Use log_info instead of log_error if the
public key was not found for preference checking.
--
If tarball was created with
tar cf tarball file1.txt foo/file2.txt
the tarball has no entry for foo/ and thus the extraction fails. This
patch fixes this.
GnuPG-bug-id: 7380
The second patch avoid a wrong exist status status line due to the use
of log_error. But the actual cause needs stuill needs tobe
investigated.
Diffstat (limited to 'dirmngr/dirmngr.c')
0 files changed, 0 insertions, 0 deletions
