aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-08 00:48:30 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-08 00:48:30 -0400
commit28377d1bf58625172a1734b92e835591d4d23a18 (patch)
tree4a05343e1493965e45971e6f3a7d5566da23596f /ChangeLog
parent66bdbaa4522f561d4ea90a77af243c004ecf642c (diff)
downloadglibc-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--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d2da4e836..132f0d0649 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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