Home GnuPG
Diffusion nPth 99e1174f6054

Clean up handling of unsafe semaphore.

Description

Clean up handling of unsafe semaphore.

* configure.ac (HAVE_FORK_UNSAFE_SEMAPHORE): Remove.
(NPTH_FORK_FAILURE): New conditional.
* src/npth.c (NPTH_SEMAPHORE_PSHARED): Remove.
(npth_init): Simply use a semaphore not shared by multiple processes.
* tests/Makefile.am (t-fork): XFAIL_TESTS on AIX.
  • GnuPG-bug-id: T6947
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 22 2024, 4:11 AM
Parents
rPTHe6b90ae73222: build: Change the default for --with-libtool-modification.
Branches
Unknown
Tags
Unknown
Tasks
T6947: unnamed semaphore leak on AIX