projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f130e9a
)
kernel - Unset TS_ZOMBIE when pty is re-opened
author
Samuel J. Greear <sjg@thesjg.com>
Mon, 2 Aug 2010 13:09:27 +0000 (13:09 +0000)
committer
Samuel J. Greear <sjg@thesjg.com>
Mon, 2 Aug 2010 13:09:27 +0000 (13:09 +0000)
Reported-by: tuxillo
sys/kern/tty_pty.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/kern/tty_pty.c
b/sys/kern/tty_pty.c
index
5d03dc0
..
9fb6fb3
100644
(file)
--- a/
sys/kern/tty_pty.c
+++ b/
sys/kern/tty_pty.c
@@
-288,6
+288,7
@@
ptsopen(struct dev_open_args *ap)
if (error)
return (error);
}
+ tp->t_state &= ~TS_ZOMBIE;
error = (*linesw[tp->t_line].l_open)(dev, tp);
if (error == 0)
ptcwakeup(tp, FREAD|FWRITE);