mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
tools: Fix use of EXCEPTS when spawning a process.
* tools/gpgtar-create.c (gpgtar_create) [HAVE_W32_SYSTEM]: Use HANDLE. * tools/gpgtar-extract.c (gpgtar_extract) [HAVE_W32_SYSTEM]: Likewise. * tools/gpgtar-list.c (gpgtar_list) [HAVE_W32_SYSTEM]: Likewise. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
87a73e8eb0
commit
f0ecc07c4e
4 changed files with 13 additions and 1 deletions
|
@ -1228,7 +1228,11 @@ gpgtar_create (char **inpattern, const char *files_from, int null_names,
|
|||
{
|
||||
strlist_t arg;
|
||||
ccparray_t ccp;
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
HANDLE except[2] = { INVALID_HANDLE_VALUE, INVALID_HANDLE_VALUE };
|
||||
#else
|
||||
int except[2] = { -1, -1 };
|
||||
#endif
|
||||
const char **argv;
|
||||
|
||||
/* '--encrypt' may be combined with '--symmetric', but 'encrypt'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue