temporarily workaround probable kernel issue with TCSADRAIN(#504798)
This commit is contained in:
parent
67e264c142
commit
7f2b3258d5
12
coreutils-7.4-sttytcsadrain.patch
Normal file
12
coreutils-7.4-sttytcsadrain.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urNp coreutils-7.4-orig/src/stty.c coreutils-7.4/src/stty.c
|
||||||
|
--- coreutils-7.4-orig/src/stty.c 2009-04-24 14:41:19.000000000 +0200
|
||||||
|
+++ coreutils-7.4/src/stty.c 2009-06-11 10:15:41.000000000 +0200
|
||||||
|
@@ -1001,7 +1001,7 @@ main (int argc, char **argv)
|
||||||
|
spurious difference in an uninitialized portion of the structure. */
|
||||||
|
DECLARE_ZEROED_AGGREGATE (struct termios, new_mode);
|
||||||
|
|
||||||
|
- if (tcsetattr (STDIN_FILENO, TCSADRAIN, &mode))
|
||||||
|
+ if (tcsetattr (STDIN_FILENO, TCSANOW, &mode))
|
||||||
|
error (EXIT_FAILURE, errno, "%s", device_name);
|
||||||
|
|
||||||
|
/* POSIX (according to Zlotnick's book) tcsetattr returns zero if
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A set of basic GNU tools commonly used in shell scripts
|
Summary: A set of basic GNU tools commonly used in shell scripts
|
||||||
Name: coreutils
|
Name: coreutils
|
||||||
Version: 7.4
|
Version: 7.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Url: http://www.gnu.org/software/coreutils/
|
Url: http://www.gnu.org/software/coreutils/
|
||||||
@ -23,6 +23,7 @@ Source203: coreutils-runuser-l.pamd
|
|||||||
# Our patches
|
# Our patches
|
||||||
Patch100: coreutils-6.10-configuration.patch
|
Patch100: coreutils-6.10-configuration.patch
|
||||||
Patch101: coreutils-6.10-manpages.patch
|
Patch101: coreutils-6.10-manpages.patch
|
||||||
|
Patch102: coreutils-7.4-sttytcsadrain.patch
|
||||||
|
|
||||||
# sh-utils
|
# sh-utils
|
||||||
Patch703: sh-utils-2.0.11-dateman.patch
|
Patch703: sh-utils-2.0.11-dateman.patch
|
||||||
@ -102,6 +103,7 @@ the old GNU fileutils, sh-utils, and textutils packages.
|
|||||||
# Our patches
|
# Our patches
|
||||||
%patch100 -p1 -b .configure
|
%patch100 -p1 -b .configure
|
||||||
%patch101 -p1 -b .manpages
|
%patch101 -p1 -b .manpages
|
||||||
|
%patch102 -p1 -b .tcsadrain
|
||||||
|
|
||||||
# sh-utils
|
# sh-utils
|
||||||
%patch703 -p1 -b .dateman
|
%patch703 -p1 -b .dateman
|
||||||
@ -306,6 +308,10 @@ fi
|
|||||||
/sbin/runuser
|
/sbin/runuser
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 16 2009 Ondrej Vasik <ovasik@redhat.com> 7.4-2
|
||||||
|
- temporarily workaround probable kernel issue with
|
||||||
|
TCSADRAIN(#504798)
|
||||||
|
|
||||||
* Mon May 25 2009 Ondrej Vasik <ovasik@redhat.com> 7.4-1
|
* Mon May 25 2009 Ondrej Vasik <ovasik@redhat.com> 7.4-1
|
||||||
- new upstream release 7.4, removed applied patches
|
- new upstream release 7.4, removed applied patches
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user