aboutsummaryrefslogtreecommitdiff
path: root/support/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-09-12 09:40:25 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-09-12 09:40:45 +0200
commit1251e9ea49fba9f53bbf4f290f3db90c01931fa7 (patch)
tree390f602786dc397da403dd3fff319c3e0125b07e /support/Makefile
parentc444cc1d8335243c5c4e636d6a26c472df85522c (diff)
downloadglibc-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/Makefile2
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 \