]> granicus.if.org Git - mutt/commit
Block SIGWINCH during connect(). (closes #3941)
authorKevin McCarthy <kevin@8t8.us>
Tue, 20 Jun 2017 22:09:43 +0000 (15:09 -0700)
committerKevin McCarthy <kevin@8t8.us>
Tue, 20 Jun 2017 22:09:43 +0000 (15:09 -0700)
commitdc0c278fb1e831bd55cca152fcb455e0c901867e
tree6fdfccfb36e30a97c20a70f83c204dc23cc7ce49
parentbd3c085ace48e826386a4bbb2b960db1a510cde2
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