1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2026-10-24 00:48:56 +03:00
Files
gnulib/modules/fts
Paul Eggert ad91764fda fts: pacify GCC 16 -Wfree-labels
Evidently those FALLTHROUGHs were put in to pacify an old
version of GCC, but that’s no longer needed and nowadays
is even counterproductive.
* lib/fts.c (FALLTHROUGH): Remove; no longer used.
(leaf_optimization): Remove the FALLTHROUGHs.
* modules/fts (Depends-on): Remove ‘attribute’.
2026-05-07 19:19:04 -07:00

76 lines
1.0 KiB
Plaintext

Description:
Traverse a file hierarchy.
Files:
lib/fts.in.h
lib/fts.c
lib/fts-cycle.c
m4/fts.m4
m4/sys_cdefs_h.m4
Depends-on:
gen-header
alignasof
c99
calloc-posix
close
closedir
cycle-check
d-ino
d-type
dirfd
fchdir
fcntl
fcntl-h
fcntl-safer
flexmember
free-posix
fstat
fstatat
hash
i-ring
malloc-posix
memmove
openat
openat-h
opendirat
readdir
reallocarray
realloc-posix
bool
stddef-h
stdint-h
streq
configure.ac:
gl_FUNC_FTS
dnl Use this version of fts unconditionally, since the GNU libc and
dnl NetBSD versions have bugs and/or unnecessary limitations.
gl_CONDITIONAL([GL_COND_OBJ_FTS], [true])
Makefile.am:
BUILT_SOURCES += fts_.h
if GL_COND_OBJ_FTS
lib_SOURCES += fts.c
endif
fts_.h: fts.in.h
@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
$(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
$(srcdir)/fts.in.h > $@-t
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += fts_.h fts_.h-t
Include:
"fts_.h"
Link:
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
License:
GPL
Maintainer:
Jim Meyering