Date: Thu, 19 May 2005 11:17:38 GMT From: Arseny Nasokin <tarc@tarc.po.cs.msu.su> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/81256: Stty prints wrong flags value Message-ID: <200505191117.j4JBHcpp030408@www.freebsd.org> Resent-Message-ID: <200505191120.j4JBK71k001413@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81256 >Category: bin >Synopsis: Stty prints wrong flags value >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 19 11:20:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Arseny Nasokin >Release: 6.0-CURRENT >Organization: CMC MSU >Environment: FreeBSD 6.0-CURRENT #0: Tue May 17 21:06:53 MSD 2005 toor@tarc.po.cs.msu.su:/mnt/usr/obj/usr/src/sys/TarcCurrent i386 $FreeBSD: src/bin/stty/print.c,v 1.19 2004/04/06 20:06:53 markm Exp $ >Description: Stty output flags (onocr) and (onlret) same as oxtabs >How-To-Repeat: see any stty output, change these flags and see stty output again >Fix: --- print.c.orig Thu May 19 15:16:33 2005 +++ print.c Fri May 13 17:09:29 2005 @@ -142,8 +142,8 @@ put("-onlcr", ONLCR, 1); put("-ocrnl", OCRNL, 0); put("-oxtabs", OXTABS, 1); - put("-onocr", OXTABS, 0); - put("-onlret", OXTABS, 0); + put("-onocr", ONOCR, 0); + put("-onlret", ONLRET, 0); /* control flags (hardware state) */ tmp = tp->c_cflag; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505191117.j4JBHcpp030408>