[Pkg-acpi-devel] Bug#719659: acpid ignores its unix socket on systems with many event interfaces

Ted Felix ted at tedfelix.com
Sun Aug 18 11:20:53 UTC 2013


On 08/13/2013 10:42 PM, Ben Winslow wrote:
> The simplest
> fix would be simply raising MAX_CONNECTIONS in connection_list.c

Thanks (again) for the bug report.  I've just pushed a quick fix to the
sourceforge repo with MAX_CONNECTIONS bumped to 100.  I will pursue a
more satisfactory solution next.  Here's the patch in case anyone needs
it immediately:

commit 903271fb387ad4cc630c29810eecaacfb3e21080
Author: Ted Felix <ted at tedfelix.com>
Date:   Wed Aug 14 19:02:33 2013 -0400

     Increase MAX_CONNECTIONS to 100

     This is an interim fix for Debian 719659.

diff --git a/connection_list.c b/connection_list.c
index 0fc7c53..cf99162 100644
--- a/connection_list.c
+++ b/connection_list.c
@@ -35,7 +35,7 @@
  /*---------------------------------------------------------------*/
  /* private objects */

-#define MAX_CONNECTIONS 20
+#define MAX_CONNECTIONS 100

  static struct connection connection_list[MAX_CONNECTIONS];



More information about the Pkg-acpi-devel mailing list