glibc/dirent
Ulrich Drepper 7fb90fb89b Fix Linux getcwd for long paths
The getcwd syscall (so far?) can only handle path up to one page
in size.  There is no limit about directory hierarchy depth, though,
and the POSIX getcwd is supposed to handle this.  In that case fall
back to the generic getcwd.

Additionally, optimize the generic getcwd to use openat when possible
to change the asymptotic performance from O(N^2) to O(n).
2011-05-08 08:37:19 -04:00
..
alphasort.c [BZ #9759] 2009-03-15 21:33:19 +00:00
alphasort64.c [BZ #9759] 2009-03-15 21:33:19 +00:00
bug-readdir1.c
closedir.c
dirent.h Add support for XPG7 testing. 2010-01-09 10:56:41 -08:00
dirfd.c
fdopendir.c
getdents.c
getdents64.c
list.c
Makefile
opendir-tst1.c
opendir.c
readdir.c
readdir64.c
readdir64_r.c
readdir_r.c
rewinddir.c Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
scandir.c [BZ #9759] 2009-03-15 21:33:19 +00:00
scandir64.c * dirent/scandir64.c (scandir64): Adjust declaration to type change. 2009-03-16 22:37:22 +00:00
seekdir.c
telldir.c
tst-fdopendir.c
tst-fdopendir2.c
tst-seekdir.c
Versions
versionsort.c [BZ #9759] 2009-03-15 21:33:19 +00:00
versionsort64.c [BZ #9759] 2009-03-15 21:33:19 +00:00