diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-03-01 15:55:25 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-04-03 08:57:17 -0300 |
commit | 8e4754ed7ed60e3243ce83eee14bdcc7b88b73d1 (patch) | |
tree | d79e246adf2d4d9e66ed4f9c3fc8840a7e78fa54 /scripts/build-many-glibcs.py | |
parent | 57408435ad7716715fa3a74c874eb3dc4db61861 (diff) | |
download | glibc-8e4754ed7ed60e3243ce83eee14bdcc7b88b73d1.tar.gz glibc-8e4754ed7ed60e3243ce83eee14bdcc7b88b73d1.tar.xz glibc-8e4754ed7ed60e3243ce83eee14bdcc7b88b73d1.zip |
Assume O_DIRECTORY for opendir
This patch assumes O_DIRECTORY works as defined by POSIX on opendir implementation (aligning with other glibc code, for instance pwd). This allows remove both the fallback code to handle system with missing or broken O_DIRECTORY along with the Linux specific opendir.c which just advertise the working flag. Checked on aarch64-linux-gnu, x86_64-linux-gnu, i686-linux-gnu, sparcv9-linux-gnu, sparc64-linux-gnu, powerpc-linux-gnu, and powerpc64le-linux-gnu. * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory): Remove definitions. (opendir_oflags): Use O_DIRECTORY regardless. (__opendir, __opendirat): Remove need_isdir_precheck usage. * sysdeps/unix/sysv/linux/opendir.c: Remove file.
Diffstat (limited to 'scripts/build-many-glibcs.py')
0 files changed, 0 insertions, 0 deletions