packages: coreutils/coreutils.spec, coreutils/coreutils-7.4-sttytcsadrain.p...

arekm arekm at pld-linux.org
Thu Aug 6 14:16:56 CEST 2009


Author: arekm                        Date: Thu Aug  6 12:16:56 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; avoid hangs in stty

---- Files affected:
packages/coreutils:
   coreutils.spec (1.149 -> 1.150) , coreutils-7.4-sttytcsadrain.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/coreutils/coreutils.spec
diff -u packages/coreutils/coreutils.spec:1.149 packages/coreutils/coreutils.spec:1.150
--- packages/coreutils/coreutils.spec:1.149	Sun May 17 22:52:05 2009
+++ packages/coreutils/coreutils.spec	Thu Aug  6 14:16:50 2009
@@ -4,7 +4,7 @@
 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
@@ -26,7 +26,7 @@
 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
@@ -117,6 +117,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
@@ -233,6 +234,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.150  2009/08/06 12:16:50  arekm
+- rel 2; avoid hangs in stty
+
 Revision 1.149  2009/05/17 20:52:05  arekm
 - up to 7.4
 

================================================================
Index: packages/coreutils/coreutils-7.4-sttytcsadrain.patch
diff -u /dev/null packages/coreutils/coreutils-7.4-sttytcsadrain.patch:1.1
--- /dev/null	Thu Aug  6 14:16:56 2009
+++ packages/coreutils/coreutils-7.4-sttytcsadrain.patch	Thu Aug  6 14:16:50 2009
@@ -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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/coreutils/coreutils.spec?r1=1.149&r2=1.150&f=u



More information about the pld-cvs-commit mailing list