]> granicus.if.org Git - neomutt/commit
Block SIGWINCH during connect(). (closes #3941)
authorKevin McCarthy <kevin@8t8.us>
Tue, 20 Jun 2017 22:09:43 +0000 (15:09 -0700)
committerRichard Russon <rich@flatcap.org>
Wed, 28 Jun 2017 14:01:41 +0000 (15:01 +0100)
commit387746f06eb0be09fcadf41a1f9cc84c6d17cf28
treecd0eba12c3a3cdbc68b41454c8cf4bec83cbec10
parent2271067d18a0f6dae2a6f7d3292673aa48e9bae1
Block SIGWINCH during connect(). (closes #3941)

FreeBSD's connect() does not respect SA_RESTART, so a SIGWINCH will
end up interrupting the connect.

If this code is needed in other places, it should be moved into
signal.c.  For this one place, inlining the sigprocmask() seemed okay.
mutt_socket.c