Deleted Added
full compact
34c34
< * $Id: tty_pty.c,v 1.7 1995/02/25 20:09:30 pst Exp $
---
> * $Id: tty_pty.c,v 1.8 1995/02/28 00:21:05 pst Exp $
147c147,148
< ptcwakeup(tp, FREAD|FWRITE);
---
> if (error == 0)
> ptcwakeup(tp, FREAD|FWRITE);
161,162d161
< err = (*linesw[tp->t_line].l_close)(tp, flag);
< err |= ttyclose(tp);
163a163,164
> err = (*linesw[tp->t_line].l_close)(tp, flag);
> (void) ttyclose(tp);