Hi

Anybody is using requestLogIndex field from _Client struct ? If not will you 
apply
attached patch? Without the patch the config option --enable-debug cannot be 
used.

Tomas

diff --git a/dix/dispatch.c b/dix/dispatch.c
index ce3294d..dbb97e0 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -413,12 +413,6 @@ Dispatch(void)
                }
 
                client->sequence++;
-#ifdef DEBUG
-               if (client->requestLogIndex == MAX_REQUEST_LOG)
-                   client->requestLogIndex = 0;
-               client->requestLog[client->requestLogIndex] = MAJOROP;
-               client->requestLogIndex++;
-#endif
 #ifdef XSERVER_DTRACE
                XSERVER_REQUEST_START(LookupMajorName(MAJOROP), MAJOROP,
                              ((xReq *)client->requestBuffer)->length,
diff --git a/include/dixstruct.h b/include/dixstruct.h
index 7335fad..696b793 100644
--- a/include/dixstruct.h
+++ b/include/dixstruct.h
@@ -37,10 +37,6 @@ SOFTWARE.
  *      translation from client ids to server addresses.
  */
 
-#ifdef DEBUG
-#define MAX_REQUEST_LOG 100
-#endif
-
 extern _X_EXPORT CallbackListPtr ClientStateCallback;
 
 typedef struct {

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to