]> git.ipfire.org Git - thirdparty/glibc.git/commit
* sysdeps/unix/fdopendir.c (fdopendir): If O_DIRECTORY is
authorUlrich Drepper <drepper@redhat.com>
Fri, 20 Jan 2006 21:12:34 +0000 (21:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 20 Jan 2006 21:12:34 +0000 (21:12 +0000)
commita4f17630670ecf9177b370f9edca4020c5e4131d
tree025a64a57e0a5e04d1dfb3a09fa4c96671a38d06
parent437d7853496eb27ab7c8c3eb7e9315c4b810c6db
* sysdeps/unix/fdopendir.c (fdopendir): If O_DIRECTORY is

available, avoid stat call, use fcntl result to determine whether
descriptor is for a directory or not.
* dirent/Makefile (tests): Add tst-fdopendir2.
* dirent/tst-fdopendir2.c: New file.
ChangeLog
dirent/Makefile
dirent/tst-fdopendir2.c [new file with mode: 0644]
sysdeps/unix/fdopendir.c