SOURCES: tpop3d-poll.patch - updated
arekm
arekm at pld-linux.org
Sun Jun 25 20:50:37 CEST 2006
Author: arekm Date: Sun Jun 25 18:50:37 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated
---- Files affected:
SOURCES:
tpop3d-poll.patch (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SOURCES/tpop3d-poll.patch
diff -u SOURCES/tpop3d-poll.patch:1.6 SOURCES/tpop3d-poll.patch:1.7
--- SOURCES/tpop3d-poll.patch:1.6 Sun Jun 25 20:44:57 2006
+++ SOURCES/tpop3d-poll.patch Sun Jun 25 20:50:31 2006
@@ -35,7 +35,7 @@
if ((io->accept_blocked_on_read && canread) || (io->accept_blocked_on_write && canwrite)) {
diff -urN tpop3d-1.5.3.org/netloop.c tpop3d-1.5.3/netloop.c
--- tpop3d-1.5.3.org/netloop.c 2006-06-25 20:16:47.000000000 +0200
-+++ tpop3d-1.5.3/netloop.c 2006-06-25 20:43:02.000000000 +0200
++++ tpop3d-1.5.3/netloop.c 2006-06-25 20:50:08.000000000 +0200
@@ -124,7 +124,7 @@
item *t;
vector_iterate(listeners, t) {
@@ -45,12 +45,12 @@
struct sockaddr_in sin, sinlocal;
size_t l = sizeof(sin);
static int tcp_send_buf = -1;
-@@ -552,7 +552,7 @@
- while (!foad) {
+@@ -553,6 +553,8 @@
int n = 0, e;
-- memset(pfds, 0, max_connections * sizeof(struct pollfd));
-+ memset(pfds, -1, max_connections * sizeof(struct pollfd));
+ memset(pfds, 0, max_connections * sizeof(struct pollfd));
++ for (n = 0; n < max_connections; n++)
++ pfds[n].fd = -1;
if (!post_fork) listeners_pre_select(&n, pfds);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/tpop3d-poll.patch?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list