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

Comparing libeio/eio.c (file contents):
Revision 1.151 by root, Tue Jul 31 22:41:11 2018 UTC vs.
Revision 1.152 by root, Fri Aug 17 17:16:22 2018 UTC

1395 return; 1395 return;
1396 } 1396 }
1397 } 1397 }
1398#else 1398#else
1399 #if HAVE_AT 1399 #if HAVE_AT
1400 if (req->wd)
1401 { 1400 {
1402 int fd = openat (WD2FD (req->wd), req->ptr1, O_CLOEXEC | O_SEARCH | O_DIRECTORY); 1401 int fd = openat (WD2FD (req->wd), req->ptr1, O_CLOEXEC | O_SEARCH | O_DIRECTORY);
1403 1402
1404 if (fd < 0) 1403 if (fd < 0)
1405 return; 1404 return;
1406 1405
1407 dirp = fdopendir (fd); 1406 dirp = fdopendir (fd);
1408 1407
1409 if (!dirp) 1408 if (!dirp)
1410 silent_close (fd); 1409 silent_close (fd);
1411 } 1410 }
1412 else
1413 dirp = opendir (req->ptr1);
1414 #else 1411 #else
1415 dirp = opendir (wd_expand (&self->tmpbuf, req->wd, req->ptr1)); 1412 dirp = opendir (wd_expand (&self->tmpbuf, req->wd, req->ptr1));
1416 #endif 1413 #endif
1417 1414
1418 if (!dirp) 1415 if (!dirp)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines