mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
May as well set FD_CLOEXEC on the signal pipe as well.
This commit is contained in:
parent
30cf7371f3
commit
561f97874b
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user