From 42c8b8b49c931803d1f20faadc437dae1ae67cd2 Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 7 Dec 1996 11:07:20 +0000 Subject: 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). --- bin/stty/key.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/stty') 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 { -- cgit v1.1