]> git.pld-linux.org Git - packages/coreutils.git/blame - coreutils-7.4-sttytcsadrain.patch
- install su man page
[packages/coreutils.git] / coreutils-7.4-sttytcsadrain.patch
CommitLineData
cdcff531
AM
1diff -urNp coreutils-7.4-orig/src/stty.c coreutils-7.4/src/stty.c
2--- coreutils-7.4-orig/src/stty.c 2009-04-24 14:41:19.000000000 +0200
3+++ coreutils-7.4/src/stty.c 2009-06-11 10:15:41.000000000 +0200
4@@ -1001,7 +1001,7 @@ main (int argc, char **argv)
6fd30452 5 spurious difference in an uninitialized portion of the structure. */
cdcff531
AM
6 DECLARE_ZEROED_AGGREGATE (struct termios, new_mode);
7
8- if (tcsetattr (STDIN_FILENO, TCSADRAIN, &mode))
9+ if (tcsetattr (STDIN_FILENO, TCSANOW, &mode))
6fd30452 10 error (EXIT_FAILURE, errno, "%s", device_name);
cdcff531
AM
11
12 /* POSIX (according to Zlotnick's book) tcsetattr returns zero if
This page took 0.0519810000000001 seconds and 4 git commands to generate.