Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | expr: Store auxilliary data in a union | Tavian Barnes | 2022-03-25 | 1 | -2/+2 |
| | | | | And rename struct expr to bfs_expr. | ||||
* | ctx: Factor out exec flushing behaviour into bfs_ctx_flush() | Tavian Barnes | 2022-03-13 | 1 | -1/+9 |
| | |||||
* | ctx: Also deduplicate the standard streams | Tavian Barnes | 2021-09-21 | 1 | -5/+8 |
| | | | | | | This fixes some potential missing output when the same file is used in a redirection and something like -fprint. The main benefit is smarter handling of /dev/stdout, which will now share the CFILE* with cout. | ||||
* | eval: Use 512-byte blocks for -ls when POSIXLY_CORRECT is set | Tavian Barnes | 2021-09-02 | 1 | -1/+3 |
| | | | | | This matches the behaviour of GNU find, and allows bfs to match the output of BSD find as well. Fixes #77. | ||||
* | eval: Raise RLIMIT_NOFILE if possible | Tavian Barnes | 2021-05-20 | 1 | -0/+6 |
| | | | | | | This lets us keep more open FDs cached in bftw(). The limit is lowered before running -exec commands, in case they're incompatible with a high limit (e.g. due to select()). | ||||
* | parse: Clean up debug flag parsing/printing | Tavian Barnes | 2020-12-02 | 1 | -0/+5 |
| | |||||
* | Include what I use | Tavian Barnes | 2020-11-12 | 1 | -0/+1 |
| | | | | Thanks to https://github.com/include-what-you-use/include-what-you-use | ||||
* | New -status option to display a status bar | Tavian Barnes | 2020-11-03 | 1 | -0/+2 |
| | |||||
* | ctx: Don't include color.h | Tavian Barnes | 2020-10-06 | 1 | -4/+4 |
| | |||||
* | parse: Fail if -color is passed and the colors couldn't be parsed | Tavian Barnes | 2020-10-04 | 1 | -0/+2 |
| | |||||
* | Rename struct cmdline to bfs_ctx | Tavian Barnes | 2020-09-27 | 1 | -0/+180 |
The API remains similar, with some added accessor functions for lazy initialization of the pwcache and mtab. |