1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-06-12 18:11:03 +02:00

gpgtar: Fix regression exhibited by make check

* tools/gpgtar-extract.c (gpgtar_extract): Do final process_release.
* tools/gpgtar-list.c (gpgtar_list): Ditto.
--

Fixes-commit: 29bc14f56f6430294f225b6744012ab1f5df62e6

Running "make -C tests/openpgp check verbose=3" failed with

  Creating configuration files
  Executing: '/home/wk/b/gnupg/tools/gpgtar' '--extract' \
     '--directory=.' \
     '/tmp/gpgscm-20250530T121329-run-tests-vGAT4R/environment-cache'
  make: *** [Makefile:998: xcheck] Terminated

for unknown reasons.  Not calling the gpgrt_process_release fixes this
regression.  The real cause needs to be investigated.
This commit is contained in:
Werner Koch 2025-05-30 14:11:22 +02:00
parent e2732b8e19
commit ef5fa47ee8
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 2 additions and 2 deletions

View File

@ -559,7 +559,7 @@ gpgtar_extract (const char *filename, int decrypt)
}
leave:
gpgrt_process_release (proc);
/* fixme: Why can't we use gpgrt_process_release (proc); */
notextracted = tarinfo->skipped_badname;
notextracted += tarinfo->skipped_suspicious;
notextracted += tarinfo->skipped_symlinks;

View File

@ -593,7 +593,7 @@ gpgtar_list (const char *filename, int decrypt)
}
leave:
gpgrt_process_release (proc);
/* fixme: Why can't we use gpgrt_process_release (proc); */
free_strlist (extheader);
xfree (header);
if (stream != es_stdin)