[dovecot-cvs] dovecot/src/lib Makefile.am, 1.42, 1.43 ioloop-poll.c, 1.23, 1.24

cras at dovecot.org cras at dovecot.org
Mon Sep 6 00:10:03 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv11643/src/lib

Modified Files:
	Makefile.am ioloop-poll.c 
Log Message:
Added epoll support if --with-ioloop=epoll is given. Patch by Andrey Panin.



Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/Makefile.am,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- Makefile.am	23 Aug 2004 10:05:47 -0000	1.42
+++ Makefile.am	5 Sep 2004 21:10:00 -0000	1.43
@@ -30,6 +30,7 @@
 	ioloop-notify-dn.c \
 	ioloop-poll.c \
 	ioloop-select.c \
+	ioloop-epoll.c \
 	lib.c \
 	lib-signals.c \
 	md4.c \

Index: ioloop-poll.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ioloop-poll.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- ioloop-poll.c	25 Aug 2004 12:27:44 -0000	1.23
+++ ioloop-poll.c	5 Sep 2004 21:10:00 -0000	1.24
@@ -141,7 +141,7 @@
 
 	ret = poll(data->fds, data->fds_pos, msecs);
 	if (ret < 0 && errno != EINTR)
-		i_warning("poll() : %m");
+		i_fatal("poll(): %m");
 
 	/* execute timeout handlers */
         io_loop_handle_timeouts(ioloop);



More information about the dovecot-cvs mailing list