2015-06-14 15:05:09 +00:00
|
|
|
--- jackd/engine.c.orig 2013-11-30 17:04:00 UTC
|
|
|
|
+++ jackd/engine.c
|
|
|
|
@@ -1415,7 +1415,7 @@ handle_external_client_request (jack_eng
|
2009-03-30 18:21:21 +00:00
|
|
|
if ((r = read (client->request_fd, &req, sizeof (req)))
|
|
|
|
< (ssize_t) sizeof (req)) {
|
|
|
|
if (r == 0) {
|
2006-12-07 19:42:00 +00:00
|
|
|
-#ifdef JACK_USE_MACH_THREADS
|
2009-03-30 18:21:21 +00:00
|
|
|
+#ifndef __linux
|
|
|
|
/* poll is implemented using
|
|
|
|
select (see the macosx/fakepoll
|
|
|
|
code). When the socket is closed
|
2015-06-14 15:05:09 +00:00
|
|
|
@@ -1428,7 +1428,7 @@ handle_external_client_request (jack_eng
|
2009-03-30 18:21:21 +00:00
|
|
|
and remove the client.
|
|
|
|
*/
|
|
|
|
jack_mark_client_socket_error (engine, fd);
|
|
|
|
-#endif /* JACK_USE_MACH_THREADS */
|
|
|
|
+#endif /* !__linux */
|
|
|
|
return 1;
|
|
|
|
} else {
|
|
|
|
jack_error ("cannot read request from client (%d/%d/%s)",
|