epoll on Linux is broken with /dev/null so it needs to be disabled.

Instead of adding another BROKEN_* define, move event_init into
osdep-*.c.
This commit is contained in:
Nicholas Marriott
2010-12-30 20:41:08 +00:00
parent ba89a048ed
commit 436f3b357e
10 changed files with 87 additions and 34 deletions

7
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: configure,v 1.59 2010-12-08 19:55:31 nicm Exp $
# $Id: configure,v 1.60 2010-12-30 20:41:07 nicm Exp $
#
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
#
@ -30,8 +30,6 @@ cat <<EOF >>$CONFIG_H
#undef HAVE_ASPRINTF
#undef HAVE_BROKEN_CMSG_FIRSTHDR
#undef HAVE_BROKEN_CURSES_H
#undef HAVE_BROKEN_KQUEUE
#undef HAVE_BROKEN_POLL
#undef HAVE_BZERO
#undef HAVE_CLOSEFROM
#undef HAVE_DAEMON
@ -185,8 +183,6 @@ EOF
cat <<EOF >>$CONFIG_H
#define HAVE_ASPRINTF
#define HAVE_BROKEN_CMSG_FIRSTHDR
#define HAVE_BROKEN_KQUEUE
#define HAVE_BROKEN_POLL
#define HAVE_BZERO
#define HAVE_DAEMON
#define HAVE_DIRFD
@ -222,7 +218,6 @@ EOF
FreeBSD|DragonFly)
cat <<EOF >>$CONFIG_H
#define HAVE_ASPRINTF
#define HAVE_BROKEN_KQUEUE
#define HAVE_BZERO
#define HAVE_CLOSEFROM
#define HAVE_DAEMON