Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Support ports and whiteouts in format_mode() | Tavian Barnes | 2020-01-07 | 1 | -3/+13 |
| | |||||
* | util: Filter out . and .. in xreaddir() | Tavian Barnes | 2019-06-25 | 1 | -6/+14 |
| | |||||
* | Turn on -Wstrict-prototypes | Tavian Barnes | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | main: Fix closed standard stream handling | Tavian Barnes | 2019-02-01 | 1 | -7/+3 |
| | | | | | bfs >&- should complain about a missing file descriptor, rather than silently succeeding. | ||||
* | posix1e: Split out ACL and capability handling from util | Tavian Barnes | 2019-01-02 | 1 | -168/+0 |
| | |||||
* | util: Don't leak an acl_t on non-POSIX.1e platforms | Tavian Barnes | 2018-12-19 | 1 | -1/+2 |
| | |||||
* | util: Support systems that don't define the POSIX.1e ACL tag values | Tavian Barnes | 2018-12-18 | 1 | -0/+4 |
| | |||||
* | Implement -acl test | Tavian Barnes | 2018-12-17 | 1 | -1/+71 |
| | |||||
* | color: Support coloring files with capabilities | Tavian Barnes | 2018-12-17 | 1 | -0/+93 |
| | |||||
* | bftw: Move bftw_typeflag conversion out of util | Tavian Barnes | 2018-12-17 | 1 | -98/+1 |
| | | | | 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: Provide fallback implementations of makedev()/major()/minor() | Tavian Barnes | 2018-11-02 | 1 | -0/+14 |
| | |||||
* | util: Wrap __has_include() | Tavian Barnes | 2018-11-01 | 1 | -1/+1 |
| | |||||
* | Print device major/minor numbers for -ls | Tavian Barnes | 2018-11-01 | 1 | -0/+16 |
| | |||||
* | Update copyright dates | Tavian Barnes | 2018-09-24 | 1 | -1/+1 |
| | |||||
* | util: Preserve errno in pipe_cloexec() | Tavian Barnes | 2018-07-24 | 1 | -0/+2 |
| | |||||
* | util: macOS doesn't have pipe2() | Tavian Barnes | 2018-07-24 | 1 | -1/+2 |
| | | | | | | | The code was testing for BSD, since all the normal BSDs have it. But until recently, <sys/param.h> wasn't included, so BSD was undefined even on platforms that define it. Now that it is defined appropriately, exclude macOS specifically. | ||||
* | stat: New wrapper around the stat() family | Tavian Barnes | 2018-01-08 | 1 | -11/+0 |
| | | | | | 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/+18 |
| | |||||
* | util: Wrap faccessat() to fix some portability issues | Tavian Barnes | 2017-09-20 | 1 | -0/+14 |
| | |||||
* | util: Factor out checks for nonexistent paths/broken links | Tavian Barnes | 2017-09-06 | 1 | -1/+5 |
| | |||||
* | Avoid multiple extra stat()s of broken symlinks for -xtype | Tavian Barnes | 2017-08-22 | 1 | -5/+5 |
| | |||||
* | Unify broken symlink handling | Tavian Barnes | 2017-08-12 | 1 | -0/+11 |
| | | | | | | | | | 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. | ||||
* | Re-license under the BSD Zero Clause License | Tavian Barnes | 2017-07-27 | 1 | -10/+15 |
| | |||||
* | main: Call setlocale() at startup to use the system locale | Tavian Barnes | 2017-07-20 | 1 | -0/+10 |
| | |||||
* | Handle yes/no prompts correctly according to the locale | Tavian Barnes | 2017-07-15 | 1 | -0/+72 |
| | |||||
* | Release 1.01.0 | Tavian Barnes | 2017-04-24 | 1 | -1/+1 |
| | |||||
* | Move bftw_typeflag converters to util.c | Tavian Barnes | 2017-04-08 | 1 | -1/+98 |
| | |||||
* | Color link targets for -ls | Tavian Barnes | 2017-03-16 | 1 | -0/+15 |
| | | | | Fixes #18. | ||||
* | Implement -ls and -fls | Tavian Barnes | 2017-03-11 | 1 | -0/+85 |
| | |||||
* | Don't trust st_size when reading symlinks | Tavian Barnes | 2017-01-31 | 1 | -0/+30 |
| | | | | | 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 | -0/+11 |
| | |||||
* | Move portability code into util.h | Tavian Barnes | 2016-12-04 | 1 | -0/+18 |
| | |||||
* | Check for readdir() errors everywhere. | Tavian Barnes | 2016-11-14 | 1 | -0/+10 |
| | |||||
* | Redirect stdin from /dev/null for -ok and -okdir. | Tavian Barnes | 2016-11-13 | 1 | -0/+50 |