summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libxcb/libxcb-1.1-sloppy-lock.patch
blob: 130890e28920fd8270309251c8ee9afd931831ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up libxcb-1.1/src/xcb_conn.c.jx libxcb-1.1/src/xcb_conn.c
--- libxcb-1.1/src/xcb_conn.c.jx	2007-10-28 16:11:18.000000000 -0400
+++ libxcb-1.1/src/xcb_conn.c	2008-04-22 11:58:05.000000000 -0400
@@ -63,7 +63,7 @@ static int _xcb_xlib_init(_xcb_xlib *xli
 {
     xlib->lock = 0;
 #ifndef NDEBUG
-    xlib->sloppy_lock = (getenv("LIBXCB_ALLOW_SLOPPY_LOCK") != 0);
+    xlib->sloppy_lock = 1;
 #endif
     pthread_cond_init(&xlib->cond, 0);
     return 1;