mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
May as well set FD_CLOEXEC on the signal pipe as well.
This commit is contained in:
@ -949,6 +949,8 @@ int main(int argc, char **argv)
|
||||
/* We don't want the signal handler to block if the pipe's full. */
|
||||
nonblock(signalpipe[0]);
|
||||
nonblock(signalpipe[1]);
|
||||
cloexec(signalpipe[0]);
|
||||
cloexec(signalpipe[1]);
|
||||
putty_signal(SIGWINCH, sigwinch);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user