Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stat: Work around msan not knowing about statx() | Tavian Barnes | 2019-01-31 | 1 | -1/+7 |
| | |||||
* | posix1e: Don't #include <sys/capability.h> on FreeBSD | Tavian Barnes | 2019-01-03 | 1 | -7/+0 |
| | | | | | | | | The file is there by default, but deprecated and not a POSIX.1E implementation. While I'm at it, move the logic to posix1e.h so other files aren't burdened with an extra include. Fixes the other half of #40. | ||||
* | posix1e: Split out ACL and capability handling from util | Tavian Barnes | 2019-01-02 | 1 | -12/+0 |
| | |||||
* | color: Check format strings + args for cfprintf() | Tavian Barnes | 2019-01-02 | 1 | -0/+9 |
| | | | | | | %{cc} is now ${cc} to avoid warnings about an unrecognized format specifier, and %P and %L are now %pP and %pL to make them look more like standard format strings. | ||||
* | Implement -acl test | Tavian Barnes | 2018-12-17 | 1 | -0/+6 |
| | |||||
* | color: Support coloring files with capabilities | Tavian Barnes | 2018-12-17 | 1 | -4/+19 |
| | |||||
* | bftw: Move bftw_typeflag conversion out of util | Tavian Barnes | 2018-12-17 | 1 | -10/+0 |
| | | | | Turns out incomplete enum types are a GNU C extension. | ||||
* | Check for <sys/param.h> before including it | Tavian Barnes | 2018-11-08 | 1 | -3/+7 |
| | | | | Fixes #38. | ||||
* | util: Wrap __has_include() | Tavian Barnes | 2018-11-01 | 1 | -0/+6 |
| | |||||
* | Print device major/minor numbers for -ls | Tavian Barnes | 2018-11-01 | 1 | -0/+15 |
| | |||||
* | Update copyright dates | Tavian Barnes | 2018-09-24 | 1 | -1/+1 |
| | |||||
* | stat: New wrapper around the stat() family | Tavian Barnes | 2018-01-08 | 1 | -28/+2 |
| | | | | | This lets bfs transparently support the new statx() system call on Linux, giving it access to file birth times. | ||||
* | exec: Recover from E2BIG | Tavian Barnes | 2017-11-12 | 1 | -0/+9 |
| | |||||
* | Add support for file birth/creation times on platforms that have it | Tavian Barnes | 2017-11-05 | 1 | -0/+5 |
| | | | | Fixes #19 | ||||
* | util: Wrap faccessat() to fix some portability issues | Tavian Barnes | 2017-09-20 | 1 | -0/+5 |
| | |||||
* | util: Factor out checks for nonexistent paths/broken links | Tavian Barnes | 2017-09-06 | 1 | -0/+5 |
| | |||||
* | Avoid multiple extra stat()s of broken symlinks for -xtype | Tavian Barnes | 2017-08-22 | 1 | -2/+2 |
| | |||||
* | Unify broken symlink handling | Tavian Barnes | 2017-08-12 | 1 | -0/+15 |
| | | | | | | | | | Rather than open-code the fallback logic for broken symlinks everywhere it's needed, introduce a new xfstatat() utility function that performs the fallback automatically. Using xfstatat() consistently fixes a few bugs, including cases where broken symlinks are given as arguments to predicates like -samefile. | ||||
* | util: Define O_DIRECTORY to 0 if it's not already defined | Tavian Barnes | 2017-07-29 | 1 | -0/+4 |
| | |||||
* | Re-license under the BSD Zero Clause License | Tavian Barnes | 2017-07-27 | 1 | -10/+15 |
| | |||||
* | Handle yes/no prompts correctly according to the locale | Tavian Barnes | 2017-07-15 | 1 | -0/+7 |
| | |||||
* | Release 1.01.0 | Tavian Barnes | 2017-04-24 | 1 | -1/+1 |
| | |||||
* | util.h: Don't use a forward reference to enum bftw_typeflag | Tavian Barnes | 2017-04-13 | 1 | -0/+1 |
| | | | | Apparently that's not allowed in standard C. | ||||
* | Move bftw_typeflag converters to util.c | Tavian Barnes | 2017-04-08 | 1 | -0/+10 |
| | |||||
* | Color link targets for -ls | Tavian Barnes | 2017-03-16 | 1 | -0/+9 |
| | | | | Fixes #18. | ||||
* | Implement -ls and -fls | Tavian Barnes | 2017-03-11 | 1 | -0/+22 |
| | |||||
* | Don't trust st_size when reading symlinks | Tavian Barnes | 2017-01-31 | 1 | -0/+13 |
| | | | | | Linux /proc, for example, reports a st_size of 0 for everything. It's nice to be able to use -lname on them anyway. | ||||
* | Implement -regex, -iregex, and -regextype/-E | Tavian Barnes | 2016-12-18 | 1 | -4/+12 |
| | |||||
* | Fix the build on OpenIndiana | Tavian Barnes | 2016-12-16 | 1 | -0/+10 |
| | |||||
* | Move portability code into util.h | Tavian Barnes | 2016-12-04 | 1 | -0/+30 |
| | |||||
* | Check for readdir() errors everywhere. | Tavian Barnes | 2016-11-14 | 1 | -0/+6 |
| | |||||
* | Redirect stdin from /dev/null for -ok and -okdir. | Tavian Barnes | 2016-11-13 | 1 | -0/+37 |