]> granicus.if.org Git - sudo/commitdiff
Clear, don't set, OPOST in c_oflag as was intended in e26055d17b72.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 18 Jan 2011 16:26:26 +0000 (11:26 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 18 Jan 2011 16:26:26 +0000 (11:26 -0500)
--HG--
branch : 1.7

term.c

diff --git a/term.c b/term.c
index b1e9da65f07efb24f69578fcf67a7259519587d5..85b730092deb00f2313bd7d66b1608b3e88f91e8 100644 (file)
--- 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);