aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-05-13 12:34:11 -0700
committerRoland McGrath <roland@hack.frob.com>2015-05-13 12:34:11 -0700
commitd2ee815ad677bba720c4f0275c1d6065f5809e7a (patch)
treebdf787aecee9e951a71ce1d852e26b4412743803 /ChangeLog
parent83c10893259916152d277327fa37d8f70bb4d4c2 (diff)
downloadglibc-d2ee815ad677bba720c4f0275c1d6065f5809e7a.tar
glibc-d2ee815ad677bba720c4f0275c1d6065f5809e7a.tar.gz
glibc-d2ee815ad677bba720c4f0275c1d6065f5809e7a.tar.bz2
glibc-d2ee815ad677bba720c4f0275c1d6065f5809e7a.zip
Refactor scandir/scandirat to use common tail.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 00079ec3b3..6ecfde29c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2015-05-13 Roland McGrath <roland@hack.frob.com>
+ * dirent/scandir64-tail.c: New file.
+ * dirent/Makefile (routines): Add them.
+ * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
+ * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
+ [!SCANDIR] (SCANDIR_TAIL): New macro.
+ (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
+ * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
+ (SCANDIRAT): Macro removed.
+ (SCANDIR_TAIL): New macro.
+ * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
+ [!SCANDIRAT] (SCANDIR_TAIL): New macro.
+ (SCANDIRAT): Just call __opendirat and __scandir_tail.
+ * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
+ (READDIR): Macro removed.
+ (SCANDIR_TAIL): New macro.
+ * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
+ (SCANDIR_TAIL): New macro.
+
* dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
* dirent/scandir-cancel.c: ... to this new file.
* dirent/Makefile (routines): Add it.