diff options
author | bde <bde@FreeBSD.org> | 1996-12-07 11:07:20 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-12-07 11:07:20 +0000 |
commit | 42c8b8b49c931803d1f20faadc437dae1ae67cd2 (patch) | |
tree | 1c7ac9571f783ac9e2a8a8a11a85387fdf74be7b /bin/stty/key.c | |
parent | 86b1c9f6b984e009524e43ee4b346d0b494c839a (diff) | |
download | FreeBSD-src-42c8b8b49c931803d1f20faadc437dae1ae67cd2.zip FreeBSD-src-42c8b8b49c931803d1f20faadc437dae1ae67cd2.tar.gz |
Fixed `stty [-]extproc'. It set extproc to a semi-random state (always
off if there are no other options, always (?) on if another option that
changes the state is processed earlier).
Diffstat (limited to 'bin/stty/key.c')
-rw-r--r-- | bin/stty/key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c index 362b6f1..58aa60e 100644 --- a/bin/stty/key.c +++ b/bin/stty/key.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: key.c,v 1.3 1995/03/19 13:29:25 joerg Exp $ + * $Id: key.c,v 1.4 1995/04/28 19:29:29 ache Exp $ */ #ifndef lint @@ -192,7 +192,7 @@ f_extproc(ip) struct info *ip; { - if (ip->set) { + if (!ip->off) { int tmp = 1; (void)ioctl(ip->fd, TIOCEXT, &tmp); } else { |