Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style: Use &array[i] rather than array + i | Tavian Barnes | 2022-04-16 | 1 | -1/+1 |
| | |||||
* | Add some missing (void)'s | Tavian Barnes | 2022-01-18 | 1 | -1/+1 |
| | |||||
* | util: New xfopen() utility | Tavian Barnes | 2021-09-21 | 1 | -1/+1 |
| | | | | | And use it to pass O_CLOEXEC to all FILE*'s, so the files opened for -fprint etc. don't get passed to the programs run by -exec etc. | ||||
* | Include what I use | Tavian Barnes | 2020-11-12 | 1 | -1/+1 |
| | | | | Thanks to https://github.com/include-what-you-use/include-what-you-use | ||||
* | mtab: Adjust some naming conventions | Tavian Barnes | 2020-10-06 | 1 | -3/+3 |
| | |||||
* | Rename struct cmdline to bfs_ctx | Tavian Barnes | 2020-09-27 | 1 | -4/+4 |
| | | | | | The API remains similar, with some added accessor functions for lazy initialization of the pwcache and mtab. | ||||
* | mtab: Use struct statvfs on NetBSD | Tavian Barnes | 2019-09-24 | 1 | -2/+8 |
| | | | | Fixes #53. | ||||
* | mtab: Rename maybe_mount to might_be_mount | Tavian Barnes | 2019-08-29 | 1 | -1/+1 |
| | |||||
* | mtab: Lazy-load the device IDs from the mount table | Tavian Barnes | 2019-08-29 | 1 | -27/+66 |
| | | | | Fixes #50. | ||||
* | mtab: Use BFS_STAT_NOSYNC | Tavian Barnes | 2019-08-29 | 1 | -69/+41 |
| | | | | | And factor out the stat() call into bfs_mtab_add(). One step toward improving #50, at least on Linux. | ||||
* | stat: Unify the flags arguments | Tavian Barnes | 2019-05-04 | 1 | -3/+3 |
| | |||||
* | trie: Make trie_remove() take a leaf instead of a key | Tavian Barnes | 2019-04-20 | 1 | -2/+2 |
| | |||||
* | Release 1.41.4 | Tavian Barnes | 2019-04-15 | 1 | -1/+1 |
| | |||||
* | trie: Store void* values rather than const void* | Tavian Barnes | 2019-03-27 | 1 | -1/+1 |
| | | | | Fewer casts needed this way. | ||||
* | bftw: Work around d_type being wrong for bind mounts on Linux | Tavian Barnes | 2019-03-06 | 1 | -5/+23 |
| | | | | | | C.f. https://savannah.gnu.org/bugs/?54913 C.f. https://lkml.org/lkml/2019/2/11/2027 Fixes https://github.com/tavianator/bfs/issues/37 | ||||
* | mtab: Fix implementation for all platforms | Tavian Barnes | 2019-03-06 | 1 | -14/+7 |
| | |||||
* | mtab: Replace the linked list of file system types with a trie | Tavian Barnes | 2019-03-06 | 1 | -44/+24 |
| | |||||
* | Check for <sys/param.h> before including it | Tavian Barnes | 2018-11-08 | 1 | -2/+5 |
| | | | | Fixes #38. | ||||
* | util: Wrap __has_include() | Tavian Barnes | 2018-11-01 | 1 | -5/+1 |
| | |||||
* | Update copyright dates | Tavian Barnes | 2018-09-24 | 1 | -1/+1 |
| | |||||
* | mtab: Fall back on /proc/mounts if /etc/mtab isn't available | Tavian Barnes | 2018-03-04 | 1 | -0/+4 |
| | |||||
* | stat: New wrapper around the stat() family | Tavian Barnes | 2018-01-08 | 1 | -11/+13 |
| | | | | | This lets bfs transparently support the new statx() system call on Linux, giving it access to file birth times. | ||||
* | mtab: Add support for Solaris | Tavian Barnes | 2017-09-09 | 1 | -0/+43 |
| | |||||
* | mtab: Use __has_include() to check for <mntent.h> | Tavian Barnes | 2017-09-02 | 1 | -4/+15 |
| | | | | | This fixes the build against musl, as long as you have a new enough compiler for __has_include. | ||||
* | Re-license under the BSD Zero Clause License | Tavian Barnes | 2017-07-27 | 1 | -10/+15 |
| | |||||
* | mtab: Check __GLIBC__ instead of __linux__ for getmntent() | Tavian Barnes | 2017-04-30 | 1 | -2/+2 |
| | |||||
* | mtab: Don't hardcode /etc/mtab | Tavian Barnes | 2017-04-29 | 1 | -1/+1 |
| | |||||
* | Implement -fstype | Tavian Barnes | 2017-04-23 | 1 | -0/+174 |
Fixes #6! |