]> git.pld-linux.org Git - packages/coreutils.git/commitdiff
- rel 2; avoid hangs in stty auto/th/coreutils-7_4-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 6 Aug 2009 12:16:50 +0000 (12:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    coreutils-7.4-sttytcsadrain.patch -> 1.1
    coreutils.spec -> 1.150

coreutils-7.4-sttytcsadrain.patch [new file with mode: 0644]
coreutils.spec

diff --git a/coreutils-7.4-sttytcsadrain.patch b/coreutils-7.4-sttytcsadrain.patch
new file mode 100644 (file)
index 0000000..af25979
--- /dev/null
@@ -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
index 9cc8f263de7c2a2ce7317ea71b09746a78262d22..92c114a12bef6da18a6324a2156a781b493cbbb6 100644 (file)
@@ -3,7 +3,7 @@ Summary:        GNU Core-utils - basic command line utilities
 Summary(pl.UTF-8):     GNU Core-utils - podstawowe narzędzia działające z linii poleceń
 Name:          coreutils
 Version:       7.4
-Release:       1
+Release:       2
 License:       GPL v3+
 Group:         Applications/System
 Source0:       http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
@@ -25,7 +25,7 @@ Patch3:               %{name}-su-paths.patch
 Patch4:                %{name}-uname-cpuinfo.patch
 Patch5:                %{name}-date-man.patch
 Patch6:                %{name}-mem.patch
-
+Patch7:                %{name}-7.4-sttytcsadrain.patch
 
 Patch9:                %{name}-fmt-wchars.patch
 Patch10:       %{name}-runuser.patch
@@ -116,6 +116,7 @@ lzma -dc %{SOURCE0} | tar xf - -C ..
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
This page took 0.038575 seconds and 4 git commands to generate.