summaryrefslogtreecommitdiffstats
path: root/src/ctx.c
Commit message (Collapse)AuthorAgeFilesLines
* Use bfs_bug("...") over assert(!"...")Tavian Barnes2023-05-181-2/+1
|
* 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/
* expr: Don't use reftime for -lsTavian Barnes2022-11-171-0/+5
| | | | | 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/+27
|
* ctx: Flush the user/group caches when executing commandsTavian Barnes2022-11-091-0/+5
| | | | | | This fixes (admittedly uncommon) commands like $ bfs -nouser -exec add-missing-user.sh {} \;
* pwcache: Fill the user/group caches lazilyTavian Barnes2022-11-091-35/+15
| | | | | | | 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.
* trie: Make leaves into a linked listTavian Barnes2022-10-291-3/+1
|
* Source / Include Folder (#88)トトも2022-04-161-0/+311
Moved Source Files Into `src` Folder