Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34602084
D193.id1021.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
544 B
Subscribers
None
D193.id1021.diff
View Options
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
Details
Attached
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
Attached To
D193: 427_patch-src_posix-io_c
Event Timeline
Log In to Comment