]> 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)
committerKevin McCarthy <kevin@8t8.us>
Tue, 20 Jun 2017 22:09:43 +0000 (15:09 -0700)
commit461a2d8291d8a3d8978b036505c37f26fba387a1
tree6fdfccfb36e30a97c20a70f83c204dc23cc7ce49
parentc8973abfb66b02363cb803837037393e370f09db
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