mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
This commit is contained in:
parent
14fedbd1d4
commit
90df76f779
|
@ -39,7 +39,7 @@ kqueue_change (EV_P_ int fd, int filter, int flags, int fflags)
|
|||
{
|
||||
struct kevent *ke;
|
||||
|
||||
array_needsize (kqueue_changes, kqueue_changemax, ++kqueue_changecnt, );
|
||||
array_needsize (struct kevent, kqueue_changes, kqueue_changemax, ++kqueue_changecnt, );
|
||||
|
||||
ke = &kqueue_changes [kqueue_changecnt - 1];
|
||||
memset (ke, 0, sizeof (struct kevent));
|
||||
|
|
|
@ -46,14 +46,14 @@ poll_modify (EV_P_ int fd, int oev, int nev)
|
|||
if (oev == nev)
|
||||
return;
|
||||
|
||||
array_needsize (pollidxs, pollidxmax, fd + 1, pollidx_init);
|
||||
array_needsize (int, pollidxs, pollidxmax, fd + 1, pollidx_init);
|
||||
|
||||
idx = pollidxs [fd];
|
||||
|
||||
if (idx < 0) /* need to allocate a new pollfd */
|
||||
{
|
||||
idx = pollcnt++;
|
||||
array_needsize (polls, pollmax, pollcnt, );
|
||||
array_needsize (struct pollfd, polls, pollmax, pollcnt, );
|
||||
polls [idx].fd = fd;
|
||||
}
|
||||
|
||||
|
@ -118,3 +118,4 @@ poll_destroy (EV_P)
|
|||
ev_free (pollidxs);
|
||||
ev_free (polls);
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ perl -ne '
|
|||
s/\bepoll_sub.c\b//g;
|
||||
s/\bevent-internal.h\b//g;
|
||||
s/\bevsignal.h\b//g;
|
||||
s/^(EXTRA_DIST\s*=\s*)/$1 ev.h ev_vars.h ev_wrap.h event_compat.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c /;
|
||||
s/^(EXTRA_DIST\s*=\s*)/$1 ev.h ev_vars.h ev_wrap.h event_compat.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_win32.c /;
|
||||
s/^(include_HEADERS\s*=\s*)/$1 ev.h event_compat.h /;
|
||||
s/^(libevent_la_SOURCES\s*=\s*)/$1 ev.c /;
|
||||
s/^(libevent_la_LIBADD\s*=\s*)/$1 -lm /;
|
||||
|
|
Loading…
Reference in New Issue