2c7bbfaf4e
dirfd is XOPEN2K8 only, it should not be exposed along ftw which is earlier. * include/dirent.h (__dirfd): New declaration. * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak alias. * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise. * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise. * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd. |
||
---|---|---|
.. | ||
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-tail.c | ||
scandir64.c | ||
scandir-cancel.c | ||
scandir-tail.c | ||
scandir.c | ||
scandirat64.c | ||
scandirat.c | ||
seekdir.c | ||
telldir.c | ||
tst-fdopendir2.c | ||
tst-fdopendir.c | ||
tst-scandir64.c | ||
tst-scandir.c | ||
tst-seekdir.c | ||
Versions | ||
versionsort64.c | ||
versionsort.c |