[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force XFree86 SVN commit: r1171 - in trunk/debian: . patches



Author: branden
Date: 2004-03-22 17:19:18 -0500 (Mon, 22 Mar 2004)
New Revision: 1171

Added:
   trunk/debian/patches/073_xev_flush_standard_output.diff
Modified:
   trunk/debian/changelog
Log:
Make xev flush standard output after processing each event, since its
exit(0) is unreachable code (thanks, Bill Currie).  (Closes: #238638).


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-03-21 20:09:00 UTC (rev 1170)
+++ trunk/debian/changelog	2004-03-22 22:19:18 UTC (rev 1171)
@@ -4,8 +4,11 @@
     <LSGT> problem to tidy up the wording a little and direct people to the
     FAQ for more information.
 
- -- Branden Robinson <branden@debian.org>  Fri, 19 Mar 2004 00:26:17 -0500
+  * Make xev flush standard output after processing each event, since its
+    exit(0) is unreachable code (thanks, Bill Currie).  (Closes: #238638).
 
+ -- Branden Robinson <branden@debian.org>  Mon, 22 Mar 2004 17:17:20 -0500
+
 xfree86 (4.3.0-7) unstable; urgency=medium
 
   * Urgency due to fix for FTBFS.  Yes -- I too am begging for it to stop.

Added: trunk/debian/patches/073_xev_flush_standard_output.diff
===================================================================
--- trunk/debian/patches/073_xev_flush_standard_output.diff	2004-03-21 20:09:00 UTC (rev 1170)
+++ trunk/debian/patches/073_xev_flush_standard_output.diff	2004-03-22 22:19:18 UTC (rev 1171)
@@ -0,0 +1,18 @@
+$Id$
+
+Flush standard output after processing each event, since xev's exit(0) is
+unreachable code.
+
+This patch by Branden Robinson.  Thanks to Bill Currie for identifying the
+problem and the solution.  See Debian bug #238638.
+
+--- xc/programs/xev/xev.c~	2004-03-22 17:11:51.000000000 -0500
++++ xc/programs/xev/xev.c	2004-03-22 17:11:36.000000000 -0500
+@@ -972,6 +972,7 @@
+ 	    printf ("Unknown event type %d\n", event.type);
+ 	    break;
+ 	}
++	fflush(stdout);
+     }
+ 
+     XCloseDisplay (dpy);


Property changes on: trunk/debian/patches/073_xev_flush_standard_output.diff
___________________________________________________________________
Name: svn:keywords
   + Id



Reply to: