Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 14 years ago
parent
commit
6d17e341d8
  1. 8
      ev_kqueue.c
  2. 3117
      evdns.c
  3. 2
      import_libevent

8
ev_kqueue.c

@ -59,17 +59,17 @@ kqueue_modify (EV_P_ int fd, int oev, int nev)
if ((oev ^ nev) & EV_READ)
{
if (nev & EV_READ)
kqueue_change (fd, EVFILT_READ, EV_ADD, NOTE_EOF);
kqueue_change (EV_A_ fd, EVFILT_READ, EV_ADD, NOTE_EOF);
else
kqueue_change (fd, EVFILT_READ, EV_DELETE, 0);
kqueue_change (EV_A_ fd, EVFILT_READ, EV_DELETE, 0);
}
if ((oev ^ nev) & EV_WRITE)
{
if (nev & EV_WRITE)
kqueue_change (fd, EVFILT_WRITE, EV_ADD, NOTE_EOF);
kqueue_change (EV_A_ fd, EVFILT_WRITE, EV_ADD, NOTE_EOF);
else
kqueue_change (fd, EVFILT_WRITE, EV_DELETE, 0);
kqueue_change (EV_A_ fd, EVFILT_WRITE, EV_DELETE, 0);
}
}

3117
evdns.c
File diff suppressed because it is too large
View File

2
import_libevent

@ -14,7 +14,7 @@ perl -ne '
print "#ifndef EV_STANDALONE\n$_#endif\n";
next;
}
if (/#include "(unistd.h|sys/time.h)"/) {
if (/#include "(unistd.h|sys\/time.h)"/) {
print "#ifndef WIN32\n$_#endif\n";
next;
}

Loading…
Cancel
Save