diff options
author | ru <ru@FreeBSD.org> | 2012-03-02 10:03:38 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2012-03-02 10:03:38 +0000 |
commit | 50f29d6e48bfdf86bb45e982b75cf4bce1c9681c (patch) | |
tree | 784bc7582b6729e0faebeb3b191a7f68ef819b0a /lib/libc/sys | |
parent | f90febf94750a1e4d57d01ee20c7d2fc12725531 (diff) | |
download | FreeBSD-src-50f29d6e48bfdf86bb45e982b75cf4bce1c9681c.zip FreeBSD-src-50f29d6e48bfdf86bb45e982b75cf4bce1c9681c.tar.gz |
Finally removed the stat() and fstat() calls from the opendir() code.
They were made excessive in r205424 by opening with O_DIRECTORY.
Also eliminated the fcntl() call used to set FD_CLOEXEC by opening
with O_CLOEXEC.
(fdopendir() still checks that the passed descriptor is a directory,
and sets FD_CLOEXEC on it.)
Reviewed by: ed
Diffstat (limited to 'lib/libc/sys')
0 files changed, 0 insertions, 0 deletions