summaryrefslogtreecommitdiffstats
path: root/printf.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-license under the BSD Zero Clause LicenseTavian Barnes2017-07-271-10/+15
|
* Handle ENOTDIR the same as ENOENTTavian Barnes2017-07-091-0/+1
| | | | | | For a/b/c, ENOTDIR is returned instead of ENOENT if a or b are not directories. Handle this uniformly when detecting broken symlinks, readdir races, etc.
* printf: Fix embedded nul bytesTavian Barnes2017-06-101-11/+16
| | | | Fixes #26.
* Don't parse the mount table until it's neededTavian Barnes2017-04-291-3/+6
|
* Implement -fstypeTavian Barnes2017-04-231-1/+22
| | | | Fixes #6!
* Move bftw_typeflag converters to util.cTavian Barnes2017-04-081-1/+1
|
* Implement -ls and -flsTavian Barnes2017-03-111-91/+28
|
* Make a printf()-style API for colored messagesTavian Barnes2017-03-111-25/+14
|
* Implement -printf %Ak, %Ck, and %TkTavian Barnes2017-03-111-89/+231
|
* bftw: Make the nameoff of "///" point to "/"Tavian Barnes2017-02-091-0/+4
| | | | This simplifies a few things such as -name handling for ///.
* Add support for -x?type with multiple typesTavian Barnes2017-02-081-64/+16
| | | | This functionality is already part of GNU findutils git.
* Add some missing perror() callsTavian Barnes2017-02-071-0/+5
|
* Fix a memory leak parsing -printfTavian Barnes2017-02-061-0/+1
|
* Implement -printf/-fprintfTavian Barnes2017-02-051-0/+768
Based on a patch by Fangrui Song <i@maskray.me>. Closes #16.