mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
|
@ -384,7 +384,11 @@ gpgtar_extract (const char *filename, int decrypt)
|
|||
{
|
||||
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;
|
||||
|
||||
ccparray_init (&ccp, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue