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
..
alphasort64.c
alphasort.c
bug-readdir1.c
closedir.c
dirent.h
dirfd.c
fdopendir.c
getdents64.c
getdents.c
list.c
Makefile
opendir-tst1.c
opendir.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
rewinddir.c Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
scandir64.c
scandir.c
seekdir.c
telldir.c
tst-fdopendir2.c
tst-fdopendir.c
tst-seekdir.c
Versions
versionsort64.c
versionsort.c