Commit Graph

3 Commits

Author SHA1 Message Date
Xavier Del Campo Romero 95a0adfe78
cftw.c: Add missing portability definition 2023-05-28 12:07:38 +02:00
Xavier Del Campo Romero f33e1c9053
cftw.c: Add missing call to closedir(2) 2023-03-07 12:36:27 +01:00
Xavier Del Campo Romero 804b8841f3
Add cftw
POSIX functions ftw(3) and nftw(3) do not allow passing an opaque
pointer to the callback they call, so it forces the use of statically
allocated data.

ctfw (from "custom ftw") is a custom implementation that solves this,
while also removing unneeded stuff.

This function will be used by future commits.
2023-03-06 05:06:30 +01:00