summaryrefslogtreecommitdiffstats
path: root/src/eval.c
Commit message (Collapse)AuthorAgeFilesLines
...
* eval: Don't oversubscribe the CPU by defaultTavian Barnes2023-07-111-3/+3
|
* Use strcmp() instead of fnmatch() if possibleTavian Barnes2023-07-061-4/+17
|
* dir: Arena-allocate directoriesTavian Barnes2023-06-201-12/+22
|
* eval: Pre-allocate the highest fdTavian Barnes2023-06-131-0/+18
| | | | | | This avoids the need to grow the fd table during the search, significantly reducing kernel contention when opening directories in parallel.
* bftw: Use an I/O queue to open directoriesTavian Barnes2023-06-131-0/+22
| | | | Parallelism is controlled by the new -j flag.
* eval: For -ls, track the longest user/group names to keep alignmentTavian Barnes2023-06-081-20/+26
|
* eval: Print non-path -ls text in the "normal" color, like ls -lTavian Barnes2023-06-081-1/+6
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-181-6/+5
|
* Use bfs_bug("...") over assert(!"...")Tavian Barnes2023-05-181-3/+3
|
* config: s/BFS_FALLTHROUGH/fallthru/Tavian Barnes2023-05-101-2/+2
|
* style: Don't use tabs to indent preprocessor directivesTavian Barnes2023-05-031-11/+11
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* mtab: Keep parent dirs open during fill_types()Tavian Barnes2023-01-251-0/+5
|
* bfstd: New wrappers for dirname()/basename()Tavian Barnes2023-01-191-9/+1
|
* Turn on more aggressive format string warningsTavian Barnes2022-12-091-3/+5
|
* expr: Rename bfs_expr_has_children() to _is_parent()Tavian Barnes2022-12-051-2/+2
|
* expr: Don't use reftime for -lsTavian Barnes2022-11-171-1/+1
| | | | | reftime is part of a different union than the print actions are supposed to use.
* Try to report I/O errors earlier and only onceTavian Barnes2022-11-101-5/+19
|
* pwcache: Fill the user/group caches lazilyTavian Barnes2022-11-091-15/+10
| | | | | | | Iterating all the users/groups can be expensive, especially with NSS. Android has so many that it doesn't even return them all from get{pw,gr}ent() for performance reasons, leading to incorrect behaviour of -user/-group/etc.
* eval: Add missing flag to -D statTavian Barnes2022-11-081-0/+1
|
* bfstd: Rename from util and reorganize itTavian Barnes2022-11-061-3/+3
|
* config: Split out some of util.h into a new headerTavian Barnes2022-11-061-0/+1
|
* parse: They're called "primary expressions," not "literals"Tavian Barnes2022-07-051-1/+1
|
* Source / Include Folder (#88)トトも2022-04-161-0/+1644
Moved Source Files Into `src` Folder