Page MenuHome GnuPG

D193.id1021.diff
No OneTemporary

D193.id1021.diff

Index: src/posix-io.c
===================================================================
--- src/posix-io.c
+++ src/posix-io.c
@@ -340,10 +340,15 @@
_gpgme_io_waitpid (int pid, int hang, int *r_status, int *r_signal)
{
int status;
-
+ int ret;
*r_status = 0;
*r_signal = 0;
- if (_gpgme_ath_waitpid (pid, &status, hang? 0 : WNOHANG) == pid)
+ do
+ {
+ ret = _gpgme_ath_waitpid (pid, &status, hang? 0 : WNOHANG);
+ }
+ while (ret == -1 && errno == EINTR);
+ if (ret == pid)
{
if (WIFSIGNALED (status))
{

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 17, 4:36 PM (14 h, 56 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1d/5e/e7aa1a77bb336e2b80c55a5c3efb

Event Timeline