Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stat: Get rid of bfs_fstat() | Tavian Barnes | 2019-05-04 | 1 | -6/+2 |
| | | | | We can just use bfs_stat() with a NULL at_path. | ||||
* | stat: Unify the flags arguments | Tavian Barnes | 2019-05-04 | 1 | -3/+18 |
| | |||||
* | parse: Use a trie to hold currently open files | Tavian Barnes | 2019-03-06 | 1 | -0/+10 |
| | |||||
* | Add some documentation comments | Tavian Barnes | 2019-02-09 | 1 | -1/+9 |
| | |||||
* | stat: Provide a helper for getting human-readable field names | Tavian Barnes | 2018-12-25 | 1 | -0/+5 |
| | | | | And fix -newerXY if the Y time doesn't exist. | ||||
* | stat: Unify bfs_stat_time() implementations | Tavian Barnes | 2018-12-20 | 1 | -0/+5 |
| | |||||
* | Check for <sys/param.h> before including it | Tavian Barnes | 2018-11-08 | 1 | -1/+5 |
| | | | | Fixes #38. | ||||
* | Print device major/minor numbers for -ls | Tavian Barnes | 2018-11-01 | 1 | -4/+7 |
| | |||||
* | stat: Don't assume blocks are 512 bytes | Tavian Barnes | 2018-07-24 | 1 | -1/+11 |
| | | | | | | | | | | | | POSIX says > The unit for the st_blocks member of the stat structure is not defined > within POSIX.1‐2008. and recommends using DEV_BSIZE from <sys/param.h> if available. Also, for -printf '%S', print 1 instead of NaN for empty files with no blocks. | ||||
* | stat: New wrapper around the stat() family | Tavian Barnes | 2018-01-08 | 1 | -0/+94 |
This lets bfs transparently support the new statx() system call on Linux, giving it access to file birth times. |