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

index 1e7f7c343e717e68da1f991cfcc5a56fdfa4b918..210165e46b323f061e7c0cb6919b598dad9b7d57 100644 (file)
@@ -108,7 +108,7 @@ term_raw(int fd, int 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);