git-svn: trunk@933
remotes/push_mirror/metadata
Tomasz Kojm 21 years ago
parent 0055c29541
commit 262f820841
  1. 5
      clamav-devel/ChangeLog
  2. 2
      clamav-devel/clamav-config
  3. 3
      clamav-devel/clamd/others.c
  4. BIN
      clamav-devel/docs/MacOSX/Macintosh.tar.gz

@ -1,3 +1,8 @@
Mon Sep 27 18:46:26 CEST 2004 (tk)
----------------------------------
* clamd/others.c: disable broken poll() code in is_fd_connected()
* docs/MacOSX: update (Dale Enterprise L.L.C)
Mon Sep 27 13:44:45 BST 2004 (njh)
----------------------------------
* clamav-milter: SESSIONS: try to gracefully close when shutting down

@ -46,7 +46,7 @@ while test $# -gt 0; do
;;
--version)
echo devel-20040926
echo devel-20040927
exit 0
;;

@ -138,6 +138,7 @@ int poll_fd(int fd, int timeout_sec)
int is_fd_connected(int fd)
{
#undef HAVE_POLL /* temporarily disabled */
#ifdef HAVE_POLL
struct pollfd poll_data[1];
@ -146,7 +147,7 @@ int is_fd_connected(int fd)
poll_data[0].revents = 0;
if (poll(poll_data, 1, 0) == -1) {
return 1;
return 0;
}
if (poll_data[0].revents & POLLHUP) {
return 0;

Loading…
Cancel
Save