diff options
| author | Florian Weimer <fweimer@redhat.com> | 2024-09-12 09:40:25 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2024-09-12 09:40:45 +0200 |
| commit | 1251e9ea49fba9f53bbf4f290f3db90c01931fa7 (patch) | |
| tree | 390f602786dc397da403dd3fff319c3e0125b07e /support/Makefile | |
| parent | c444cc1d8335243c5c4e636d6a26c472df85522c (diff) | |
| download | glibc-1251e9ea49fba9f53bbf4f290f3db90c01931fa7.tar.xz glibc-1251e9ea49fba9f53bbf4f290f3db90c01931fa7.zip | |
support: Add <support/readdir.h>
It allows to read directories using the six readdir variants
without writing type-specific code or using skeleton files
that are compiled four times.
The readdir_r subtest for support_readdir_expect_error revealed
bug 32124.
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'support/Makefile')
| -rw-r--r-- | support/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile index 93d32ae75f..84e2419775 100644 --- a/support/Makefile +++ b/support/Makefile @@ -78,6 +78,7 @@ libsupport-routines = \ support_quote_blob \ support_quote_blob_wide \ support_quote_string \ + support_readdir \ support_readdir_check \ support_readdir_r_check \ support_record_failure \ @@ -332,6 +333,7 @@ tests = \ tst-support_quote_blob \ tst-support_quote_blob_wide \ tst-support_quote_string \ + tst-support_readdir \ tst-support_record_failure \ tst-test_compare \ tst-test_compare_blob \ |
