FreeBSD Bugzilla – Attachment 77220 Details for
Bug 111235
[PATCH] audio/jack: don't crash with -R
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
jack-0.102.28.20061216_1.patch
jack-0.102.28.20061216_1.patch (text/plain), 1.08 KB, created by
trasz
on 2007-04-04 15:40:04 UTC
(
hide
)
Description:
jack-0.102.28.20061216_1.patch
Filename:
MIME Type:
Creator:
trasz
Created:
2007-04-04 15:40:04 UTC
Size:
1.08 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/audio/jack/files/patch-jackd_engine.c /home/trasz/jack/files/patch-jackd_engine.c >--- /usr/ports/audio/jack/files/patch-jackd_engine.c Thu Dec 7 20:42:00 2006 >+++ /home/trasz/jack/files/patch-jackd_engine.c Wed Apr 4 16:42:39 2007 >@@ -1,6 +1,6 @@ >---- jackd/engine.c.orig Wed Dec 6 23:40:20 2006 >-+++ jackd/engine.c Wed Dec 6 23:40:58 2006 >-@@ -1444,7 +1444,7 @@ >+--- jackd/engine.c.orig Tue Mar 6 06:24:05 2007 >++++ jackd/engine.c Tue Apr 3 18:01:29 2007 >+@@ -1442,7 +1442,7 @@ > (engine, pfd[i].fd)) { > jack_error ("could not handle external" > " client request"); >@@ -9,3 +9,13 @@ > /* poll is implemented using > select (see the macosx/fakepoll > code). When the socket is closed >+@@ -1552,7 +1552,8 @@ >+ >+ jack_drop_real_time_scheduling (pthread_self()); >+ >+-#ifdef USE_MLOCK >++/* Workaround to prevent 'jackd -R' from crashing at startup. */ >++#if 0 >+ >+ if (do_mlock && (mlockall (MCL_CURRENT | MCL_FUTURE) != 0)) { >+ jack_error ("cannot lock down memory for jackd (%s)",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111235
: 77220