r1843 - in trunk: libX11 xorg

dnicholson at linuxfromscratch.org dnicholson at linuxfromscratch.org
Sun Jul 8 10:46:45 PDT 2007


Author: dnicholson
Date: 2007-07-08 11:46:45 -0600 (Sun, 08 Jul 2007)
New Revision: 1843

Added:
   trunk/libX11/libX11-1.1.2-badargs-1.patch
   trunk/xorg/libX11-1.1.2-badargs-1.patch
Log:
Patch for bad arguments in libX11-1.1.2


Added: trunk/libX11/libX11-1.1.2-badargs-1.patch
===================================================================
--- trunk/libX11/libX11-1.1.2-badargs-1.patch	                        (rev 0)
+++ trunk/libX11/libX11-1.1.2-badargs-1.patch	2007-07-08 17:46:45 UTC (rev 1843)
@@ -0,0 +1 @@
+link ../xorg/libX11-1.1.2-badargs-1.patch
\ No newline at end of file


Property changes on: trunk/libX11/libX11-1.1.2-badargs-1.patch
___________________________________________________________________
Name: svn:special
   + *

Added: trunk/xorg/libX11-1.1.2-badargs-1.patch
===================================================================
--- trunk/xorg/libX11-1.1.2-badargs-1.patch	                        (rev 0)
+++ trunk/xorg/libX11-1.1.2-badargs-1.patch	2007-07-08 17:46:45 UTC (rev 1843)
@@ -0,0 +1,22 @@
+Submitted By: Dan Nicholson <dnicholson AT linuxfromscratch DOT org>
+Date: 2007-07-08
+Initial Package Version: 1.1.2
+Upstream Status: Applied
+Origin: https://bugs.freedesktop.org/show_bug.cgi?id=11222
+Description: Recent refactoring of libX11 inadvertantly swapped the argument
+  order in XGetMotionEvents().
+
+diff -pNur libX11-1.1.2.orig/src/GetMoEv.c libX11-1.1.2/src/GetMoEv.c
+--- libX11-1.1.2.orig/src/GetMoEv.c	2007-06-02 10:46:55.000000000 -0700
++++ libX11-1.1.2/src/GetMoEv.c	2007-07-08 10:37:03.000000000 -0700
+@@ -33,9 +33,9 @@ in this Software without prior written a
+ 
+ XTimeCoord *XGetMotionEvents(
+     register Display *dpy,
++    Window w,
+     Time start, 
+     Time stop,
+-    Window w,
+     int *nEvents)  /* RETURN */
+ {       
+     xGetMotionEventsReply rep;




More information about the patches mailing list