Hash :
34bd9be1
Author :
Date :
2024-08-01T13:52:30
Ensure consistent effects of _LINUX_SOURCE_COMPAT. * modules/extensions (configure.ac-early): New section. * m4/extensions-aix.m4: New file. * modules/extensions-aix: New file. * m4/errno_h.m4 (gl_HEADER_ERRNO_H): Require gl_USE_AIX_EXTENSIONS, instead of defining _LINUX_SOURCE_COMPAT at this stage. * m4/malloc.m4 (gl_FUNC_MALLOC_GNU): Likewise. * m4/calloc.m4 (gl_FUNC_CALLOC_GNU): Likewise. * m4/realloc.m4 (gl_FUNC_REALLOC_GNU): Likewise. * m4/scandir.m4 (gl_FUNC_SCANDIR): Likewise. * modules/errno (Depends-on): Add extensions-aix. * modules/malloc-gnu (Depends-on): Likewise. * modules/calloc-gnu (Depends-on): Likewise. * modules/realloc-gnu (Depends-on): Likewise. * modules/scandir (Depends-on): Likewise.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Description:
scandir() function: collect entries of a directory
Files:
lib/scandir.c
m4/scandir.m4
Depends-on:
builtin-expect
closedir
dirent
extensions
extensions-aix
largefile
opendir
readdir
configure.ac:
gl_FUNC_SCANDIR
gl_CONDITIONAL([GL_COND_OBJ_SCANDIR], [test $HAVE_SCANDIR = 0])
AM_COND_IF([GL_COND_OBJ_SCANDIR], [
gl_PREREQ_SCANDIR
])
gl_DIRENT_MODULE_INDICATOR([scandir])
Makefile.am:
if GL_COND_OBJ_SCANDIR
lib_SOURCES += scandir.c
endif
Include:
<dirent.h>
License:
LGPL
Maintainer:
all, glibc