mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 17:17:37 -05:00

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.