Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-05 | Update copyright dates | Tavian Barnes | |
2021-01-28 | dir: New DIR* facade | Tavian Barnes | |
2020-10-13 | util: New BFS_FLEX_SIZEOF() macro for more precise flexible array allocations | Tavian Barnes | |
See http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_282.htm for all the fun behind this. | |||
2020-10-01 | util: Move redirect() and isopen() to main.c | Tavian Barnes | |
2020-09-30 | util: Don't rely on bftw | Tavian Barnes | |
And rename format_mode() to xstrmode() while I'm at it. | |||
2020-02-13 | time: Split out time-related functions from util | Tavian Barnes | |
2020-02-13 | parse: Handle 1969-12-31T23:59:59Z | Tavian Barnes | |
mktime() returns -1 on error, but also for one second before the epoch. Compare the input against localtime(-1) to distinguish those cases. | |||
2020-02-11 | Implement explicit reference times (-newerXt) | Tavian Barnes | |
2020-01-09 | Release 1.5.21.5.2 | Tavian Barnes | |
2020-01-08 | fsade: Support checking for xattrs (extattrs) on FreeBSD | Tavian Barnes | |
2019-05-24 | Implement -xattr predicate | Tavian Barnes | |
2019-02-09 | Add some documentation comments | Tavian Barnes | |
2019-02-01 | util: Remove some unused macros | Tavian Barnes | |
2019-02-01 | util: Allow configuration macros to be specified with -D | Tavian Barnes | |
In case we need to override them at build time. | |||
2019-01-31 | stat: Work around msan not knowing about statx() | Tavian Barnes | |
2019-01-03 | posix1e: Don't #include <sys/capability.h> on FreeBSD | Tavian Barnes | |
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. | |||
2019-01-02 | posix1e: Split out ACL and capability handling from util | Tavian Barnes | |
2019-01-02 | color: Check format strings + args for cfprintf() | Tavian Barnes | |
%{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. | |||
2018-12-17 | Implement -acl test | Tavian Barnes | |
2018-12-17 | color: Support coloring files with capabilities | Tavian Barnes | |
2018-12-17 | bftw: Move bftw_typeflag conversion out of util | Tavian Barnes | |
Turns out incomplete enum types are a GNU C extension. | |||
2018-11-08 | Check for <sys/param.h> before including it | Tavian Barnes | |
Fixes #38. | |||
2018-11-01 | util: Wrap __has_include() | Tavian Barnes | |
2018-11-01 | Print device major/minor numbers for -ls | Tavian Barnes | |
2018-09-24 | Update copyright dates | Tavian Barnes | |
2018-01-08 | stat: New wrapper around the stat() family | Tavian Barnes | |
This lets bfs transparently support the new statx() system call on Linux, giving it access to file birth times. | |||
2017-11-12 | exec: Recover from E2BIG | Tavian Barnes | |
2017-11-05 | Add support for file birth/creation times on platforms that have it | Tavian Barnes | |
Fixes #19 | |||
2017-09-20 | util: Wrap faccessat() to fix some portability issues | Tavian Barnes | |
2017-09-06 | util: Factor out checks for nonexistent paths/broken links | Tavian Barnes | |
2017-08-22 | Avoid multiple extra stat()s of broken symlinks for -xtype | Tavian Barnes | |
2017-08-12 | Unify broken symlink handling | Tavian Barnes | |
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. | |||
2017-07-29 | util: Define O_DIRECTORY to 0 if it's not already defined | Tavian Barnes | |
2017-07-27 | Re-license under the BSD Zero Clause License | Tavian Barnes | |
2017-07-15 | Handle yes/no prompts correctly according to the locale | Tavian Barnes | |
2017-04-24 | Release 1.01.0 | Tavian Barnes | |
2017-04-13 | util.h: Don't use a forward reference to enum bftw_typeflag | Tavian Barnes | |
Apparently that's not allowed in standard C. | |||
2017-04-08 | Move bftw_typeflag converters to util.c | Tavian Barnes | |
2017-03-16 | Color link targets for -ls | Tavian Barnes | |
Fixes #18. | |||
2017-03-11 | Implement -ls and -fls | Tavian Barnes | |
2017-01-31 | Don't trust st_size when reading symlinks | Tavian Barnes | |
Linux /proc, for example, reports a st_size of 0 for everything. It's nice to be able to use -lname on them anyway. | |||
2016-12-18 | Implement -regex, -iregex, and -regextype/-E | Tavian Barnes | |
2016-12-16 | Fix the build on OpenIndiana | Tavian Barnes | |
2016-12-04 | Move portability code into util.h | Tavian Barnes | |
2016-11-14 | Check for readdir() errors everywhere. | Tavian Barnes | |
2016-11-13 | Redirect stdin from /dev/null for -ok and -okdir. | Tavian Barnes | |