LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2007, 10:56 PM   #1
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306

Rep: Reputation: 47
acpi_listen not included


Does anyone know why command acpi_listen is not included in official slackware acpid package?
 
Old 06-29-2007, 04:50 PM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
acpid doesn't build correctly. this should do the trick.
Code:
--- ud_socket.c.old     2003-11-17 22:24:58.000000000 +0100
+++ ud_socket.c 2007-06-29 23:44:25.000000000 +0200
@@ -58,7 +58,7 @@
        while (1) {
                int newsock = 0;
                struct sockaddr_un cliaddr;
-               int len = sizeof(struct sockaddr_un);
+               socklen_t len = sizeof(struct sockaddr_un);

                newsock = accept(listenfd, (struct sockaddr *)&cliaddr, &len);
                if (newsock < 0) {
EDIT:

this is also patched by the other distros (the debian folks made a very thorough one)and also in the cvs. i asked the author to release a new version.

Last edited by erklaerbaer; 06-29-2007 at 06:54 PM.
 
Old 06-30-2007, 06:25 PM   #3
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
acpid 1.0.6 is out and you can build it yourself. if you depend on it. it won't be included in the upcoming release however ( lack of testing )
 
Old 07-01-2007, 07:31 AM   #4
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 47
Thanks for your valuable information.

But my previous question still remains not answered. My question was: Why "acpi_listen" is not included in official slackware acpid package? Is there a reason for not including this original command from acpid? You know I have to recompile acpid from source if I need this specific "acpi_listen" command to debug acpid.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Valgrind not included? Zeno McDohl Slackware 1 02-05-2006 03:13 PM
the socket connection between acpid and acpi_listen be disconnected felix_jian Linux - Laptop and Netbook 0 05-04-2005 09:47 PM
Apache included? carlosinfl Debian 1 10-14-2004 05:56 PM
What distro has all these included? kromatic Linux - General 2 07-17-2004 05:42 PM
ssh included with RH 6.2? chosmer Linux - Networking 29 08-17-2002 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration