--- libev/ev.c 2008/05/06 15:29:58 1.232 +++ libev/ev.c 2008/05/06 23:34:16 1.233 @@ -522,7 +522,7 @@ /*****************************************************************************/ -#define MALLOC_ROUND 4096 // prefer to allocate in chunks of this size, must be 2**n and >> 4 longs +#define MALLOC_ROUND 4096 /* prefer to allocate in chunks of this size, must be 2**n and >> 4 longs */ int inline_size array_nextsize (int elem, int cur, int cnt) @@ -2118,6 +2118,8 @@ ev_timer_start (EV_A_ &w->timer); /* this is not race-free, so we still need to recheck periodically */ /* monitor some parent directory for speedup hints */ + /* note that exceeding the hardcoded limit is not a correctness issue, */ + /* but an efficiency issue only */ if ((errno == ENOENT || errno == EACCES) && strlen (w->path) < 4096) { char path [4096];