aboutsummaryrefslogtreecommitdiff
path: root/support/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-08-30 21:52:10 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-09-05 12:05:32 +0200
commit3b1d32177635023e37bec7fbfd77c3cfb2659eb1 (patch)
tree2e52d59fb8a28af91baf5a0a328e6b3ecd6fbcec /support/Makefile
parentb09a520bb6d98d465818aadfd0641751ce824053 (diff)
downloadglibc-3b1d32177635023e37bec7fbfd77c3cfb2659eb1.tar.xz
glibc-3b1d32177635023e37bec7fbfd77c3cfb2659eb1.zip
support: Add <support/xdirent.h>
Use static functions for readdir/readdir_r, so that -D_FILE_OFFSET_BITS=64 does not improperly redirect calls to the wrong implementation. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'support/Makefile')
-rw-r--r--support/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile
index 26bd3d38e4..8fb4d2c500 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -77,6 +77,8 @@ libsupport-routines = \
support_quote_blob \
support_quote_blob_wide \
support_quote_string \
+ support_readdir_check \
+ support_readdir_r_check \
support_record_failure \
support_run_diff \
support_select_modifies_timeout \
@@ -119,6 +121,7 @@ libsupport-routines = \
xclock_settime_time64 \
xclone \
xclose \
+ xclosedir \
xconnect \
xcopy_file_range \
xdlfcn \
@@ -126,6 +129,7 @@ libsupport-routines = \
xdup2 \
xfchmod \
xfclose \
+ xfdopendir \
xfgets \
xfopen \
xfork \
@@ -147,6 +151,7 @@ libsupport-routines = \
xmunmap \
xnewlocale \
xopen \
+ xopendir \
xpipe \
xpoll \
xposix_memalign \
@@ -331,6 +336,7 @@ tests = \
tst-test_compare_string \
tst-test_compare_string_wide \
tst-timespec \
+ tst-xdirent \
tst-xreadlink \
tst-xsigstack \
# tests