ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.270 by root, Thu Oct 30 13:07:10 2008 UTC vs.
Revision 1.272 by root, Mon Nov 3 12:17:40 2008 UTC

2432 if (w->wd < 0) 2432 if (w->wd < 0)
2433 { 2433 {
2434 ev_timer_start (EV_A_ &w->timer); /* this is not race-free, so we still need to recheck periodically */ 2434 ev_timer_start (EV_A_ &w->timer); /* this is not race-free, so we still need to recheck periodically */
2435 2435
2436 /* monitor some parent directory for speedup hints */ 2436 /* monitor some parent directory for speedup hints */
2437 /* note that exceeding the hardcoded limit is not a correctness issue, */ 2437 /* note that exceeding the hardcoded path limit is not a correctness issue, */
2438 /* but an efficiency issue only */ 2438 /* but an efficiency issue only */
2439 if ((errno == ENOENT || errno == EACCES) && strlen (w->path) < 4096) 2439 if ((errno == ENOENT || errno == EACCES) && strlen (w->path) < 4096)
2440 { 2440 {
2441 char path [4096]; 2441 char path [4096];
2442 strcpy (path, w->path); 2442 strcpy (path, w->path);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines