summaryrefslogtreecommitdiffstats
path: root/util.h
Commit message (Collapse)AuthorAgeFilesLines
* util.h: Don't use a forward reference to enum bftw_typeflagTavian Barnes2017-04-131-0/+1
| | | | Apparently that's not allowed in standard C.
* Move bftw_typeflag converters to util.cTavian Barnes2017-04-081-0/+10
|
* Color link targets for -lsTavian Barnes2017-03-161-0/+9
| | | | Fixes #18.
* Implement -ls and -flsTavian Barnes2017-03-111-0/+22
|
* Don't trust st_size when reading symlinksTavian Barnes2017-01-311-0/+13
| | | | | 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/-ETavian Barnes2016-12-181-4/+12
|
* Fix the build on OpenIndianaTavian Barnes2016-12-161-0/+10
|
* Move portability code into util.hTavian Barnes2016-12-041-0/+30
|
* Check for readdir() errors everywhere.Tavian Barnes2016-11-141-0/+6
|
* Redirect stdin from /dev/null for -ok and -okdir.Tavian Barnes2016-11-131-0/+37