diff options
author | bde <bde@FreeBSD.org> | 1995-04-29 15:00:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-04-29 15:00:34 +0000 |
commit | 09fc806063a52c76bb9f6f96f33f7c9157aabe86 (patch) | |
tree | 02981f95c7bce2a7c06e1b2f80a8d587cd7be49e /bin | |
parent | ef44f537d3acfea3bb6c76590da23698bb1eb159 (diff) | |
download | FreeBSD-src-09fc806063a52c76bb9f6f96f33f7c9157aabe86.zip FreeBSD-src-09fc806063a52c76bb9f6f96f33f7c9157aabe86.tar.gz |
Fix `stty' on the output of `stty -g'. The changes for the gfmt1 option
weren't TIOCSETD'd unless another option changed something.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/stty/stty.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |