projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't feather, removes stuff like rogue .o's
[unix-history]
/
usr
/
src
/
sys
/
kern
/
tty_pty.c
diff --git
a/usr/src/sys/kern/tty_pty.c
b/usr/src/sys/kern/tty_pty.c
index
f7b84f0
..
3a9986f
100644
(file)
--- a/
usr/src/sys/kern/tty_pty.c
+++ b/
usr/src/sys/kern/tty_pty.c
@@
-1,4
+1,4
@@
-/* tty_pty.c
4.30 83/05/21
*/
+/* tty_pty.c
6.1 83/07/29
*/
/*
* Pseudo-teletype Driver
/*
* Pseudo-teletype Driver
@@
-208,7
+208,7
@@
ptcclose(dev)
if (tp->t_state & TS_ISOPEN)
gsignal(tp->t_pgrp, SIGHUP);
tp->t_state &= ~TS_CARR_ON; /* virtual carrier gone */
if (tp->t_state & TS_ISOPEN)
gsignal(tp->t_pgrp, SIGHUP);
tp->t_state &= ~TS_CARR_ON; /* virtual carrier gone */
-
flushtty
(tp, FREAD|FWRITE);
+
ttyflush
(tp, FREAD|FWRITE);
tp->t_oproc = 0; /* mark closed */
}
tp->t_oproc = 0; /* mark closed */
}
@@
-414,7
+414,7
@@
ptyioctl(dev, cmd, data, flag)
pti->pt_flags |= PF_REMOTE;
else
pti->pt_flags &= ~PF_REMOTE;
pti->pt_flags |= PF_REMOTE;
else
pti->pt_flags &= ~PF_REMOTE;
-
flushtty
(tp, FREAD|FWRITE);
+
ttyflush
(tp, FREAD|FWRITE);
return (0);
case FIONBIO:
return (0);
case FIONBIO: