[Rpm-maint] [rpm-software-management/rpm] Stop blocking when GPG process dies prematurely (RhBug:1746353) (#938)
Michal Domonkos
notifications at github.com
Mon Nov 18 13:38:53 UTC 2019
> (A different fix that might also work (untested) would be to simply open the named pipe for reading before doing the exec call. You can even do that before the fork(). The opened file descriptor will not be used by gpg, but that shouldn't hurt.)
Turns out this won't work. When calling `open(2)` on the pipe, the call blocks until the other end is opened as well. This is actually the very reason we're doing this patch.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/938#issuecomment-555018828
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191118/01365029/attachment.html>
More information about the Rpm-maint
mailing list