summaryrefslogtreecommitdiffstats
path: root/bftw.c
Commit message (Expand)AuthorAgeFilesLines
* bftw: Use a dynamic array for the cacheTavian Barnes2022-01-181-45/+42
* util: New close() wrappers to check for EBADF and preserve errnoTavian Barnes2022-01-181-2/+2
* bftw: Fix bftw_type() for broken links and BFS_STAT_FOLLOWTavian Barnes2021-03-101-4/+12
* Update copyright datesTavian Barnes2021-02-051-1/+1
* bftw: Share the fd between the cache and open bfs_dirTavian Barnes2021-01-291-38/+27
* dir: New DIR* facadeTavian Barnes2021-01-281-140/+48
* bftw: Get rid of bftw_readerTavian Barnes2021-01-281-98/+64
* bftw: Avoid allocating when handling ENAMETOOLONGTavian Barnes2021-01-281-52/+30
* bftw: Allow for NULL base when recovering from EMFILETavian Barnes2021-01-281-1/+1
* Include what I useTavian Barnes2020-11-121-2/+2
* Enable -Wsign-compare to catch bugs like 726d7801Tavian Barnes2020-11-041-1/+1
* util: New BFS_FLEX_SIZEOF() macro for more precise flexible array allocationsTavian Barnes2020-10-131-1/+1
* bftw: Fix bftw_cached_stat() with BFS_STAT_TRYFOLLOWTavian Barnes2020-09-201-1/+5
* stat: Rename bfs_stat_flag to _flagsTavian Barnes2020-09-181-4/+4
* Don't call stat() just to determine symbolic lengthsTavian Barnes2020-09-181-0/+8
* bftw: Make some flag names more explicitTavian Barnes2020-07-291-10/+10
* bftw: Rename bftw_typeflag to bftw_type, and make it not a bitmaskTavian Barnes2020-07-291-27/+27
* Implement exponential deepening searchTavian Barnes2020-06-161-12/+61
* bftw: Factor out some of the iterative deepening harnessTavian Barnes2020-06-121-39/+65
* bftw: Only do another level of deepening if there are unexplored directoriesTavian Barnes2020-06-121-3/+4
* bftw: Make iterative deepening actually do depth-first searchTavian Barnes2020-06-121-15/+21
* Implement -s flag from FreeBSD find to sort resultsTavian Barnes2020-03-211-3/+80
* bftw: Use a two-star approach to the bftw_queue linked listTavian Barnes2020-03-201-58/+28
* bftw: Avoid shadowing a variableTavian Barnes2019-11-011-5/+2
* mtab: Rename maybe_mount to might_be_mountTavian Barnes2019-08-291-1/+1
* Make -mount and -xdev do different thingsTavian Barnes2019-07-041-14/+25
* bftw: Track the root bftw_file, not just the pathTavian Barnes2019-07-041-8/+7
* bftw: Use a flags enum rather than two bools for bftw_release_*()Tavian Barnes2019-07-031-24/+33
* bftw: Remove a dead assignmentTavian Barnes2019-06-271-1/+0
* bftw: Only rebuild the part of the path that changesTavian Barnes2019-06-251-24/+42
* bftw: Queue individual files in depth-first modeTavian Barnes2019-06-251-79/+150
* bftw: Don't store bftw_file in bftw_readerTavian Barnes2019-06-251-69/+72
* bftw: Remove BFTW_SKIP_SIBLINGSTavian Barnes2019-06-251-24/+11
* bftw: Rename bftw_dir to bftw_fileTavian Barnes2019-06-251-214/+213
* bftw: Don't store trailing slashes in bftw_dir namesTavian Barnes2019-06-251-27/+23
* util: Filter out . and .. in xreaddir()Tavian Barnes2019-06-251-3/+0
* Implement an iterative deepening mode (-ids)Tavian Barnes2019-05-291-0/+132
* Implement a depth-first mode (-dfs)Tavian Barnes2019-05-281-10/+113
* bftw: Visit multiple roots breadth-firstTavian Barnes2019-05-281-19/+25
* bftw: Refactor the implementation a bitTavian Barnes2019-05-281-218/+180
* bftw: Take dir->{dev,ino} from the right stat bufferTavian Barnes2019-05-231-1/+1
* bftw: Pass a const struct BFTW * to the callbackTavian Barnes2019-05-051-30/+31
* bftw: Add a caching stat() API to struct BFTWTavian Barnes2019-05-041-20/+75
* stat: Unify the flags argumentsTavian Barnes2019-05-041-4/+4
* Release 1.41.4Tavian Barnes2019-04-151-1/+1
* bftw: Work around d_type being wrong for bind mounts on LinuxTavian Barnes2019-03-061-19/+52
* bftw: Switch from taking separate parameters to a parameters structTavian Barnes2019-03-061-13/+13
* bftw: Move bftw_typeflag conversion out of utilTavian Barnes2018-12-171-2/+99
* Update copyright datesTavian Barnes2018-09-241-1/+1
* bftw: Use bftw_action as the return type when applicableTavian Barnes2018-06-251-6/+8