summaryrefslogtreecommitdiffstats
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid multiple extra stat()s of broken symlinks for -xtypeTavian Barnes2017-08-221-5/+5
|
* Unify broken symlink handlingTavian Barnes2017-08-121-0/+11
| | | | | | | | | 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.
* Re-license under the BSD Zero Clause LicenseTavian Barnes2017-07-271-10/+15
|
* main: Call setlocale() at startup to use the system localeTavian Barnes2017-07-201-0/+10
|
* Handle yes/no prompts correctly according to the localeTavian Barnes2017-07-151-0/+72
|
* Release 1.01.0Tavian Barnes2017-04-241-1/+1
|
* Move bftw_typeflag converters to util.cTavian Barnes2017-04-081-1/+98
|
* Color link targets for -lsTavian Barnes2017-03-161-0/+15
| | | | Fixes #18.
* Implement -ls and -flsTavian Barnes2017-03-111-0/+85
|
* Don't trust st_size when reading symlinksTavian Barnes2017-01-311-0/+30
| | | | | 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-0/+11
|
* Move portability code into util.hTavian Barnes2016-12-041-0/+18
|
* Check for readdir() errors everywhere.Tavian Barnes2016-11-141-0/+10
|
* Redirect stdin from /dev/null for -ok and -okdir.Tavian Barnes2016-11-131-0/+50