aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgcompose.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-09-19 03:28:43 +0000
committerNIIBE Yutaka <[email protected]>2019-02-19 06:49:55 +0000
commit6e422b5135c71f8fa859a3f4de51bf89e3ff5ac6 (patch)
tree6da3549bf77713ab6fa29755c0d26d81e22b2440 /g10/gpgcompose.c
parentpo: Correct a simple typo in the Norwegian translation (diff)
downloadgnupg-6e422b5135c71f8fa859a3f4de51bf89e3ff5ac6.tar.gz
gnupg-6e422b5135c71f8fa859a3f4de51bf89e3ff5ac6.zip
common: Fix gnupg_wait_processes.
* common/exechelp-posix.c (gnupg_wait_processes): Loop for r_exitcodes even if we already see an error. -- Cherry-picked master commit of: eeb3da6eb717ed6a1a1069a7611eb37503e8672d The value stored by waitpid for exit code is encoded; It requires decoded by WEXITSTATUS macro, regardless of an error. For example, when one of processes is already exited and another is still running, it resulted wrong value of in r_exitcodes[n]. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/gpgcompose.c')
0 files changed, 0 insertions, 0 deletions