summaryrefslogtreecommitdiffstats
path: root/bftw.c
AgeCommit message (Collapse)Author
2015-09-02Print the root file/directory too.Tavian Barnes
2015-08-31bftw: Store the paths with a trailing slash.Tavian Barnes
2015-08-31bftw: Fix path size of /.Tavian Barnes
2015-08-30Add -type support.Tavian Barnes
Fixes #2.
2015-07-27Infer the right value for nopenfd, and recover from EMFILE.Tavian Barnes
2015-07-25Recover from errors in diropen().Tavian Barnes
Fixes #4.
2015-07-23bftw: New struct BFTW type to hold file attributes.Tavian Barnes
Like nftw()'s struct FTW. level is needed to implement -mindepth/ -maxdepth.
2015-07-19bftw: Assume struct dirent::d_type exists if DT_* are defined.Tavian Barnes
Only glibc defines _DIRENT_HAVE_D_TYPE, but other C libraries have d_type too. This should fix #3.
2015-06-23Assorted optimizations.Tavian Barnes
2015-06-21bftw: Don't add extra slashes.Tavian Barnes
This fixes "bfs /" among other things.
2015-06-18bftw: Add flags parameter and BFTW_STAT flag.Tavian Barnes
2015-06-14Implement bftw().Tavian Barnes