[libc-commits] [libc] [libc] Implement alphasort in dirent (PR #226487)
via libc-commits
libc-commits at lists.llvm.org
Fri Sep 25 06:28:02 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Aman Maurya (amanmaurya92)
<details>
<summary>Changes</summary>
Implement the standard POSIX.1-2008 / POSIX.1-2024 function `alphasort` in `<dirent.h>`.
Fixes #<!-- -->226457
---
Full diff: https://github.com/llvm/llvm-project/pull/226487.diff
9 Files Affected:
- (modified) libc/config/linux/aarch64/entrypoints.txt (+1)
- (modified) libc/config/linux/arm/entrypoints.txt (+1)
- (modified) libc/config/linux/riscv/entrypoints.txt (+1)
- (modified) libc/config/linux/x86_64/entrypoints.txt (+1)
- (modified) libc/src/dirent/CMakeLists.txt (+14)
- (added) libc/src/dirent/alphasort.cpp (+27)
- (added) libc/src/dirent/alphasort.h (+26)
- (modified) libc/test/src/dirent/CMakeLists.txt (+13)
- (added) libc/test/src/dirent/alphasort_test.cpp (+105)
``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````
</details>
https://github.com/llvm/llvm-project/pull/226487
More information about the libc-commits
mailing list