Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-01 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
2016-01-04 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
2015-05-13 | Refactor scandir/scandirat to use common tail. | Roland McGrath | |
2015-05-13 | Break __scandir_cancel_handler out into its own file. | Roland McGrath | |
2015-02-19 | Fix scandir scandirat namespace (bug 17999). | Joseph Myers | |
The POSIX function scandir calls scandirat, which is not a POSIX function. This patch fixes this by making it use __scandirat and making scandirat a weak alias. There are no changes for scandir64 / scandirat64 because those are both _GNU_SOURCE-only functions so no namespace issue arises for them. Tested for x86_64 that the disassembly of installed shared libraries is unchanged by this patch. [BZ #17999] * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat instead of scandirat. * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise. [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define. [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of __scandirat. * include/dirent.h (scandirat): Do not use libc_hidden_proto. (__scandirat): Declare. Use libc_hidden_proto. * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace): Remove variable. (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise. | |||
2015-01-02 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
2014-02-10 | Use glibc_likely instead __builtin_expect. | Ondřej Bílka | |
2014-01-01 | Update copyright notices with scripts/update-copyrights | Allan McRae | |
2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | |
2012-08-06 | Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == ↵ | Roland McGrath | |
struct dirent64. | |||
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | |
2011-08-11 | Clean up PLT use for scandirat | Andreas Schwab | |
2011-08-09 | Implement scandirat function | Ulrich Drepper | |