summaryrefslogtreecommitdiff
path: root/scheduler/select.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2013-07-17 01:07:00 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2013-07-17 01:07:00 +0000
commit990c79d2787c244dbfb414f75b07963e18e663bd (patch)
tree4f2828631e22e71f4e6902b64c47da9d5f47ce3d /scheduler/select.c
parentcca2420513f0bca4fbf33d5a8ea31d9d17a159a2 (diff)
downloadcups-990c79d2787c244dbfb414f75b07963e18e663bd.tar.gz
The cups-exec helper program could fail randomly on OS X due to sandbox
violations when closing excess file descriptors (<rdar://problem/14421943>) The scheduler incorrectly did not use the kqueue interface on OS X. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11142 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/select.c')
-rw-r--r--scheduler/select.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scheduler/select.c b/scheduler/select.c
index 44fa20b4c..16061d95e 100644
--- a/scheduler/select.c
+++ b/scheduler/select.c
@@ -3,7 +3,7 @@
*
* Select abstraction functions for the CUPS scheduler.
*
- * Copyright 2007-2012 by Apple Inc.
+ * Copyright 2007-2013 by Apple Inc.
* Copyright 2006-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
@@ -30,7 +30,6 @@
*/
#include "cupsd.h"
-#undef HAVE_KQUEUE
#ifdef HAVE_EPOLL
# include <sys/epoll.h>