]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
terminal: Don't set ISTRIP in terminal attributes
authorRay Strode <rstrode@redhat.com>
Mon, 15 Nov 2010 18:56:01 +0000 (13:56 -0500)
committerRay Strode <rstrode@redhat.com>
Mon, 15 Nov 2010 18:56:01 +0000 (13:56 -0500)
In certain error paths plymouth would erroneously set
ISTRIP on the terminal.  This is bogus in the same way
the changes fixed by commit ea394383c54dda771dcf59e7ec11280fa945280b
were bogus.

src/libply-splash-core/ply-terminal.c
src/main.c

index 40243799c242164f46995511fd3f84b69bcf3372..22db27df74e50f484d2a27c54d746c0046f53659 100644 (file)
@@ -244,7 +244,7 @@ ply_terminal_set_buffered_input (ply_terminal_t *terminal)
    */
   if (!terminal->original_term_attributes_saved || !(terminal->original_term_attributes.c_lflag & ICANON))
     {
-      term_attributes.c_iflag |= BRKINT | IGNPAR | ISTRIP | ICRNL | IXON;
+      term_attributes.c_iflag |= BRKINT | IGNPAR | ICRNL | IXON;
       term_attributes.c_oflag |= OPOST;
       term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN;
 
index 7358c24bcc2726f220b36e7d5e7470e6068e1a06..e003d99784bad5d2f668e5e0a65092a3bc167ace 100644 (file)
@@ -1963,7 +1963,7 @@ on_crash (int signum)
 
     tcgetattr (fd, &term_attributes);
 
-    term_attributes.c_iflag |= BRKINT | IGNPAR | ISTRIP | ICRNL | IXON;
+    term_attributes.c_iflag |= BRKINT | IGNPAR | ICRNL | IXON;
     term_attributes.c_oflag |= OPOST;
     term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN;