]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Unix Plink: Set O_NONBLOCK on the SIGWINCH pipe.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 1 May 2016 15:46:40 +0000 (17:46 +0200)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 1 May 2016 16:13:03 +0000 (18:13 +0200)
commit30cf7371f3b044f183fcef73aaa10afcbddec886
tree69a0be1e489221b28d12dc98023679226f5149b1
parent05e802d5fe8d34b326ad251d5e25b76f7d006b33
Unix Plink: Set O_NONBLOCK on the SIGWINCH pipe.

This should avoid the possibility of the SIGWINCH handler's blocking
when trying to write to the pipe.  This could only happen if we'd
somehow received PIPE_BUF SIGWINCHes without reading the pipe, which
would be difficult to achieve.

While we're at it, also set O_NONBLOCK on the reading side of the pipe,
just in case.
unix/uxplink.c