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 [BZ #9759] 2009-03-15 21:33:19 +00:00
alphasort.c [BZ #9759] 2009-03-15 21:33:19 +00:00
bug-readdir1.c
closedir.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
dirent.h Add support for XPG7 testing. 2010-01-09 10:56:41 -08:00
dirfd.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
fdopendir.c [BZ #2226] 2006-02-12 21:41:44 +00:00
getdents64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getdents.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
list.c
Makefile * sysdeps/unix/fdopendir.c (fdopendir): If O_DIRECTORY is 2006-01-20 21:12:34 +00:00
opendir-tst1.c
opendir.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
readdir64_r.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
readdir64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
readdir_r.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
readdir.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
rewinddir.c Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
scandir64.c * dirent/scandir64.c (scandir64): Adjust declaration to type change. 2009-03-16 22:37:22 +00:00
scandir.c [BZ #9759] 2009-03-15 21:33:19 +00:00
seekdir.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
telldir.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
tst-fdopendir2.c * sysdeps/unix/fdopendir.c (fdopendir): If O_DIRECTORY is 2006-01-20 21:12:34 +00:00
tst-fdopendir.c * dirent/dirent.h: Declare fdopendir. 2005-09-28 21:19:53 +00:00
tst-seekdir.c * sysdeps/unix/rewinddir.c: Reset filepos. 2005-01-16 06:26:38 +00:00
Versions * dirent/dirent.h: Declare fdopendir. 2005-09-28 21:19:53 +00:00
versionsort64.c [BZ #9759] 2009-03-15 21:33:19 +00:00
versionsort.c [BZ #9759] 2009-03-15 21:33:19 +00:00