SOURCES: xorg-xserver-server-mitri.patch (NEW) - new

shadzik shadzik at pld-linux.org
Sun May 7 13:56:41 CEST 2006


Author: shadzik                      Date: Sun May  7 11:56:40 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   xorg-xserver-server-mitri.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xorg-xserver-server-mitri.patch
diff -u /dev/null SOURCES/xorg-xserver-server-mitri.patch:1.1
--- /dev/null	Sun May  7 13:56:40 2006
+++ SOURCES/xorg-xserver-server-mitri.patch	Sun May  7 13:56:35 2006
@@ -0,0 +1,27 @@
+Index: xorg/render/mitri.c
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/render/mitri.c,v
+retrieving revision 1.5
+diff -u -r1.5 mitri.c
+--- render/mitri.c	3 Jul 2005 07:02:08 -0000	1.5
++++ render/mitri.c	30 Apr 2006 20:29:53 -0000
+@@ -145,7 +145,7 @@
+     if (npoint < 3)
+ 	return;
+     ntri = npoint - 2;
+-    tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
++    tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
+     if (!tris)
+ 	return;
+     for (tri = tris; npoint >= 3; npoint--, points++, tri++)
+@@ -177,7 +177,7 @@
+     if (npoint < 3)
+ 	return;
+     ntri = npoint - 2;
+-    tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
++    tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
+     if (!tris)
+ 	return;
+     first = points++;
+
+
================================================================


More information about the pld-cvs-commit mailing list