From 09fc806063a52c76bb9f6f96f33f7c9157aabe86 Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 29 Apr 1995 15:00:34 +0000 Subject: Fix `stty' on the output of `stty -g'. The changes for the gfmt1 option weren't TIOCSETD'd unless another option changed something. --- bin/stty/stty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/stty/stty.c b/bin/stty/stty.c index 9f8bbb1..69ce682 100644 --- a/bin/stty/stty.c +++ b/bin/stty/stty.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: stty.c,v 1.2 1994/09/24 02:59:02 davidg Exp $ */ #ifndef lint @@ -140,6 +140,7 @@ args: argc -= optind; if (!strncmp(*argv, "gfmt1", sizeof("gfmt1") - 1)) { gread(&i.t, *argv + sizeof("gfmt1") - 1); + i.set = 1; continue; } -- cgit v1.1