From: Todd C. Miller Date: Tue, 18 Jan 2011 16:26:26 +0000 (-0500) Subject: Clear, don't set, OPOST in c_oflag as was intended in e26055d17b72. X-Git-Tag: SUDO_1_7_5~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46791f66bd5da7d9d1a310c265836fe1d198bde9;p=sudo Clear, don't set, OPOST in c_oflag as was intended in e26055d17b72. --HG-- branch : 1.7 --- diff --git a/term.c b/term.c index b1e9da65f..85b730092 100644 --- a/term.c +++ b/term.c @@ -152,7 +152,7 @@ term_raw(fd, isig) term.c_cc[VMIN] = 1; term.c_cc[VTIME] = 0; CLR(term.c_iflag, ICRNL | IGNCR | INLCR | IUCLC | IXON); - SET(term.c_oflag, OPOST); + CLR(term.c_oflag, OPOST); CLR(term.c_lflag, ECHO | ICANON | ISIG | IEXTEN); if (isig) SET(term.c_lflag, ISIG);