Home GnuPG
Diffusion GPGME 46938bdde475

Fix portability for the use of the assuan types.

Description

Fix portability for the use of the assuan types.

* src/assuan-support.c (my_spawn, my_waitpid): Use assuan_pid_t.
(my_socket, my_connect): Use assuan_fd_t.
* src/engine-gpg.c (start): Remove unused PID.
* src/engine-spawn.c (engspawn_start): Likewise.
* src/gpgme-w32spawn.c: Add util.h for assuan types.
* src/version.c: Likewise.
* src/wait-user.c: Likewise.
* src/posix-io.c (_gpgme_io_spawn): Use assuan_pid_t.
* src/priv-io.h (_gpgme_io_spawn): Likewise.
* src/w32-io.c (_gpgme_io_spawn): Likewise.
* src/wait-private.c: Include util.h earlier.
  • GnuPG-bug-id: T7968
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Dec 11 2025, 6:45 AM
Parents
rM5fa2e405807d: w32: Add a cast for GetProcAddress, add AM_CFLAGS for w32spawn.
Branches
Unknown
Tags
Unknown
Tasks
T7968: Fixes needed for newer GCC/Mingw