[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

aCaB acab at clamav.net
Sun Apr 4 01:23:14 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit ced85d637c0cdac0175b4a95d7391776e77713f5
Author: aCaB <acab at clamav.net>
Date:   Sun Mar 21 11:44:07 2010 +0100

    bb#1889

diff --git a/clamd/others.c b/clamd/others.c
index c4df2c0..90e20f1 100644
--- a/clamd/others.c
+++ b/clamd/others.c
@@ -523,13 +523,14 @@ int fds_poll_recv(struct fd_data *data, int timeout, int check_signals, void *ev
 		if (revents & (POLLIN|POLLHUP)) {
 		    logg("$Received POLLIN|POLLHUP on fd %d\n",data->poll_data[i].fd);
 		}
+#ifndef _WIN32
 		if (revents & POLLHUP) {
                        /* avoid SHUT_WR problem on Mac OS X */
                        int ret = send(data->poll_data[i].fd, &n, 0, 0);
                        if (!ret || (ret == -1 && errno == EINTR))
                                revents &= ~POLLHUP;
 		}
-
+#endif
 		if (revents & POLLIN) {
 		    int ret = read_fd_data(&data->buf[i]);
 		    /* Data available to be read */

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list