View | Details | Raw Unified | Return to bug 111235
Collapse All | Expand All

(-)/home/trasz/jack/files/patch-jackd_engine.c (-3 / +13 lines)
Lines 1-6 Link Here
1
--- jackd/engine.c.orig	Wed Dec  6 23:40:20 2006
1
--- jackd/engine.c.orig	Tue Mar  6 06:24:05 2007
2
+++ jackd/engine.c	Wed Dec  6 23:40:58 2006
2
+++ jackd/engine.c	Tue Apr  3 18:01:29 2007
3
@@ -1444,7 +1444,7 @@
3
@@ -1442,7 +1442,7 @@
4
 				    (engine, pfd[i].fd)) {
4
 				    (engine, pfd[i].fd)) {
5
 					jack_error ("could not handle external"
5
 					jack_error ("could not handle external"
6
 						    " client request");
6
 						    " client request");
Lines 9-11 Link Here
9
                                     /* poll is implemented using
9
                                     /* poll is implemented using
10
 				       select (see the macosx/fakepoll
10
 				       select (see the macosx/fakepoll
11
 				       code). When the socket is closed
11
 				       code). When the socket is closed
12
@@ -1552,7 +1552,8 @@
13
 
14
 		jack_drop_real_time_scheduling (pthread_self());
15
 
16
-#ifdef USE_MLOCK
17
+/* Workaround to prevent 'jackd -R' from crashing at startup. */
18
+#if 0
19
 
20
 		if (do_mlock && (mlockall (MCL_CURRENT | MCL_FUTURE) != 0)) {
21
 			jack_error ("cannot lock down memory for jackd (%s)",

Return to bug 111235