diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-05-08 00:48:30 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-08 00:48:30 -0400 |
commit | 28377d1bf58625172a1734b92e835591d4d23a18 (patch) | |
tree | 4a05343e1493965e45971e6f3a7d5566da23596f /ChangeLog | |
parent | 66bdbaa4522f561d4ea90a77af243c004ecf642c (diff) | |
download | glibc-28377d1bf58625172a1734b92e835591d4d23a18.tar glibc-28377d1bf58625172a1734b92e835591d4d23a18.tar.gz glibc-28377d1bf58625172a1734b92e835591d4d23a18.tar.bz2 glibc-28377d1bf58625172a1734b92e835591d4d23a18.zip |
Optimize fdopendir a bit.
Don't call fcntl(F_SETFD) unnecessarily.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2011-05-08 Ulrich Drepper <drepper@gmail.com> + + * include/dirent.h (__alloc_dir): Add flags parameter. + * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir. + * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to + __alloc_dir. + (__alloc_dir): Take new parameter. Don't call fcntl for invocations + from fdopendir if O_CLOEXEC is already set. + 2011-03-15 Alan Modra <amodra@gmail.com> * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle |