Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Print the root file/directory too. | Tavian Barnes | 2015-09-02 | 1 | -84/+130 |
| | |||||
* | bftw: Store the paths with a trailing slash. | Tavian Barnes | 2015-08-31 | 1 | -32/+37 |
| | |||||
* | bftw: Fix path size of /. | Tavian Barnes | 2015-08-31 | 1 | -2/+6 |
| | |||||
* | Add -type support. | Tavian Barnes | 2015-08-30 | 1 | -9/+33 |
| | | | | Fixes #2. | ||||
* | Infer the right value for nopenfd, and recover from EMFILE. | Tavian Barnes | 2015-07-27 | 1 | -1/+13 |
| | |||||
* | Recover from errors in diropen(). | Tavian Barnes | 2015-07-25 | 1 | -78/+122 |
| | | | | Fixes #4. | ||||
* | bftw: New struct BFTW type to hold file attributes. | Tavian Barnes | 2015-07-23 | 1 | -22/+27 |
| | | | | | Like nftw()'s struct FTW. level is needed to implement -mindepth/ -maxdepth. | ||||
* | bftw: Assume struct dirent::d_type exists if DT_* are defined. | Tavian Barnes | 2015-07-19 | 1 | -1/+1 |
| | | | | | | | Only glibc defines _DIRENT_HAVE_D_TYPE, but other C libraries have d_type too. This should fix #3. | ||||
* | Assorted optimizations. | Tavian Barnes | 2015-06-23 | 1 | -18/+25 |
| | |||||
* | bftw: Don't add extra slashes. | Tavian Barnes | 2015-06-21 | 1 | -4/+20 |
| | | | | This fixes "bfs /" among other things. | ||||
* | bftw: Add flags parameter and BFTW_STAT flag. | Tavian Barnes | 2015-06-18 | 1 | -4/+8 |
| | |||||
* | Implement bftw(). | Tavian Barnes | 2015-06-14 | 1 | -0/+491 |