summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-08-19 23:42:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-08-19 23:42:47 +0000
commit84ce1f08a197026ecd3eed24fa221a0da0130f8b (patch)
treec067c4e5576fa9c43c16af92f5d2cd7679698155 /sys
parent1480108cd4e75c6b7519346a096eec0ee7d2593b (diff)
Crank FD_SETSIZE from 256 to 1024 by default. Almost all users of
static fd_set have been changed to be dynamic or to use poll. Note that some libraries in ports (specifically gtk) will complain if clients are built with a different FD_SETSIZE from the library. deraadt@ OK.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h
index e5dcae70857..bface2bde5a 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: types.h,v 1.20 2003/06/26 17:07:01 jolan Exp $ */
+/* $OpenBSD: types.h,v 1.21 2003/08/19 23:42:46 millert Exp $ */
/* $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ */
/*-
@@ -159,7 +159,7 @@ __END_DECLS
* be enough for most uses.
*/
#ifndef FD_SETSIZE
-#define FD_SETSIZE 256
+#define FD_SETSIZE 1024
#endif
typedef int32_t fd_mask;