THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#349 - "Protocol not supported" error while operating with Awesome via 
awesome-client.
User who did this - Konstantin Stepanov (kstep)

----------
In patch:

+    #ifndef __FreeBSD__
    csfd = socket(AF_UNIX, SOCK_SEQPACKET, 0);
+    #else
+    csfd = socket(PF_UNIX, SOCK_STREAM, 0);
+    #endif

AF_UNIX => PF_UNIX (or even PF_LOCAL, which is better according "man socket", 
as PF_UNIX is deprecated),
SOCK_SEQPACKET => SOCK_STREAM.

And here:

+    #ifndef __FreeBSD__
    if(send(csfd, msg, msg_len, MSG_NOSIGNAL | MSG_EOR) == -1)
+    #else
+    if(send(csfd, msg, msg_len, MSG_NOSIGNAL | MSG_EOF) == -1)
+    #endif

MSG_EOR => MSG_EOF,
there's "illegal parameters" error when send()'ing.
----------

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=349#comment814

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to