projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stop `pterm -ut-' leaving the unnecessary utmp helper as a zombie
[u/mdw/putty]
/
unix
/
pty.c
diff --git
a/unix/pty.c
b/unix/pty.c
index
3fd8b3f
..
7fe0dc7
100644
(file)
--- a/
unix/pty.c
+++ b/
unix/pty.c
@@
-345,6
+345,7
@@
void pty_pre_init(void)
close(pipefd[0]);
pty_utmp_helper_pid = pid;
pty_utmp_helper_pipe = pipefd[1];
+ signal(SIGCHLD, sigchld_handler);
}
#endif