Browse Source

rmeove remaining debugging code

master
Marc Alexander Lehmann 14 years ago
parent
commit
1392c0d64f
  1. 1
      ev.c
  2. 4
      ev_epoll.c

1
ev.c

@ -85,7 +85,6 @@ get_clock (void)
if ((cnt) > cur) \
{ \
int newcnt = cur ? cur << 1 : 16; \
fprintf (stderr, "resize(" # base ") from %d to %d\n", cur, newcnt);\
base = realloc (base, sizeof (*base) * (newcnt)); \
init (base + cur, newcnt - cur); \
cur = newcnt; \

4
ev_epoll.c

@ -13,9 +13,7 @@ epoll_modify (int fd, int oev, int nev)
(nev & EV_READ ? EPOLLIN : 0)
| (nev & EV_WRITE ? EPOLLOUT : 0);
fprintf (stderr, "reify %d,%d,%d m%d (r=%d)\n", fd, oev, nev, mode,//D
epoll_ctl (epoll_fd, mode, fd, &ev)
);//D
epoll_ctl (epoll_fd, mode, fd, &ev);
}
void epoll_postfork_child (void)

Loading…
Cancel
Save