[launchd-changes] [23912] trunk/launchd/src/launchctl.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 27 16:25:54 PDT 2009
Revision: 23912
http://trac.macosforge.org/projects/launchd/changeset/23912
Author: dsorresso at apple.com
Date: 2009-04-27 16:25:54 -0700 (Mon, 27 Apr 2009)
Log Message:
-----------
Last commit:
<rdar://problem/6828026> launchctl should open /dev/console so diagnostic messages are visible
This commit:
<rdar://problem/6827830> launchd should pass -1 to listen(2)'s backlog argument to respect Server's increased backlog
Modified Paths:
--------------
trunk/launchd/src/launchctl.c
Modified: trunk/launchd/src/launchctl.c
===================================================================
--- trunk/launchd/src/launchctl.c 2009-04-27 22:58:27 UTC (rev 23911)
+++ trunk/launchd/src/launchctl.c 2009-04-27 23:25:54 UTC (rev 23912)
@@ -1193,7 +1193,7 @@
if (setm) {
chmod(sun.sun_path, sun_mode);
}
- if ((st == SOCK_STREAM || st == SOCK_SEQPACKET) && listen(sfd, SOMAXCONN) == -1) {
+ if ((st == SOCK_STREAM || st == SOCK_SEQPACKET) && listen(sfd, -1) == -1) {
close(sfd);
return;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090427/fc3192bb/attachment.html>
More information about the launchd-changes
mailing list