@dmnks pushed 1 commit.
394a50b2eeaba90256d54cc26c44b8aa67cff827 Stop blocking when GPG process dies
prematurely (RhBug:1746353)
--
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/rpm-software-management/rpm/pull/938/files/124cb1c74587e2
@dmnks pushed 1 commit.
124cb1c74587e26afc43882a8468088dd0862de0 Stop blocking when GPG process dies
prematurely (RhBug:1746353)
--
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/rpm-software-management/rpm/pull/938/files/6caa812a71087c
dmnks commented on this pull request.
> fnamedPipe = Fopen(namedPipeName, "w");
+
+if (errno == EINTR) {
+ /* We got interrupted while waiting on the reader side to open the
Hmm, seems like the mix of tabs and spaces confuses github's diff viewer :)
--
You are receiving this be
The GPG subprocess may not open the named pipe that we create for
feeding it the package to sign (such as when the key is expired, as seen
in the linked bug), in which case RPM hangs up for the user due to the
blocking open(2) call on that pipe.
The fix is easy: just register an empty SIGCHLD hand