mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 11:41:07 +00:00
7fb90fb89b
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). |
||
---|---|---|
.. | ||
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 | ||
scandir64.c | ||
scandir.c | ||
seekdir.c | ||
telldir.c | ||
tst-fdopendir2.c | ||
tst-fdopendir.c | ||
tst-seekdir.c | ||
Versions | ||
versionsort64.c | ||
versionsort.c |