Age | Commit message (Collapse) | Author |
|
Previously this was checked for all other files, but for stdout we just
checked the return value of fflush(). Checking ferror() makes sure we
don't miss any errors that occurred on a previous flush.
|
|
|
|
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.
|
|
See https://savannah.gnu.org/bugs/?60383 for the development of the
corresponding GNU find feature.
|
|
This matches the behaviour of GNU find, and allows bfs to match the
output of BSD find as well. Fixes #77.
|
|
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()).
|
|
|
|
|
|
Thanks to https://github.com/include-what-you-use/include-what-you-use
|
|
Spotted at https://github.com/freebsd/freebsd-ports/commit/4d80040cb4c10271b375f3b5d70d2b29dae7fc6f
|
|
|
|
|
|
|
|
|
|
|
|
The API remains similar, with some added accessor functions for lazy
initialization of the pwcache and mtab.
|